diff options
Diffstat (limited to 'Core/EM/EfiOsBootOptionNames/EfiOsBootOptionNames.sd')
-rw-r--r-- | Core/EM/EfiOsBootOptionNames/EfiOsBootOptionNames.sd | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/Core/EM/EfiOsBootOptionNames/EfiOsBootOptionNames.sd b/Core/EM/EfiOsBootOptionNames/EfiOsBootOptionNames.sd new file mode 100644 index 0000000..8f99071 --- /dev/null +++ b/Core/EM/EfiOsBootOptionNames/EfiOsBootOptionNames.sd @@ -0,0 +1,118 @@ +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2015, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** + +//********************************************************************** +// $Header: /Alaska/BIN/Modules/BootOptionPolicies/EfiOsBootOptionNames/EfiOsBootOptionNames.sd 1 3/11/15 6:45a Dukeyeh $ +// +// $Revision: 1 $ +// +// $Date: 3/11/15 6:45a $ +//********************************************************************** +// Revision History +// ---------------- +// $Log: /Alaska/BIN/Modules/BootOptionPolicies/EfiOsBootOptionNames/EfiOsBootOptionNames.sd $ +// +// 1 3/11/15 6:45a Dukeyeh +// [TAG] EIP178808 +// [Category] Improvement +// [Description] Setup definition for EfiOsBootOptionNames module. +// [Files] EfiOsBootOptionNames.sd +// +// 6 1/13/10 2:13p Felixp +// +//********************************************************************** +//<AMI_FHDR_START> +// +// Name: EfiOsBootOptionNames.sd +// +// Description: EfiOsBootOptionNames setup items +// +//<AMI_FHDR_END> +//********************************************************************** + +#include <token.h> + +#ifdef SETUP_DATA_DEFINITION +/***********************************************************/ +/* Put NVRAM data definitions here. +/* For example: UINT8 Data1; +/* These definitions will be converted by the build process +/* to a definitions of SETUP_DATA fields. +/***********************************************************/ +#endif + +#if defined(VFRCOMPILE) && !defined(CONTROLS_ARE_DEFINED) +#define CONTROL_DEFINITION +#endif + +#ifdef CONTROL_DEFINITION +/// +/// Put control definitions here. +/// + +#define EOBON_ONEOF_NEW_OPTION_POLICY\ + oneof varid = NEW_OPTION_POLICY.NewOptionPolicy,\ + prompt = STRING_TOKEN(STR_NEW_OPTION_POLICY),\ + help = STRING_TOKEN(STR_NEW_OPTION_POLICY_HELP),\ + default = NEW_UEFI_OS_OPTION_ORDER_POLICY,\ + option text = STRING_TOKEN(STR_NEW_OPTION_POLICY_NOT_OVERRIDE), value = 0, flags = RESET_REQUIRED;\ + option text = STRING_TOKEN(STR_NEW_OPTION_POLICY_FIRST), value = 1, flags = RESET_REQUIRED;\ + option text = STRING_TOKEN(STR_NEW_OPTION_POLICY_LAST), value = 2, flags = RESET_REQUIRED;\ + endoneof; + +#endif + +#ifdef CONTROLS_WITH_DEFAULTS +/// +/// List macros of all the controls attached to the actual data. +/// + //EOBON_ONEOF_NEW_OPTION_POLICY +#endif + +#ifdef BOOT_FORM_SET + + #ifdef FORM_SET_TYPEDEF + typedef struct { + UINT8 NewOptionPolicy; + } NEW_OPTION_POLICY; + #endif + + #ifdef FORM_SET_VARSTORE + varstore NEW_OPTION_POLICY, + key = AUTO_ID(EOBON_NEW_OPTION_POLICY_KEY), + name = NewOptionPolicy, + guid = {0x69ECC1BE, 0xA981, 0x446D, 0x8E, 0xB6, 0xAF, 0x0E, 0x53, 0xD0, 0x6C, 0xE8}; //EFI_OS_BOOT_OPTION_NAMES_GUID + #endif + + #ifdef FORM_SET_ITEM + + EOBON_ONEOF_NEW_OPTION_POLICY + + #endif //#ifdef FORM_SET_FORM + +#endif //#ifdef BOOT_FORM_SET + +//********************************************************************** +//********************************************************************** +//** ** +//** (C)Copyright 1985-2015, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//********************************************************************** +//********************************************************************** |