mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
Clean DriverSampleDxe for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7020 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f84783148a
commit
999acf5ac9
@ -518,31 +518,31 @@ DriverCallback (
|
|||||||
&PrivateData->Configuration
|
&PrivateData->Configuration
|
||||||
);
|
);
|
||||||
CreateOneOfOpCode (
|
CreateOneOfOpCode (
|
||||||
0x8001, // Question ID (or call it "key")
|
0x8001, // Question ID (or call it "key")
|
||||||
CONFIGURATION_VARSTORE_ID, // VarStore ID
|
CONFIGURATION_VARSTORE_ID, // VarStore ID
|
||||||
DYNAMIC_ONE_OF_VAR_OFFSET, // Offset in Buffer Storage
|
(UINT16) DYNAMIC_ONE_OF_VAR_OFFSET, // Offset in Buffer Storage
|
||||||
STRING_TOKEN (STR_ONE_OF_PROMPT), // Question prompt text
|
STRING_TOKEN (STR_ONE_OF_PROMPT), // Question prompt text
|
||||||
STRING_TOKEN (STR_ONE_OF_HELP), // Question help text
|
STRING_TOKEN (STR_ONE_OF_HELP), // Question help text
|
||||||
EFI_IFR_FLAG_CALLBACK, // Question flag
|
EFI_IFR_FLAG_CALLBACK, // Question flag
|
||||||
EFI_IFR_NUMERIC_SIZE_1, // Data type of Question Value
|
EFI_IFR_NUMERIC_SIZE_1, // Data type of Question Value
|
||||||
IfrOptionList, // Option list
|
IfrOptionList, // Option list
|
||||||
2, // Number of options in Option list
|
2, // Number of options in Option list
|
||||||
&UpdateData // Container for dynamic created opcodes
|
&UpdateData // Container for dynamic created opcodes
|
||||||
);
|
);
|
||||||
|
|
||||||
CreateOrderedListOpCode (
|
CreateOrderedListOpCode (
|
||||||
0x8002, // Question ID
|
0x8002, // Question ID
|
||||||
CONFIGURATION_VARSTORE_ID, // VarStore ID
|
CONFIGURATION_VARSTORE_ID, // VarStore ID
|
||||||
DYNAMIC_ORDERED_LIST_VAR_OFFSET, // Offset in Buffer Storage
|
(UINT16) DYNAMIC_ORDERED_LIST_VAR_OFFSET, // Offset in Buffer Storage
|
||||||
STRING_TOKEN (STR_BOOT_OPTIONS), // Question prompt text
|
STRING_TOKEN (STR_BOOT_OPTIONS), // Question prompt text
|
||||||
STRING_TOKEN (STR_BOOT_OPTIONS), // Question help text
|
STRING_TOKEN (STR_BOOT_OPTIONS), // Question help text
|
||||||
EFI_IFR_FLAG_RESET_REQUIRED, // Question flag
|
EFI_IFR_FLAG_RESET_REQUIRED, // Question flag
|
||||||
0, // Ordered list flag, e.g. EFI_IFR_UNIQUE_SET
|
0, // Ordered list flag, e.g. EFI_IFR_UNIQUE_SET
|
||||||
EFI_IFR_NUMERIC_SIZE_1, // Data type of Question value
|
EFI_IFR_NUMERIC_SIZE_1, // Data type of Question value
|
||||||
5, // Maximum container
|
5, // Maximum container
|
||||||
IfrOptionList, // Option list
|
IfrOptionList, // Option list
|
||||||
2, // Number of options in Option list
|
2, // Number of options in Option list
|
||||||
&UpdateData // Container for dynamic created opcodes
|
&UpdateData // Container for dynamic created opcodes
|
||||||
);
|
);
|
||||||
|
|
||||||
CreateGotoOpCode (
|
CreateGotoOpCode (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user