]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
Remove hard code value and create new PCDs for OpROM reserved range in CSM module.
[mirror_edk2.git] / IntelFrameworkModulePkg / IntelFrameworkModulePkg.dec
index b4083bc5f468d2246278a7e0826eafaab516feb7..ce671603422b579f21e0c14d52b1dcf3182d50a3 100644 (file)
   ## The value should be a multiple of 4KB.\r
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x8000|UINT32|0x30000005\r
 \r
+  ## The PCD is used to specify memory base address for OPROM to find free memory.\r
+  # Some OPROMs do not use EBDA or PMM to allocate memory for its usage, \r
+  # instead they find the memory filled with zero from 0x20000.\r
+  # The range should be below the EBDA reserved range from \r
+  # (CONVENTIONAL_MEMORY_TOP - PcdEbdaReservedMemorySize) to CONVENTIONAL_MEMORY_TOP.\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemoryBase|0x60000|UINT32|0x3000000c\r
+  \r
+  ## The PCD is used to specify memory size with bytes for OPROM to find free memory.\r
+  ## The value should be a multiple of 4KB. And the range should be below the EBDA reserved range from \r
+  # (CONVENTIONAL_MEMORY_TOP - PcdEbdaReservedMemorySize) to CONVENTIONAL_MEMORY_TOP.\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdOpromReservedMemorySize|0x28000|UINT32|0x3000000d\r
+\r
   ## The PCD is used to specify memory size with page number for a pre-allocated reserved memory to be used\r
   #  by PEI in S3 phase. The default size 32K. When changing the value of this PCD, the platform\r
   #  developer should make sure the memory size is large enough to meet PEI requiremnt in S3 phase.\r