[edk2] [BaseTool][UPT][patch]Add supporting of decimal numbers for INF_VERSION and DEC_SPECIFICATION

2015-11-15 Thread Chen, Hesheng
Hello Yonghong and all, Could you help review this patch? Thank you [Description] 1. Add supporting of decimal numbers for INF_VERSION and DEC_SPECIFICATION Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen Best Regards, Chen, Hess Intel China Software Cente

[edk2] [Patch 10/13] UefiCpuPkg/MtrrLib: Use worker functions to access MTRRs register

2015-11-15 Thread Jeff Fan
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 120 --- 1 file changed, 11 insertions(+), 109 deletions(-) diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLi

[edk2] [Patch 13/13] UefiCpuPkg/MtrrLib: Add MtrrSetMemoryAttributeInMtrrSettings()

2015-11-15 Thread Jeff Fan
Add MtrrSetMemoryAttributeInMtrrSettings() implementation to set memory attributes into the input MTRRs setting buffer. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 37 +++

[edk2] [Patch 09/13] UefiCpuPkg/MtrrLib: Add worker function to get the memory cache type

2015-11-15 Thread Jeff Fan
Adds MtrrGetMemoryAttributeWorker() to get the memory cache type by specific address from input MTRR settings buffer if it is not NULL. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 11

[edk2] [Patch 08/13] UefiCpuPkg/MtrrLib: Support get memory cache type from setting buffer

2015-11-15 Thread Jeff Fan
Updates GetMemoryCacheTypeFromMtrrType() to support getting memory cache type from the input MTRRs setting buffer if it is not NULL. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 12 ++

[edk2] [Patch 11/13] UefiCpuPkg/MtrrLib: Add worker functions to set memory attributes

2015-11-15 Thread Jeff Fan
Adds MtrrSetMemoryAttributeWorker() to set the attributes for a memory range into the input MTTRs setting buffer if it is not NULL, otherwise set attributes into MTRRs MSR registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian

[edk2] [Patch 01/13] UefiCpuPkg/MtrrLib: Add API MtrrSetMemoryAttributeInMtrrSettings()

2015-11-15 Thread Jeff Fan
Adds new API MtrrSetMemoryAttributeInMtrrSettings() in MtrrLib.h. It is use to program MTRRs register value into the input MTRRs setting buffer instead of program MTRRs MSR registers. If platform wants to program more than one MTRR, it could use this API to improve program performance. Firstly, pl

[edk2] [Patch 07/13] UefiCpuPkg/MtrrLib: Support program Variable MTRRs into setting buffer

2015-11-15 Thread Jeff Fan
Updates ProgramVariableMtrr() to support programming Variable MTRRs into the input MTRRs setting buffer if it is not NULL. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 27

[edk2] [Patch 04/13] UefiCpuPkg/MtrrLib: Support program Fixed MTRRs into setting buffer

2015-11-15 Thread Jeff Fan
Updates ProgramFixedMtrr() to support programming Fixed MTRRs into the input MTRRs setting buffer if it is not NULL. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 20 +-

[edk2] [Patch 06/13] UefiCpuPkg/MtrrLib: Support invalid variable MTRRs by setting buffer

2015-11-15 Thread Jeff Fan
Updates InvalidateMtrr() to support invalid variable MTRRs by the input MTRRs setting buffer if it is not NULL. If the input setting buffer is not NULL, do not disable/enable CACHE. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian

[edk2] [Patch 05/13] UefiCpuPkg/MtrrLib: Add worker function to get memory attributes

2015-11-15 Thread Jeff Fan
Updates MtrrGetMemoryAttributeInVariableMtrrWorker() to get memory attributes from the input MTRRs setting buffer if it is not NULL. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 73 ++

[edk2] [Patch 00/13] UefiCpuPkg/MtrrLib: Add API MtrrSetMemoryAttributeInMtrrSettings()

2015-11-15 Thread Jeff Fan
Adds new API MtrrSetMemoryAttributeInMtrrSettings() in MtrrLib.h. It is use to program MTRRs register value into the input MTRRs setting buffer instead of program MTRRs MSR registers. If platform wants to program more than one MTRR, it could use this API to improve program performance. Jeff Fan

[edk2] [Patch 12/13] UefiCpuPkg/MtrrLib: Add worker function to print MTRRs setting

2015-11-15 Thread Jeff Fan
Adds MtrrDebugPrintAllMtrrsWorker() to print MTRRs setting from the input MTRR settings buffer if it is not NULL, otherwise print MTRRs setting from MTRRs MSR registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpu

[edk2] [Patch 12/13] UefiCpuPkg/MtrrLib: Add worker functions to print MTRRs setting

2015-11-15 Thread Jeff Fan
Adds MtrrDebugPrintAllMtrrsWorker() to print MTRRs setting from the input MTRR settings buffer if it is not NULL, otherwise print MTRRs setting from MTRRs MSR registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpu

[edk2] [Patch 11/13] UefiCpuPkg/MtrrLib: Add worker function to set memory attributes

2015-11-15 Thread Jeff Fan
Adds MtrrSetMemoryAttributeWorker() to set the attributes for a memory range into the input MTTRs setting buffer if it is not NULL, otherwise set attributes into MTRRs MSR registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian

[edk2] [Patch 03/13] UefiCpuPkg/MtrrLib: Add worker function to get default MTRR cache type

2015-11-15 Thread Jeff Fan
Adds MtrrGetDefaultMemoryTypeWorker() to get default MTRR cache type from the input MTRRs setting buffer or from MTRRs registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan CC: Michael Kinney CC: Feng Tian --- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 35 +

[edk2] [Patch 02/13] UefiCpuPkg/MtrrLib: Add read/write MTRR worker functions

2015-11-15 Thread Jeff Fan
Adds three pairs of read/write worker functions to access Fixed MTRRs, Variable MTRRs Base/Mask registers. If the MTRR setting buffer is not NULL, access MTRRs from this setting buffer, otherwise access MTRRs directly. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan

Re: [edk2] [Patch V2 12/12] MdeModulePkg/VarCheck: Add VarCheck handler for PlatformRecovery####

2015-11-15 Thread Zeng, Star
On 2015/11/13 19:44, Ruiyu Ni wrote: Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Cc: Star Zeng --- MdeModulePkg/Library/VarCheckLib/VarCheckLib.c| 7 +++ .../Library/VarCheckUefiLib/VarCheckUefiLibNullClass.c| 11 +++

Re: [edk2] Entering shell without a startup.nsh

2015-11-15 Thread Michael Zimmermann
yes, removing this modules "fixes" this bug. I don't need it anyway, it was just included in the bring-up config(ArmPlatformPkg/ArmPlatformPkg-2ndstage.dsc). I don't even know how driver this works. If there's some backend library needed which I don't implement it would at least explain this probl

Re: [edk2] Entering shell without a startup.nsh

2015-11-15 Thread Ard Biesheuvel
On 15 November 2015 at 11:49, Michael Zimmermann wrote: > after taking a closer look I discovered, that the Shell finds a file > 'FS9:\efi\tools\startup.nsh' where FS9 is 'ArmPkg/Filesystem/SemihostFs' but > neither do I have a hw debugger connected nor does this file(or any other > files/director

Re: [edk2] Entering shell without a startup.nsh

2015-11-15 Thread Michael Zimmermann
after taking a closer look I discovered, that the Shell finds a file 'FS9:\efi\tools\startup.nsh' where FS9 is 'ArmPkg/Filesystem/SemihostFs' but neither do I have a hw debugger connected nor does this file(or any other files/directories) exist when browsing this fs. On Sun, Nov 15, 2015 at 11:27

Re: [edk2] Entering shell without a startup.nsh

2015-11-15 Thread Ard Biesheuvel
On 15 November 2015 at 11:24, Michael Zimmermann wrote: > Hi, > > I just noticed that when the file startup.nsh is missing and you don't > press ESC during the countdown that shell just hangs forever. > > Is that the expected behavior? > No, it is not. You should simply be dropped into the shell

[edk2] Entering shell without a startup.nsh

2015-11-15 Thread Michael Zimmermann
Hi, I just noticed that when the file startup.nsh is missing and you don't press ESC during the countdown that shell just hangs forever. Is that the expected behavior? Thx Michael ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org