]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
Enable the Load Module At fixed Address feature
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index 68805d2f9536c7c58d384d894b55e19bf03a617c..d14cf8b56bfd96419175fa25bee7a0b88d07e442 100644 (file)
   #  Include/Guid/StatusCodeDataTypeDebug.h\r
   gEfiStatusCodeDataTypeDebugGuid  = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}\r
 \r
+  ##  A configuration Table Guid for Load module at fixed address \r
+  #  Include/Guid/LoadModuleAtFixedAddress.h\r
+  gLoadFixedAddressConfigurationTableGuid  = { 0x2CA88B53,0xD296,0x4080, { 0xA4,0xA5,0xCA,0xD9,0xBA,0xE2,0x4B,0x9 } }\r
+\r
 [Protocols.common]\r
   ## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
   #  Include/Protocol/LoadPe32Image.h\r
   #  BIT1 set indicates 8KB alignment\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x1|UINT32|0x10000047\r
   \r
+  ## Flag of enabling/disabling the feature of Loading Module at Fixed Address \r
+  #  -1: Enable the feature as fixed offset to TOLM\r
+  #   0: Disable the feature.\r
+  #  Positive Value:  Enable the feature as fixed absolute address, and the value is the top memory address \r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0|UINT64|0x30001015\r
+  \r
   ## Smbios version\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0206|UINT16|0x00010055\r
 \r
   #  The default value in DxePhase is 128 KBytes.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010054\r
 \r
+[PcdsPatchableInModule]\r
+  ## Specify  memory size with page number for PEI code when \r
+  #  the feature of Loading Module at Fixed Address is enabled\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressPeiCodePageNumber|0|UINT32|0x00000029\r
+  \r
+  ## Specify  memory size with page number for DXE boot time code when \r
+  #  the feature of Loading Module at Fixed Address is enabled\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressBootTimeCodePageNumber|0|UINT32|0x0000002a\r
+  \r
+  ## Specify  memory size with page number for DXE runtime code when \r
+  #  the feature of Loading Module at Fixed Address is enabled\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressRuntimeCodePageNumber|0|UINT32|0x0000002b\r
\r
+  ## Specify  memory size with page number for SMM code when \r
+  #  the feature of Loading Module at Fixed Address is enabled\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c\r
+\r