diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-18 06:09:03 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-18 06:09:03 +0000 |
commit | 0a7d0741b624ef927dce432c4ccd72a7b855732f (patch) | |
tree | 149ab567d24ea8c0c5766ed1736c1fc2dfc6135b /MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | |
parent | 454e9f6593cd2d35c84e9cd445e68a2f68d6e201 (diff) | |
download | edk2-platforms-0a7d0741b624ef927dce432c4ccd72a7b855732f.tar.xz |
The BaseAddress and Length should be align PAGE according to PI specification for EFI_MEMORY_ALLOCATION_HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4162 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/DxeIplPeim/DxeLoad.c')
-rw-r--r-- | MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c index 82382111e6..84b8eb2abd 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c +++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c @@ -224,7 +224,7 @@ DxeLoadCore ( BuildModuleHob (
&DxeCoreFileName,
DxeCoreAddress,
- DxeCoreSize,
+ EFI_SIZE_TO_PAGES ((UINT32) DxeCoreSize) * EFI_PAGE_SIZE,
DxeCoreEntryPoint
);
|