Add __attribute__ ((packed)) to MokListNode definition

Packing this lets us use MokListNode with the binary MokList representation.
This commit is contained in:
Matthew Garrett 2012-10-08 17:33:32 -04:00
parent 9201fa9ec6
commit cb22de62e7

View File

@ -18,7 +18,7 @@ struct menu_item {
typedef struct { typedef struct {
UINT32 MokSize; UINT32 MokSize;
UINT8 *Mok; UINT8 *Mok;
} MokListNode; } __attribute__ ((packed)) MokListNode;
static EFI_INPUT_KEY get_keystroke (void) static EFI_INPUT_KEY get_keystroke (void)
{ {