efi: hii: add keyboard layout package support
Allow for handling keyboard layout package in HII database protocol. A package can be added or deleted in HII database protocol, but we don't set 'current' keyboard layout as there is no driver that requests a keyboard layout. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:

committed by
Alexander Graf

parent
9ab0bdd9fe
commit
8d3b77e36e
@@ -845,6 +845,12 @@ struct efi_hii_keyboard_layout {
|
||||
struct efi_key_descriptor descriptors[];
|
||||
} __packed;
|
||||
|
||||
struct efi_hii_keyboard_package {
|
||||
struct efi_hii_package_header header;
|
||||
u16 layout_count;
|
||||
struct efi_hii_keyboard_layout layout[];
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* HII protocols
|
||||
*/
|
||||
|
Reference in New Issue
Block a user