SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
SetupDesignGuide.pdf - Firmware Encoding Index
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Setup Design Guide<br />
DRAFT<br />
//<br />
// A font list consists of a font header followed by a series<br />
// of glyph structures. Note that fonts are not language specific.<br />
//<br />
typedef struct {<br />
EFI_HII_PACK_HEADER Header;<br />
UINT16<br />
NumberOfNarrowGlyphs;<br />
UINT16<br />
NumberOfWideGlyphs;<br />
EFI_NARROW_GLYPH NarrowGlyphs[1];<br />
EFI_WIDE_GLYPH WideGlyphs[1];<br />
} EFI_HII_FONT_PACK;<br />
//<br />
// A form list consists of a large variety of structure<br />
// possibilities so to represent the binary blob of data<br />
// associated with a package of forms, we will assume a<br />
// pointer to a self-describing data buffer.<br />
//<br />
typedef struct {<br />
EFI_HII_PACK_HEADER Header;<br />
VOID<br />
*IfrData;<br />
} EFI_HII_IFR_PACK;<br />
typedef enum {<br />
EfiKeyLCtrl, EfiKeyA0, EfiKeyLAlt, EfiKeySpaceBar,<br />
EfiKeyA2, EfiKeyA3, EfiKeyA4, EfiKeyRCtrl, EfiKeyLeftArrow,<br />
EfiKeyDownArrow, EfiKeyRightArrow, EfiKeyZero,<br />
EfiKeyPeriod, EfiKeyEnter, EfiKeyLShift, EfiKeyB0,<br />
EfiKeyB1, EfiKeyB2, EfiKeyB3, EfiKeyB4, EfiKeyB5, EfiKeyB6,<br />
EfiKeyB7, EfiKeyB8, EfiKeyB9, EfiKeyB10, EfiKeyRshift,<br />
EfiKeyUpArrow, EfiKeyOne, EfiKeyTwo, EfiKeyThree,<br />
EfiKeyCapsLock, EfiKeyC1, EfiKeyC2, EfiKeyC3, EfiKeyC4,<br />
EfiKeyC5, EfiKeyC6, EfiKeyC7, EfiKeyC8, EfiKeyC9,<br />
EfiKeyC10, EfiKeyC11, EfiKeyC12, EfiKeyFour, EfiKeyFive,<br />
EfiKeySix, EfiKeyPlus, EfiKeyTab, EfiKeyD1, EfiKeyD2,<br />
EfiKeyD3, EfiKeyD4, EfiKeyD5, EfiKeyD6, EfiKeyD7, EfiKeyD8,<br />
EfiKeyD9, EfiKeyD10, EfiKeyD11, EfiKeyD12, EfiKeyD13,<br />
EfiKeyDel, EfiKeyEnd, EfiKeyPgDn, EfiKeySeven, EfiKeyEight,<br />
EfiKeyNine, EfiKeyE0, EfiKeyE1, EfiKeyE2, EfiKeyE3,<br />
EfiKeyE4, EfiKeyE5, EfiKeyE6, EfiKeyE7, EfiKeyE8, EfiKeyE9,<br />
EfiKeyE10, EfiKeyE11, EfiKeyE12, EfiKeyBackSpace,<br />
EfiKeyIns, EfiKeyHome, EfiKeyPgUp, EfiKeyNLck, EfiKeySlash,<br />
EfiKeyAsterisk, EfiKeyMinus, EfiKeyEsc, EfiKeyF1, EfiKeyF2,<br />
EfiKeyF3, EfiKeyF4, EfiKeyF5, EfiKeyF6, EfiKeyF7, EfiKeyF8,<br />
EfiKeyF9, EfiKeyF10, EfiKeyF11, EfiKeyF12, EfiKeyPrint,<br />
EfiKeySLck, EfiKeyPause<br />
50