diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-19 06:32:27 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-19 06:32:27 +0000 |
commit | 0269d14b827cb4cfa57587e8c06b9f87e7571dbe (patch) | |
tree | f46b5851e5f3f1557d4018e37fa5479c8c7067a1 /MdeModulePkg | |
parent | 81b618fe85f67f70a81d38a968cb5eca719e64d9 (diff) | |
download | edk2-0269d14b827cb4cfa57587e8c06b9f87e7571dbe.zip edk2-0269d14b827cb4cfa57587e8c06b9f87e7571dbe.tar.gz edk2-0269d14b827cb4cfa57587e8c06b9f87e7571dbe.tar.bz2 |
Update IFR version opcode value to follow the UEFI2.3.1 Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11559 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h index 928b929..f000c7b 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h @@ -1,7 +1,7 @@ /** @file
Private MACRO, structure and function definitions for Setup Browser module.
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -152,10 +152,7 @@ typedef struct { //
#define EXPRESSION_STACK_SIZE_INCREMENT 0x100
-#define EFI_SPECIFICATION_MAJOR_VERSION 0x2
-#define EFI_SPECIFICATION_MINOR_VERSION 0x1
-#define EFI_SPECIFICATION_ERRATA_VERSION 0x0
-#define EFI_IFR_SPECIFICATION_VERSION (UINT16)((EFI_SPECIFICATION_MAJOR_VERSION << 8) | (EFI_SPECIFICATION_MINOR_VERSION << 4) | EFI_SPECIFICATION_ERRATA_VERSION)
+#define EFI_IFR_SPECIFICATION_VERSION (UINT16) (((EFI_SYSTEM_TABLE_REVISION >> 16) << 8) | (((EFI_SYSTEM_TABLE_REVISION & 0xFFFF) / 10) << 4) | ((EFI_SYSTEM_TABLE_REVISION & 0xFFFF) % 10))
#define SETUP_DRIVER_SIGNATURE SIGNATURE_32 ('F', 'B', 'D', 'V')
|