[edk2] [PATCH v2 1/3] MdeModulePkg: Fix misuses of AllocateCopyPool

2017-11-06 Thread Jian J Wang
Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Application/UiApp/FrontPageCustomizedUiSupport.c | 9 ++--- .../BootMaintenanceManagerCustomizedUiSupport.c |

[edk2] [PATCH v2 0/3] Fix misuses of AllocateCopyPool

2017-11-06 Thread Jian J Wang
ffer", heap memory overflow occurs during copy. One solution is to allocate pool first then copy the necessary bytes to new memory. Another is using ReallocatePool instead if old buffer will be freed on spot. Jian J Wang (3): MdeModulePkg: Fix misuses of AllocateCopyPo

[edk2] [PATCH v3 1/3] MdeModulePkg: Fix misuses of AllocateCopyPool

2017-11-07 Thread Jian J Wang
f old buffer will be freed on spot. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Bi Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@in

[edk2] [PATCH v3 0/3] Fix misuses of AllocateCopyPool

2017-11-07 Thread Jian J Wang
ld "Buffer" to new allocated one. If "AllocationSize" is bigger than size of "Buffer", heap memory overflow occurs during copy. One solution is to allocate pool first then copy the necessary bytes to new memory. Another is using ReallocatePool instead if old buffer wi

[edk2] [PATCH v3 3/3] IntelFrameworkModulePkg: Fix misuses of AllocateCopyPool

2017-11-07 Thread Jian J Wang
Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Universal/BdsDxe/DeviceMngr/DeviceManager.c| 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/

[edk2] [PATCH v3 2/3] ShellPkg: Fix misuses of AllocateCopyPool

2017-11-07 Thread Jian J Wang
t; Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Bi Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- ShellPkg/Application/Shell/Shell.c | 4 +++- ShellPkg/Library/UefiS

[edk2] [PATCH] UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map

2017-11-09 Thread Jian J Wang
ore detailed information, please refer to https://bugzilla.tianocore.org/show_bug.cgi?id=753 Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wa

[edk2] [PATCH v5] UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map

2017-11-09 Thread Jian J Wang
ore detailed information, please refer to https://bugzilla.tianocore.org/show_bug.cgi?id=753 Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wa

[edk2] [PATCH v5 4/7] MdeModulePkg/DxeIpl: Enable paging for heap guard

2017-11-09 Thread Jian J Wang
Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.com> Regression-tested-by: Laszlo Ersek &

[edk2] [PATCH v5 1/7] MdeModulePkg/MdeModulePkg.dec, .uni: Add Protocol, PCDs and string tokens

2017-11-09 Thread Jian J Wang
ution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.com> Regression-tested-by: Laszlo Ersek <ler...@redhat.com> --- MdeModulePkg/MdeModulePkg.dec | 60 +++

[edk2] [PATCH v5 7/7] MdeModulePkg/PiSmmCore: Implement heap guard feature for SMM mode

2017-11-09 Thread Jian J Wang
ler...@redhat.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.com>

[edk2] [PATCH v5 5/7] MdeModulePkg/DxeCore: Implement heap guard feature for UEFI

2017-11-09 Thread Jian J Wang
ulation platform which doesn't support paging. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contrib

[edk2] [PATCH v5 3/7] UefiCpuPkg/CpuDxe: Reduce debug message

2017-11-09 Thread Jian J Wang
gt; Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.com> Regression-tested-by: L

[edk2] [PATCH v5 0/7] Implement heap guard feature

2017-11-09 Thread Jian J Wang
the fact that it doesn't support paging which is needed for this feature to work. But all are validated with feature is disabled. Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.

[edk2] [PATCH v5 2/7] MdeModulePkg/SmmMemoryAttribute.h: Add new protocol definitions

2017-11-09 Thread Jian J Wang
s; }; Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off

[edk2] [PATCH v5 6/7] UefiCpuPkg/PiSmmCpuDxeSmm: Add SmmMemoryAttribute protocol

2017-11-09 Thread Jian J Wang
om> Cc: Ruiyu Ni <ruiyu...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Reviewed-by: Jiewen Yao <jiewen@intel.com> Regression-tested-by: L

[edk2] [PATCH v3] UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map

2017-11-08 Thread Jian J Wang
ch as possible. More detailed information, please refer to https://bugzilla.tianocore.org/show_bug.cgi?id=753 Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 S

[edk2] [PATCH v3] UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map

2017-11-08 Thread Jian J Wang
://bugzilla.tianocore.org/show_bug.cgi?id=753 Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <

[edk2] [PATCH 0/3] Fix misuses of AllocateCopyPool

2017-11-02 Thread Jian J Wang
rst then copy the necessary bytes to new memory. This can avoid copying extra bytes from unknown memory range. Jian J Wang (3): MdeModulePkg: Fix misuses of AllocateCopyPool ShellPkg: Fix misuses of AllocateCopyPool IntelFrameworkModulePkg: Fix misuses of AllocateCopyPool .../Uni

[edk2] [PATCH 2/3] ShellPkg: Fix misuses of AllocateCopyPool

2017-11-02 Thread Jian J Wang
rst then copy the necessary bytes to new memory. This can avoid copying extra bytes from unknown memory range. Cc: Jaben Carsey <jaben.car...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Bi Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agree

[edk2] [PATCH 1/3] MdeModulePkg: Fix misuses of AllocateCopyPool

2017-11-02 Thread Jian J Wang
rst then copy the necessary bytes to new memory. This can avoid copying extra bytes from unknown memory range. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Bi Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agree

[edk2] [PATCH 3/3] IntelFrameworkModulePkg: Fix misuses of AllocateCopyPool

2017-11-02 Thread Jian J Wang
rst then copy the necessary bytes to new memory. This can avoid copying extra bytes from unknown memory range. Cc: Liming Gao <liming@intel.com> Cc: Bi Dandan <dandan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@i

[edk2] [PATCH v2 4/4] UefiCpuPkg/CpuDxe: Enable protection for newly added page table

2017-12-04 Thread Jian J Wang
@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuDxe.c | 17 +- UefiCpuPkg/CpuDxe/CpuDxe.h

[edk2] [PATCH v2 2/4] MdeModulePkg/PageTablePool.h: Page table pool GUID definition file

2017-12-04 Thread Jian J Wang
ePages; } PAGE_TABLE_POOL_HEADER; Cc: Jiewen Yao <jiewen@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.co

[edk2] [PATCH v2 3/4] MdeModulePkg/DxeIpl: Mark page table as read-only

2017-12-04 Thread Jian J Wang
wen Yao <jiewen@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/

[edk2] [PATCH v2 1/4] MdeModulePkg/MdeModulePkg.dec: Add new PCDs and Guid

2017-12-04 Thread Jian J Wang
Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 28 1 file changed, 28 inse

[edk2] [PATCH v2 0/4] Enable page table write protection

2017-12-04 Thread Jian J Wang
of the pages used as page table. Validation works include booting Windows (10/server 2016) and Linux (Fedora/Ubuntu) on OVMF and Intel real platform. Jian J Wang (4): MdeModulePkg/MdeModulePkg.dec: Add new PCDs and Guid MdeModulePkg/PageTablePool.h: Page table pool GUID definition file

[edk2] [PATCH v2 3/3] IntelFrameworkModulePkg/KeyboardDxe: Use macro to enable/disable page 0

2017-12-06 Thread Jian J Wang
Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 118 ++--- .../Csm/BiosThunk/KeyboardDxe/KeyboardDxe.inf | 1 - 2 files changed, 10 insertions(+), 109 deletions(-) diff --git a/IntelFrameworkModul

[edk2] [PATCH v2 2/3] IntelFrameworkModulePkg/LegacyBiosDxe: Use macro to enable/disable page 0

2017-12-06 Thread Jian J Wang
ethods to do the same job, which also makes code more readability. Cc: Liming Gao <liming@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w

[edk2] [PATCH v2 1/3] IntelFrameworkPkg/LegacyBios.h: Add a macro to guarantee page 0 access

2017-12-06 Thread Jian J Wang
ODE macro): ACCESS_PAGE0_CODE( ); Cc: Liming Gao <liming@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com&g

[edk2] [PATCH v2 0/3] Remove dependency on PcdNullPointerDetectionPropertyMask

2017-12-06 Thread Jian J Wang
newly added PcdNullPointerDetectionPropertyMask caused backward compatibility issue in some packages having legcy drivers. Since the attributes missing issue in GCD services has been fixed, it's now able to eliminate the dependency on this PCD. Jian J Wang (3): IntelFrameworkPkg/LegacyBios.h: Add a macro to guar

[edk2] [PATCH v4 1/2] MdeModulePkg/DxeIpl: Mark page table as read-only

2017-12-07 Thread Jian J Wang
ao <jiewen@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Cor

[edk2] [PATCH v4 0/2] Enable page table write protection

2017-12-07 Thread Jian J Wang
location > and protection easier and error free. Write Protect feature (CR0.WP) is always enabled in driver UefiCpuPkg/CpuDxe. But the memory pages used for page table are not set as read-only in the driver DxeIplPeim, after the paging is setup. This might jeopardize the page t

[edk2] [PATCH 1/2] MdeModulePkg/DxeCore: Fix issues in Heap Guard

2017-12-10 Thread Jian J Wang
page should be turned into a new Guard page. Cc: Jie Lin <jie@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/

[edk2] [PATCH 0/2] Fix issues in Heap Guard

2017-12-10 Thread Jian J Wang
page should be turned into a new Guard page. Since the most part code of Heap Guard feature are almost the same, PiSmmCore and DxeCore have both above issues. This patch series fix them all. Jian J Wang (2): MdeModulePkg/DxeCore: Fix issues in Heap Guard MdeModulePkg/PiSmmCore: Fix issues in Heap

[edk2] [PATCH 2/2] MdeModulePkg/PiSmmCore: Fix issues in Heap Guard

2017-12-10 Thread Jian J Wang
page should be turned into a new Guard page. Cc: Jie Lin <jie@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Co

[edk2] [PATCH 2/3] IntelFrameworkModulePkg/LegacyBiosDxe: Use macro to enable/disable page 0

2017-12-05 Thread Jian J Wang
job, which also makes code more readability. Cc: Liming Gao <liming@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Csm/LegacyB

[edk2] [PATCH 0/3] Remove dependency on PcdNullPointerDetectionPropertyMask

2017-12-05 Thread Jian J Wang
able to eliminate the dependency on this PCD. Jian J Wang (3): IntelFrameworkPkg/LegacyBios.h: Add a macro to guarantee page 0 access IntelFrameworkModulePkg/LegacyBiosDxe: Use macro to enable/disable page 0 IntelFrameworkModulePkg/KeyboardDxe: Use macro to enable/disable page 0

[edk2] [PATCH 3/3] IntelFrameworkModulePkg/KeyboardDxe: Use macro to enable/disable page 0

2017-12-05 Thread Jian J Wang
job, which also makes code more readability. Cc: Liming Gao <liming@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Csm/BiosThunk/Keyboard

[edk2] [PATCH 1/3] IntelFrameworkPkg/LegacyBios.h: Add a macro to guarantee page 0 access

2017-12-05 Thread Jian J Wang
gt; Cc: Michael D Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- IntelFrameworkPkg/Include/Protocol/LegacyBios.h | 34 + 1 file changed, 34 inserti

[edk2] [PATCH v4 05/11] UefiCpuPkg/CpuExceptionHandlerLib: Add stack switch support

2017-12-06 Thread Jian J Wang
t; Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../CpuExceptionHandlerLib/CpuExceptionCommon.h| 39 ++ .../

[edk2] [PATCH v4 01/11] MdeModulePkg/metafile: Add PCD PcdCpuStackGuard

2017-12-06 Thread Jian J Wang
eption dump message won't be printed out when there's a stack overflow happened. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-b

[edk2] [PATCH v4 04/11] MdePkg/BaseLib: Add stack switch related definitions for IA32

2017-12-06 Thread Jian J Wang
@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdePkg/Include/Library/BaseLib.h | 117 +++ MdePkg/Library/BaseLib/B

[edk2] [PATCH v4 11/11] MdeModulePkg/DxeIpl: Enable paging for Stack Guard

2017-12-06 Thread Jian J Wang
; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 5 ++- MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c | 4 ++ MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c | 1

[edk2] [PATCH v4 09/11] UefiCpuPkg/CpuDxe: Initialize stack switch for MP

2017-12-06 Thread Jian J Wang
en@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuDxe.inf | 3 + UefiCpuPkg/CpuD

[edk2] [PATCH v4 10/11] MdeModulePkg/Core/Dxe: Call new API InitializeCpuExceptionHandlersEx instead

2017-12-06 Thread Jian J Wang
Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModu

[edk2] [PATCH v4 08/11] UefiCpuPkg/MpLib: Add GDTR, IDTR and TR in saved AP data

2017-12-06 Thread Jian J Wang
Laszlo Ersek <ler...@redhat.com> Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/Library/MpInitLib/MpLib.c

[edk2] [PATCH v4 03/11] MdeModulePkg/CpuExceptionHandlerLib.h: Add a new API InitializeCpuExceptionHandlersEx

2017-12-06 Thread Jian J Wang
r.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Include/Lib

[edk2] [PATCH v4 06/11] MdeModulePkg/CpuExceptionHandlerLibNull: Add new API implementation

2017-12-06 Thread Jian J Wang
> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../CpuExcept

[edk2] [PATCH v4 00/11] Implement stack guard feature

2017-12-06 Thread Jian J Wang
e sure exception handler works normally even when the stack is corrupted, stack switching is implemented in exception library. Due to the mechanism behind Stack Guard, this feature is only avaiable for UEFI drivers (memory avaiable). That also means it doesn't support NT32 emulated platform (

[edk2] [PATCH v4 07/11] ArmPkg/ArmExceptionLib: Add implementation of new API

2017-12-06 Thread Jian J Wang
euvel <ard.biesheu...@linaro.org> Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Reviewed-by: Ard Biesheuvel <ard.biesheu...@li

[edk2] [PATCH v4 02/11] UefiCpuPkg/UefiCpuPkg.dec: Add two new PCDs for stack switch

2017-12-06 Thread Jian J Wang
ution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/UefiCpuPkg.dec | 12 1 file changed, 12 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index d2965ba14c..83eb6eed40 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b

[edk2] [PATCH] UefiCpuPkg/CpuDxe: Add initialization to local variable

2017-12-11 Thread Jian J Wang
The purpose of the patch is just to avoid complaining from compiler and static check tool. Cc: Eric Dong <eric.d...@intel.com> Cc: Wu Hao <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpu

[edk2] [PATCH v2] UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map

2017-10-25 Thread Jian J Wang
effect, it will prevent EDK2 from reporting multple RT_CODE to OS. Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.

[edk2] [PATCH 0/3] Implement stack guard feature

2017-10-31 Thread Jian J Wang
. That also means it doesn't support NT32 emulated platform. Validation works include: a. OVMF emulated platform: boot to shell (IA32/X64) b. Intel real platform: boot to shell (IA32/X64) Jian J Wang (3): MdeModulePkg/metafile: Add PCD PcdCpuStackGuard MdeModulePkg/DxeIpl: Enable paging

[edk2] [PATCH 3/3] UefiCpuPkg/CpuExceptionHandlerLib: Add stack switch support

2017-10-31 Thread Jian J Wang
n@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../CpuExceptionHand

[edk2] [PATCH 2/3] MdeModulePkg/DxeIpl: Enable paging for stack guard

2017-10-31 Thread Jian J Wang
and memory access cross into the last page of it, #PF exception will be triggered. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-o

[edk2] [PATCH 1/3] MdeModulePkg/metafile: Add PCD PcdCpuStackGuard

2017-10-31 Thread Jian J Wang
Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/MdeModulePkg.dec |

[edk2] [PATCH 1/2] UefiCpuPkg/CpuDxe: allow accessing (DXE) page table in SMM mode

2018-06-11 Thread Jian J Wang
Cc: Laszlo Ersek Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang --- UefiCpuPkg/CpuDxe/CpuDxe.c | 2 +- UefiCpuPkg/CpuDxe/CpuDxe.inf | 1 + UefiCpuPkg/CpuDxe/CpuPageTable.c | 108

[edk2] [PATCH 2/2] MdeModulePkg/Core: remove SMM check for Heap Guard feature detection

2018-06-11 Thread Jian J Wang
Zeng Cc: Eric Dong Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang --- MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/Mem/HeapGuard.c b/MdeModulePkg/Core

[edk2] [PATCH 0/2] fix DXE memory free issue in SMM mode

2018-06-11 Thread Jian J Wang
in a global variable and use it to access DXE page table if in SMM mode. Jian J Wang (2): UefiCpuPkg/CpuDxe: allow accessing (DXE) page table in SMM mode MdeModulePkg/Core: remove SMM check for Heap Guard feature detection MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 10 UefiCpuPkg/CpuDxe

[edk2] [PATCH v2 0/2] fix DXE memory free issue in SMM mode

2018-06-12 Thread Jian J Wang
use it to access DXE page table if in SMM mode. Jian J Wang (2): UefiCpuPkg/CpuDxe: allow accessing (DXE) page table in SMM mode MdeModulePkg/Core: remove SMM check for Heap Guard feature detection MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 10 --- UefiCpuPkg/CpuDxe/CpuDxe.inf | 1

[edk2] [PATCH v2 2/2] MdeModulePkg/Core: remove SMM check for Heap Guard feature detection

2018-06-12 Thread Jian J Wang
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang --- MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/Mem/HeapGuard.c b/MdeModulePkg/Core/Dxe/Mem/HeapGuard.c index 9d765c98f6..447c56bb11

[edk2] [PATCH v2 1/2] UefiCpuPkg/CpuDxe: allow accessing (DXE) page table in SMM mode

2018-06-12 Thread Jian J Wang
paging attributes and changing SMM page table attributes unexpectedly. Cc: Eric Dong Cc: Laszlo Ersek Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang --- UefiCpuPkg/CpuDxe/CpuDxe.inf | 1 + UefiCpuPkg/CpuDxe/Cp

[edk2] [PATCH v4 3/7] UefiCpuPkg/CpuDxe: Reduce debug message

2017-10-27 Thread Jian J Wang
gt; Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 5 +++-- 1 file changed, 3 insertions(

[edk2] [PATCH v4 7/7] MdeModulePkg/PiSmmCore: Implement heap guard feature for SMM mode

2017-10-27 Thread Jian J Wang
Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/PiSmmCore/HeapGuard.c | 1467 + MdeModulePkg/Core/PiSmmCore/HeapGuard.h | 398 ++

[edk2] [PATCH v4 5/7] MdeModulePkg/DxeCore: Implement heap guard feature for UEFI

2017-10-27 Thread Jian J Wang
ulation platform which doesn't support paging. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contrib

[edk2] [PATCH v4 1/7] MdeModulePkg/MdeModulePkg.dec, .uni: Add Protocol, PCDs and string tokens

2017-10-27 Thread Jian J Wang
ution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 60 +++ MdeModulePkg/MdeModulePkg.uni | 58 + 2 files changed, 118 insertions(+) diff --git a/MdeModul

[edk2] [PATCH v4 2/7] MdeModulePkg/SmmMemoryAttribute.h: Add new protocol definitions

2017-10-27 Thread Jian J Wang
m> Cc: Ruiyu Ni <ruiyu...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Include/Protocol/SmmMemoryAttribute.h | 136 +

[edk2] [PATCH v4 6/7] UefiCpuPkg/PiSmmCpuDxeSmm: Add SmmMemoryAttribute protocol

2017-10-27 Thread Jian J Wang
ure cannot work. Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1

[edk2] [PATCH v4 0/7] Implement heap guard feature

2017-10-27 Thread Jian J Wang
for this feature to work. But all are validated with feature is disabled. Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Jian J Wang (7): MdeModulePkg/MdeModulePkg.dec,.uni: Add

[edk2] [PATCH v3 6/6] MdeModulePkg/DxeIpl: Enable paging for heap guard

2017-10-22 Thread Jian J Wang
Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 1 + MdeModulePkg/Core/DxeI

[edk2] [PATCH v3 0/6] Implement heap guard feature

2017-10-22 Thread Jian J Wang
yellet Wolman <ayellet.wol...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Jian J Wang (6): MdeModulePkg/DxeCore: Implement heap guard feature for

[edk2] [PATCH v3 1/6] MdeModulePkg/DxeCore: Implement heap guard feature for UEFI

2017-10-22 Thread Jian J Wang
el.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core

[edk2] [PATCH v3 5/6] UefiCpuPkg/PiSmmCpuDxeSmm: Disable page table protection

2017-10-22 Thread Jian J Wang
sted-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/PageTbl.c | 7 + UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 20 +++ UefiCpuP

[edk2] [PATCH v3 2/6] MdeModulePkg/PiSmmCore: Implement heap guard feature for SMM mode

2017-10-22 Thread Jian J Wang
el.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <j

[edk2] [PATCH v3 3/6] MdeModulePkg/MdeModulePkg.dec, .uni: Add Protocol, PCDs and string tokens

2017-10-22 Thread Jian J Wang
.@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 60 +++ MdeModulePkg/MdeModulePkg.uni | 58 + 2 files

[edk2] [PATCH v3 4/6] UefiCpuPkg/CpuDxe: Reduce debug message

2017-10-22 Thread Jian J Wang
com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a

[edk2] [PATCH] UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map

2017-10-23 Thread Jian J Wang
t 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/CpuPageTable.c index d312eb66f8..0802464b9d 100644 --- a

[edk2] [PATCH 3/4] UefiCpuPkg/UefiCpuPkg.uni: Add missing string definition for new PCDs

2017-12-24 Thread Jian J Wang
Cc: Dandan Bi <dandan...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/UefiCpuPkg.uni | 16

[edk2] [PATCH 1/4] MdePkg/BaseLib.h: Coding style clean-up

2017-12-24 Thread Jian J Wang
Cc: Dandan Bi <dandan...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdePkg/Includ

[edk2] [PATCH 0/4] Coding style clean-up

2017-12-24 Thread Jian J Wang
This patch series are meant for cleaning up code according to coding style requirements. Jian J Wang (4): MdePkg/BaseLib.h: Coding style clean-up MdeModulePkg/Core: Coding style clean-up UefiCpuPkg/UefiCpuPkg.uni: Add missing string definition for new PCDs UefiCpuPkg: Update code to use

[edk2] [PATCH 2/4] MdeModulePkg/Core: Coding style clean-up

2017-12-24 Thread Jian J Wang
Cc: Dandan Bi <dandan...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 5

[edk2] [PATCH 4/4] UefiCpuPkg: Update code to use new structure field names

2017-12-24 Thread Jian J Wang
tion Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Ia32/ArchExceptionHandler.c| 24 +++--- .../X64/ArchExceptionHandler.c | 6 +++--- UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 +- 3 files chang

[edk2] [PATCH] MdePkg/BasePrintLib: Fix incorrect Precision position calculation

2017-12-24 Thread Jian J Wang
; Cc: Jiewen Yao <jiewen@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdePkg/Library/BasePrintLib/PrintLibInternal.c | 5 - 1 file changed, 4 insertions

[edk2] [PATCH 1/2] MdeModulePkg/Core: Fix heap guard issues

2017-12-24 Thread Jian J Wang
guard page cannot be guaranteed. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/

[edk2] [PATCH v3 2/2] UefiCpuPkg/MpInitLib: fix wrong address set as Stack Guard for APs

2018-01-07 Thread Jian J Wang
ao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 19 +

[edk2] [PATCH v3 0/2] Fix wrong address set as Stack Guard for APs

2018-01-07 Thread Jian J Wang
x cpu0's ApTopOfStack initialization. > c. Fix wrong debug print format. The reason is that DXE part initialization will reuse the stack allocated at PEI phase, if MP was initialized before. Some code added to check this situation and use stack base address saved in HOB passed from PEI. Jian J Wang (2)

[edk2] [PATCH v3 1/2] UefiCpuPkg/MpInitLib: fix incorrect stack top init for cpu0

2018-01-07 Thread Jian J Wang
k is not used for BSP, it's should be fixed in case of misunderstanding and future possible code changes. Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Sign

[edk2] [PATCH] UefiCpuPkg/MpInitLib: fix 32-bit build error

2018-01-10 Thread Jian J Wang
Cc: Dandan Bi <dandan...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +- 1 f

[edk2] [PATCH] UefiCpuPkg/CpuDxe: fix SetMemoryAttributes issue in 32-bit mode

2018-01-15 Thread Jian J Wang
yu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 4 1 file changed, 4 insertions(+) diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/CpuPageTable.c index a9c9b

[edk2] [PATCH 0/2] Fix bad performance in changing page attributes

2018-01-26 Thread Jian J Wang
in CpuDxe driver but let AP do it in its own wakeup code. There's no need to flush TLB for AP who has no chance to run code. Jian J Wang (2): UefiCpuPkg/MpInitLib: force flushing TLB for AP in mwait loop mode UefiCpuPkg/CpuDxe: remove all code to flush TLB for APs UefiCpuPkg/CpuDxe

[edk2] [PATCH 1/2] UefiCpuPkg/MpInitLib: force flushing TLB for AP in mwait loop mode

2018-01-26 Thread Jian J Wang
c: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[edk2] [PATCH 2/2] UefiCpuPkg/CpuDxe: remove all code to flush TLB for APs

2018-01-26 Thread Jian J Wang
<ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 85 +++- 1 file changed, 5 insertions(+), 80 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuP

[edk2] [PATCH] MdeModulePkg/Core: fix a logic hole in page free

2018-01-17 Thread Jian J Wang
c: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 15 + MdeModulePkg/Core/Dxe/Mem/Page.c | 40 ++- MdeModul

[edk2] [PATCH] UefiCpuPkg/CpuDxe: fix bad boot performance

2018-01-17 Thread Jian J Wang
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/CpuPageTable.c index a9c9bc9d5e..b97a444c09 100644 --- a

[edk2] [PATCH 0/6] Fix issues caused by NX memory protection

2018-01-15 Thread Jian J Wang
NX memory protection feature enabled by PcdDxeNxMemoryProtectionPolicy was not fully tested, especially if it's enabled for memory with type of EfiBootServicesCode, EfiConventionalMemory and EfiReservedMemoryType. This series will fix all issues caused by it. Jian J Wang (6): UefiCpuPkg

[edk2] [PATCH 5/6] MdeModulePkg/PiSmmCore: remove NX attr for SMM RAM

2018-01-15 Thread Jian J Wang
attribute for those memory. Cc: Jiewen Yao <jiewen@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@i

[edk2] [PATCH 6/6] MdeModulePkg/BootScriptExecutorDxe: remove NX attr for FfsBuffer

2018-01-15 Thread Jian J Wang
.d...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf | 1 + .../Universal/Acpi/BootScriptExec

[edk2] [PATCH 3/6] UefiCpuPkg/CpuDxe: clear NX attr for page directory

2018-01-15 Thread Jian J Wang
Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuP

<    1   2   3   4   >