mirror of https://github.com/acidanthera/audk.git
Fix build error.
sign of by: jyao1 reviewed by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12347 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4ae2e63ca4
commit
83a52195e8
|
@ -299,7 +299,7 @@ S3CreateIdentityMappingPageTables (
|
|||
PageMapLevel4Entry->Bits.Present = 1;
|
||||
|
||||
if (Page1GSupport) {
|
||||
PageDirectory1GEntry = (VOID *) S3NvsPageTableAddress;
|
||||
PageDirectory1GEntry = (PAGE_TABLE_1G_ENTRY *)(UINTN)S3NvsPageTableAddress;
|
||||
S3NvsPageTableAddress += SIZE_4KB;
|
||||
|
||||
for (IndexOfPageDirectoryEntries = 0; IndexOfPageDirectoryEntries < 512; IndexOfPageDirectoryEntries++, PageDirectory1GEntry++, PageAddress += SIZE_1GB) {
|
||||
|
|
|
@ -127,6 +127,8 @@ CreateIdentityMappingPageTables (
|
|||
IN EFI_PHYSICAL_ADDRESS PageTablesAddress
|
||||
)
|
||||
{
|
||||
UINT32 RegEax;
|
||||
UINT32 RegEdx;
|
||||
UINT8 PhysicalAddressBits;
|
||||
EFI_PHYSICAL_ADDRESS PageAddress;
|
||||
UINTN IndexOfPml4Entries;
|
||||
|
|
Loading…
Reference in New Issue