Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Star Zeng b2d2a7f3f2 MdeModulePkg CapsuleRuntimeDxe: Reduce reserved memory consumption
Reduce reserved memory consumption by page table buffer,
then OS can have more available memory to use.
Take PhysicalAddressBits = 48 and 2MB page granularity as example,
1:1 Virtual to Physical identity mapping page table buffer needs to be
((512 + 1) * 512 + 1) * 4096 = 1075843072 bytes = 0x40201000 bytes.

The code is updated to only allocate 2 pages (1G page enabled) or
6 pages for 4G page table, and 8 extra pages to handles > 4G request
by page fault.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18070 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-27 03:05:13 +00:00
AppPkg
ArmPkg ArmPkg: Remove PCD declarations linked to the ARM BDS Linux Loader 2015-07-14 14:39:45 +00:00
ArmPlatformPkg ArmPlatformPkg/Bds: Use HandleProtocol to get SNP instance 2015-07-16 11:27:05 +00:00
ArmVirtPkg ArmVirtPkg/ArmVirtQemu: support SMBIOS 2015-07-26 08:03:00 +00:00
BaseTools BaseTools: Make AutoGen.h array declaration match AutoGen.c definition 2015-07-26 08:04:10 +00:00
BeagleBoardPkg ArmPlatformPkg: Remove Linux specific boot path 2015-07-14 14:37:57 +00:00
Conf
CorebootModulePkg CorebootModulePkg: Get power management register addresses. 2015-07-01 09:41:58 +00:00
CorebootPayloadPkg CorebootPayloadPkg: Fix "reset -s" issue. 2015-06-25 16:02:16 +00:00
CryptoPkg CryptoPkg: remove redundant parentheses 2015-07-14 02:57:38 +00:00
DuetPkg
EdkCompatibilityPkg EdkCompatibilityPkg: Remove gZeroGuid def in FrameworkHiiOnUefiHiiThunk 2015-07-07 03:05:18 +00:00
EdkShellBinPkg
EdkShellPkg
EmbeddedPkg EmbeddedPkg/Lan9118Dxe: Ignore spurious RXE errors 2015-07-16 11:24:42 +00:00
EmulatorPkg EmulatorPkg: Update comment for PcdDefaultTerminalType 2015-07-16 08:50:15 +00:00
FatBinPkg
IntelFrameworkModulePkg IntelFrameworkModulePkg AcpiS3SaveDxe: Reduce reserved memory consumption 2015-07-27 03:04:03 +00:00
IntelFrameworkPkg IntelFrameworkPkg FrameworkUefiLib: Fix ASSERT in CatVSPrint 2015-07-10 01:08:05 +00:00
IntelFspPkg IntelFspPkg BaseFspDebugLibSerialPort: Use safe string functions 2015-06-30 06:30:20 +00:00
IntelFspWrapperPkg FspInitPei function calling parameters not matching with the function definition. 2015-07-07 05:47:08 +00:00
MdeModulePkg MdeModulePkg CapsuleRuntimeDxe: Reduce reserved memory consumption 2015-07-27 03:05:13 +00:00
MdePkg MdePkg: Update comment for PcdDefaultTerminalType 2015-07-16 08:50:07 +00:00
NetworkPkg NetworkPkg: fix an error lead building crash 2015-07-27 02:45:43 +00:00
Nt32Pkg Nt32Pkg: Update DSC/FDF to include drivers for HTTP boot. 2015-07-09 08:33:38 +00:00
Omap35xxPkg
OptionRomPkg OptionRomPkg: Remove redundant included header file defintion in Ax88772.h and Ax88772b.h files 2015-07-08 02:56:54 +00:00
OvmfPkg OvmfPkg: SmbiosPlatformDxe: restrict current Xen code to IA32/X64 2015-07-26 08:02:40 +00:00
PcAtChipsetPkg PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c: rewrap code, strip trailing ws 2015-07-14 12:01:30 +00:00
PerformancePkg PerformancePkg Dp_App: Fix ASSERT in GetNameFromHandle 2015-07-13 01:24:44 +00:00
SecurityPkg SecurityPkg AuthVariableLib: Correct address pointers data 2015-07-26 08:03:54 +00:00
ShellBinPkg ShellBinPkg: Ia32/X64 Shell binary update. 2015-06-12 11:20:53 +00:00
ShellPkg ShellPkg: Fix the ASSERT issue in Shell 'for' loop 2015-07-26 08:06:01 +00:00
SourceLevelDebugPkg SourceLevelDebugPkg/SecPeiDebugAgentLib: Restore CPU interrupt state 2015-07-10 05:48:19 +00:00
StdLib StdLib: Do not define memcpy for AARCH64 builds 2015-07-26 08:07:20 +00:00
StdLibPrivateInternalFiles
UefiCpuPkg UefiCpuPkg/CpuMpPei: Register callback on End Of Pei PPI 2015-07-15 03:46:13 +00:00
UnixPkg
Vlv2DeviceRefCodePkg Fixed potential security issue introduced by SmramCpuNvs variable. 2015-06-23 07:22:44 +00:00
Vlv2TbltDevicePkg Vlv2TbltDevicePkg: Remove Ip4ConfigDxe module from build 2015-07-10 05:47:31 +00:00
.gitignore
BuildNotes2.txt
Edk2Setup.bat Edk2: Update Edk2Setup.bat 2015-06-16 07:23:45 +00:00
Maintainers.txt Maintainers.txt: Add Daryl's new email address 2015-07-26 08:06:05 +00:00
edksetup.bat
edksetup.sh