diff options
author | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-05 07:54:16 +0000 |
---|---|---|
committer | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-05 07:54:16 +0000 |
commit | 54ea99a798f7d714b59503fcc21ee97878bc6492 (patch) | |
tree | dfbab215685cc880a8e46833f2369c24d9e7d28a /MdeModulePkg/MdeModulePkg.dec | |
parent | f3198cba84f56f85281b87c4e9bf96e77a934f16 (diff) | |
download | edk2-platforms-54ea99a798f7d714b59503fcc21ee97878bc6492.tar.xz |
Enable the Load Module At fixed Address feature
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9937 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/MdeModulePkg.dec')
-rw-r--r-- | MdeModulePkg/MdeModulePkg.dec | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 68805d2f95..d14cf8b56b 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -143,6 +143,10 @@ # Include/Guid/StatusCodeDataTypeDebug.h
gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}
+ ## A configuration Table Guid for Load module at fixed address
+ # Include/Guid/LoadModuleAtFixedAddress.h
+ gLoadFixedAddressConfigurationTableGuid = { 0x2CA88B53,0xD296,0x4080, { 0xA4,0xA5,0xCA,0xD9,0xBA,0xE2,0x4B,0x9 } }
+
[Protocols.common]
## Load File protocol provides capability to load and unload EFI image into memory and execute it.
# Include/Protocol/LoadPe32Image.h
@@ -343,6 +347,12 @@ # BIT1 set indicates 8KB alignment
gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1|UINT32|0x10000047
+ ## Flag of enabling/disabling the feature of Loading Module at Fixed Address
+ # -1: Enable the feature as fixed offset to TOLM
+ # 0: Disable the feature.
+ # Positive Value: Enable the feature as fixed absolute address, and the value is the top memory address
+ gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015
+
## Smbios version
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0206|UINT16|0x00010055
@@ -409,3 +419,20 @@ # The default value in DxePhase is 128 KBytes.
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010054
+[PcdsPatchableInModule]
+ ## Specify memory size with page number for PEI code when
+ # the feature of Loading Module at Fixed Address is enabled
+ gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber|0|UINT32|0x00000029
+
+ ## Specify memory size with page number for DXE boot time code when
+ # the feature of Loading Module at Fixed Address is enabled
+ gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber|0|UINT32|0x0000002a
+
+ ## Specify memory size with page number for DXE runtime code when
+ # the feature of Loading Module at Fixed Address is enabled
+ gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber|0|UINT32|0x0000002b
+
+ ## Specify memory size with page number for SMM code when
+ # the feature of Loading Module at Fixed Address is enabled
+ gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c
+
|