edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h:

Resolve gcc warning (does not like multi-character constants
  such as 'menu'.)  Instead use the EFI_SIGNATURE_32 macro.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4837 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-03-11 19:19:44 +00:00
parent 344177857f
commit 5bd4f5fafb
1 changed files with 7 additions and 7 deletions

View File

@ -167,13 +167,13 @@ typedef enum {
//
// All of the signatures that will be used in list structure
//
#define BM_MENU_OPTION_SIGNATURE 'menu'
#define BM_LOAD_OPTION_SIGNATURE 'load'
#define BM_CONSOLE_OPTION_SIGNATURE 'cnsl'
#define BM_FILE_OPTION_SIGNATURE 'file'
#define BM_HANDLE_OPTION_SIGNATURE 'hndl'
#define BM_TERMINAL_OPTION_SIGNATURE 'trml'
#define BM_MENU_ENTRY_SIGNATURE 'entr'
#define BM_MENU_OPTION_SIGNATURE EFI_SIGNATURE_32 ('m', 'e', 'n', 'u')
#define BM_LOAD_OPTION_SIGNATURE EFI_SIGNATURE_32 ('l', 'o', 'a', 'd')
#define BM_CONSOLE_OPTION_SIGNATURE EFI_SIGNATURE_32 ('c', 'n', 's', 'l')
#define BM_FILE_OPTION_SIGNATURE EFI_SIGNATURE_32 ('f', 'i', 'l', 'e')
#define BM_HANDLE_OPTION_SIGNATURE EFI_SIGNATURE_32 ('h', 'n', 'd', 'l')
#define BM_TERMINAL_OPTION_SIGNATURE EFI_SIGNATURE_32 ('t', 'r', 'm', 'l')
#define BM_MENU_ENTRY_SIGNATURE EFI_SIGNATURE_32 ('e', 'n', 't', 'r')
#define BM_LOAD_CONTEXT_SELECT 0x0
#define BM_CONSOLE_CONTEXT_SELECT 0x1