UefiCpuPkg: VTF0 Linear-Address Translation to a 1-GByte Page till 512GB
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3473 X64 Reset Vector Code can access the memory range till 4GB using the Linear-Address Translation to a 2-MByte Page, when user wants to use more than 4G using 2M Page it will leads to use more number of Page table entries. using the 1-GByte Page table user can use more than 4G Memory by reducing the page table entries using 1-GByte Page, this patch attached can access memory range till 512GByte via Linear- Address Translation to a 1-GByte Page. Build Tool: if the nasm is not found it will throw Build errors like FileNotFoundError: [WinError 2]The system cannot find the file specified run the command wil try except block to get meaningful error message Test Result: Tested in both Simulation environment and Hardware both works fine without any issues. Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Debkumar De <debkumar.de@intel.com> Cc: Harry Han <harry.han@intel.com> Cc: Catharine West <catharine.west@intel.com> Cc: Sangeetha V <sangeetha.v@intel.com> Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com> Cc: Sahil Dureja <sahil.dureja@intel.com> Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
89f7ed8b29
commit
60d8bb9f28
BIN
UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw
Normal file
BIN
UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.port80.raw
Normal file
Binary file not shown.
BIN
UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw
Normal file
BIN
UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.raw
Normal file
Binary file not shown.
BIN
UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw
Normal file
BIN
UefiCpuPkg/ResetVector/Vtf0/Bin/IA32/ResetVector.ia32.serial.raw
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -22,10 +22,10 @@
|
||||
#
|
||||
|
||||
[Binaries.Ia32]
|
||||
RAW|ResetVector.ia32.raw|*
|
||||
RAW|IA32/ResetVector.ia32.raw|*
|
||||
|
||||
[Binaries.X64]
|
||||
RAW|ResetVector.x64.raw|*
|
||||
RAW|X64/PageTable2M/ResetVector.x64.raw|*
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
ResetVectorExtra.uni
|
||||
|
31
UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf
Normal file
31
UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector1G.inf
Normal file
@@ -0,0 +1,31 @@
|
||||
## @file
|
||||
# Reset Vector binary
|
||||
#
|
||||
# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = ResetVector
|
||||
MODULE_UNI_FILE = ResetVector.uni
|
||||
FILE_GUID = 1BA0062E-C779-4582-8566-336AE8F78F09
|
||||
MODULE_TYPE = SEC
|
||||
VERSION_STRING = 1.1
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
#
|
||||
|
||||
[Binaries.Ia32]
|
||||
RAW|IA32/ResetVector.ia32.raw|*
|
||||
|
||||
[Binaries.X64]
|
||||
RAW|X64/PageTable1G/ResetVector.x64.raw|*
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
ResetVectorExtra.uni
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user