[edk2] [PATCH 0/2] Fixe out-of-sync issue between GCD and CPU driver

2017-09-19 Thread Jian J Wang
Star Zeng <star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com>

[edk2] [PATCH 1/2] UefiCpuPkg/CpuDxe: Fix out-of-sync issue in CpuDxe

2017-09-19 Thread Jian J Wang
ntel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jia

[edk2] [PATCH 2/2] MdeModulePkg/Core: Fix out-of-sync issue in GCD

2017-09-19 Thread Jian J Wang
Eric Dong <eric.d...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off

[edk2] [PATCH v2 5/6] IntelFrameworkModulePkg/Csm: Add code to bypass NULL pointer detection

2017-09-20 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> --- .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 13 .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h

[edk2] [PATCH v2 6/6] OvmfPkg/QemuVideoDxe: Bypass NULL pointer detection during VBE SHIM installing

2017-09-20 Thread Jian J Wang
tributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 2 ++ OvmfPkg/QemuVideoDxe/VbeShim.c| 22 ++ 2 files changed, 24 insertions(+) diff --git a/OvmfPkg

[edk2] [PATCH v2 2/6] MdeModulePkg/DxeIpl: Implement NULL pointer detection

2017-09-20 Thread Jian J Wang
man <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.h| 25 + MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 1 +

[edk2] [PATCH v2 3/6] UefiCpuPkg/PiSmmCpuDxeSmm: Implement NULL pointer detection for SMM code

2017-09-20 Thread Jian J Wang
Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Ayellet Wolman <ayellet.wol...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Ag

[edk2] [PATCH v2 4/6] MdeModulePkg/Core/Dxe: Add EndOfDxe workaround for NULL pointer detection

2017-09-20 Thread Jian J Wang
ntel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Ayellet Wolman <ayellet.wol...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 S

[edk2] [PATCH v2 0/6] Add NULL pointer detection feature

2017-09-20 Thread Jian J Wang
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 (5): MdeModulePkg/DxeIpl: Implement NULL pointer detection UefiCpuPkg/PiSmmCpuDxeSmm: Implement NULL pointer d

[edk2] [PATCH v2 1/6] MdeModulePkg/MdeModulePkg.dec: Add NULL pointer detection PCD

2017-09-20 Thread Jian J Wang
ntributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 13 + 1 file changed, 13 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 403a66a5ad..3f

[edk2] [PATCH 0/2] Fixe out-of-sync issue between GCD and CPU driver

2017-09-17 Thread Jian J Wang
Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Jian J Wang (2): MdeModulePkg/Core:

[edk2] [PATCH 1/2] MdeModulePkg/Core: Fix out-of-sync issue in GCD

2017-09-17 Thread Jian J Wang
Star Zeng <star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com&g

[edk2] [PATCH 2/2] UefiCpuPkg/CpuDxe: Fix out-of-sync issue in page

2017-09-17 Thread Jian J Wang
ntel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: 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/Cpu

[edk2] [PATCH] UefiCpuPkg/CpuDxe: Fix GCC build error on commit c1cab54ce57c2608b8b3ea051c7041f036f21153

2017-09-21 Thread Jian J Wang
Cc: Hao Wu <hao.a...@intel.com> Cc: Anthony PERARD <anthony.per...@citrix.com> Suggested-by: 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/CpuPageTabl

[edk2] [PATCH v4 1/6] MdeModulePkg/MdeModulePkg.dec, .uni: Add NULL pointer detection PCD

2017-10-09 Thread Jian J Wang
ao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Ayellet 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.

[edk2] [PATCH v4 5/6] IntelFrameworkModulePkg/Csm: Add code to bypass NULL pointer detection

2017-10-09 Thread Jian J Wang
re Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 101 ++ .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h | 2 + .../Csm/BiosThunk/KeyboardDxe/KeyboardDxe.inf | 2 + .../Csm/Legacy

[edk2] [PATCH v4 6/6] OvmfPkg/QemuVideoDxe: Bypass NULL pointer detection during VBE SHIM installing

2017-10-09 Thread Jian J Wang
Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Ayellet 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.

[edk2] [PATCH v4 2/6] MdeModulePkg/DxeIpl: Implement NULL pointer detection

2017-10-09 Thread Jian J Wang
Michael Kinney <michael.d.kin...@intel.com> Cc: Ayellet 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> ---

[edk2] [PATCH v4 3/6] MdeModulePkg/Core/Dxe: Add EndOfDxe workaround for NULL pointer detection

2017-10-09 Thread Jian J Wang
Dong <eric.d...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Ayellet Wolman <ayellet.wol...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreemen

[edk2] [PATCH v4 4/6] UefiCpuPkg/PiSmmCpuDxeSmm: Implement NULL pointer detection for SMM code

2017-10-09 Thread Jian J Wang
Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Ayellet 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> --- UefiCpu

[edk2] [PATCH v4 0/6] Add NULL pointer detection feature

2017-10-09 Thread Jian J Wang
<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 (5): MdeModulePkg/DxeIpl: Implement NULL pointer detection MdeModulePkg/Core/Dxe: Add EndOfDxe workaround for NULL pointer detection

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

2017-10-17 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 v2 5/6] UefiCpuPkg/PiSmmCpuDxeSmm: Disable page table protection

2017-10-17 Thread Jian J Wang
SMM mode. Otherwise this feature cannot work. 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&g

[edk2] [PATCH v2 3/6] MdeModulePkg/MdeModulePkg.dec, .uni: Add heap guard related PCDs and string tokens

2017-10-17 Thread Jian J Wang
Cc: Star 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...@i

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

2017-10-17 Thread Jian J Wang
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/PiSmmCore/Misc/HeapGuard.c | 1446 ++ MdeModulePkg/Core/PiSmmCore/Misc/HeapGuard.

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

2017-10-17 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 v2 1/6] MdeModulePkg/DxeCore: Implement heap guard feature for UEFI

2017-10-17 Thread Jian J Wang
el 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/Dxe/DxeMain.inf |4 + MdeModulePkg/Core/Dxe/Mem/

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

2017-10-17 Thread Jian J Wang
> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Ayellet 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

[edk2] [PATCH] UefiCpuPkg/CpuDxe: Fix assert issue on IA32 platform

2017-09-28 Thread Jian J Wang
<star.z...@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuDxe.c | 48 +

[edk2] [PATCH v3 3/6] MdeModulePkg/Core/Dxe: Add EndOfDxe workaround

2017-09-27 Thread Jian J Wang
ntel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Ayellet Wolman <ayellet.wol...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 S

[edk2] [PATCH v3 4/6] UefiCpuPkg/PiSmmCpuDxeSmm: Implement NULL pointer detection for SMM code

2017-09-27 Thread Jian J Wang
Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Ayellet Wolman <ayellet.wol...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Ag

[edk2] [PATCH v3 5/6] IntelFrameworkModulePkg/Csm: Add code to bypass NULL pointer detection

2017-09-27 Thread Jian J Wang
rdan.l.jus...@intel.com> Cc: Ayellet 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> --- .../Csm/BiosThunk/KeyboardDxe/Bio

[edk2] [PATCH v3 6/6] OvmfPkg/QemuVideoDxe: Bypass NULL pointer detection during VBE SHIM installing

2017-09-27 Thread Jian J Wang
.l.jus...@intel.com> Cc: Ayellet 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> --- OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 1 +

[edk2] [PATCH v3 1/6] MdeModulePkg/MdeModulePkg.dec, .uni: Add NULL pointer detection PCD

2017-09-27 Thread Jian J Wang
om> 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 | 13 + MdeModulePkg/MdeModulePkg.uni | 13 + 2 file

[edk2] [PATCH v3 0/6] Add NULL pointer detection feature

2017-09-27 Thread Jian J Wang
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 (5): MdeModulePkg/DxeIpl: Implement NULL pointer detection MdeModulePkg/Core/Dxe: Add EndOfDxe workaround for

[edk2] [PATCH v3 2/6] MdeModulePkg/DxeIpl: Implement NULL pointer detection

2017-09-27 Thread Jian J Wang
y <michael.d.kin...@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Ayellet 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.

[edk2] [PATCH] IntelFrameworkModulePkg/LegacyBiosDxe: Fix GCC5 build warning

2017-10-11 Thread Jian J Wang
Cc: Laszlo Ersek <ler...@redhat.com> Cc: Liming Gao <liming@intel.com> Cc: Dandan Bi <dandan...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Thunk.c

[edk2] [PATCH] UefiCpuPkg/PiSmmCpuDxeSmm: Fix bitwise size issue (K11)

2017-10-12 Thread Jian J Wang
Cc: Eric Dong <eric.d...@intel.com> Cc: Hao A Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2017-10-10 Thread Jian J Wang
TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/PiSmmCore/Misc/HeapGuard.c | 1438 ++ MdeModulePkg/Core/PiSmmCore/Misc/HeapGuard.h | 395 +++ MdeModulePkg/Core/PiSmmCore/Misc/PageTable.c | 704 +

[edk2] [PATCH 3/5] MdeModulePkg/MdeModulePkg.dec, .uni: Add heap guard related PCDs and string tokens

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

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

2017-10-10 Thread Jian J Wang
llet 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> --- MdeModulePkg/Core/Dxe/DxeMain.inf |4 + Md

[edk2] [PATCH 0/5] Implement heap guard feature

2017-10-10 Thread Jian J Wang
lman <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 (5): MdeModulePkg/DxeCore: Implement heap guard feature for UEFI MdeModulePkg/PiSmmCore: Implement heap guard feature for SMM mode Md

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

2017-10-10 Thread Jian J Wang
t;michael.d.kin...@intel.com> Cc: Ayellet 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> --- UefiCpuPkg/PiSmmCpuDxeSmm/

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

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

[edk2] [PATCH v2 7/8] UefiCpuPkg/CpuExceptionHandlerLib: Add stack switch support

2017-11-22 Thread Jian J Wang
: 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 <jian.j.w...@

[edk2] [PATCH v2 8/8] UefiCpuPkg/CpuDxe: Initialize stack switch for MP

2017-11-22 Thread Jian J Wang
> 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/CpuDxe/CpuMp.c| 168 ++

[edk2] [PATCH v2 3/8] MdePkg/BaseLib: Add stack switch related definitions for IA32

2017-11-22 Thread Jian J Wang
table for stack switch. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed

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

2017-11-22 Thread Jian J Wang
ent 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 7 +++ MdeModulePkg/MdeModulePkg.uni | 7 +++ 2 files changed, 14 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 856d67aceb..b3831a21ad 1

[edk2] [PATCH v2 2/8] MdeModulePkg/CpuExceptionHandlerLib.h: Add a new API

2017-11-22 Thread Jian J Wang
r 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&g

[edk2] [PATCH v2 6/8] UefiCpuPkg/MpLib: Add GDTR, IDTR and TR in saved AP data

2017-11-22 Thread Jian J Wang
;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 | 17 + UefiCpuPkg/Library/MpInitLib/MpLib.h | 3

[edk2] [PATCH v2 0/8] Implement stack guard feature

2017-11-22 Thread Jian J Wang
to shell (IA32/X64) b. Intel real platform: boot to shell (IA32/X64) Jian J Wang (8): MdeModulePkg/metafile: Add PCD PcdCpuStackGuard MdeModulePkg/CpuExceptionHandlerLib.h: Add a new API MdePkg/BaseLib: Add stack switch related definitions for IA32 MdeModulePkg/DxeIpl: Enable paging for Stack

[edk2] [PATCH v2 5/8] UefiCpuPkg/UefiCpuPkg.dec: Add two new PCDs for stack switch

2017-11-22 Thread Jian J Wang
; Contributed-under: TianoCore Contribution 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 3bd8740c98..b87e20fb38 100644 -

[edk2] [PATCH v2 4/8] MdeModulePkg/DxeIpl: Enable paging for Stack Guard

2017-11-22 Thread Jian J Wang
: 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 + MdeModulePkg/Core/DxeIp

[edk2] [PATCH] MdeModulePkg/Core: Fix potential array overflow

2017-11-22 Thread Jian J Wang
<hao.a...@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/Dxe/Mem/HeapGuard.c | 4 +++- MdeModulePkg/Core/P

[edk2] [PATCH v8 2/2] MdeModulePkg/DxeCore: Filter out all paging capabilities

2017-11-22 Thread Jian J Wang
ianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Tested-by: Laszlo Ersek <ler...@redhat.com> Reviewed-by: Star Zeng <star.z...@intel.com> Reviewed-by: Laszlo Ersek <ler...@redhat.com> --- MdeModulePkg/Core/Dxe/Mem/Page.c | 20

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

2017-11-22 Thread Jian J Wang
tar Zeng <star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Tested-by: Laszlo Ersek <ler...@redhat.com> Reviewed

[edk2] [PATCH v8 0/2] Fix multiple entries of RT_CODE in memory map

2017-11-22 Thread Jian J Wang
_bug.cgi?id=753 Laszlo did a thorough test on OVMF emulated platform. The details can be found at https://bugzilla.tianocore.org/show_bug.cgi?id=753#c10 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Tested-by: Laszlo Ersek <

[edk2] [PATCH] MdeModulePkg/Core: Add missing header files into inf

2017-11-22 Thread Jian J Wang
d-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/Dxe/DxeMain.inf | 1 + MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf | 1 + 2 files changed, 2 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/DxeMain.inf b/MdeModule

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

2017-11-29 Thread Jian J Wang
d-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 166 +++ MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.h | 14 ++ 2 files changed, 180 insertions(+) diff --git a/MdeModul

[edk2] [PATCH 1/2] UefiCpuPkg/CpuDxe: Check CR0.WP before changing page table

2017-11-29 Thread Jian J Wang
lt;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/CpuDxe/CpuPageTable.c | 65

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

2017-11-29 Thread Jian J Wang
of system. This patch series will change this situation by clearing R/W bit in page attribute 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 (2): UefiCpuPkg/CpuDxe: Check CR0.WP

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

2017-11-30 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> --- .../CpuExceptionHandlerLibNull.c | 34 ++ 1 file changed, 34 insertions(+)

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

2017-11-30 Thread Jian J Wang
lman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution 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/UefiCpuP

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

2017-11-30 Thread Jian J Wang
rrupted, 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 (paging not supported). Jian J Wang (11): MdeModulePkg/metafile: Add

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

2017-11-30 Thread Jian J Wang
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-by: Jian J Wang <

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

2017-11-30 Thread Jian J Wang
; 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/BaseLib.inf

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

2017-11-30 Thread Jian J Wang
t calls InitializeCpuExceptionHandlers(). Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under

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

2017-11-30 Thread Jian J Wang
Star 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> -

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

2017-11-30 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 | 17 +

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

2017-11-30 Thread Jian J Wang
ested-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> --- ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c | 33 1 file changed, 33 insertions(+) diff --

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

2017-11-30 Thread Jian J Wang
; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuDxe.inf | 3 + UefiCpuPkg/CpuDxe/CpuMp.c| 177 +++ 2 files changed, 180 insertions(+) diff --git a/UefiCpuPkg/Cp

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

2017-11-30 Thread Jian J Wang
l.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> --- MdeModulePkg/Core/Dxe/DxeM

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

2017-11-30 Thread Jian J Wang
: 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 + MdeModulePkg/Core/DxeIp

[edk2] [PATCH] MdeModulePkg/Core: Merge memory map after filtering paging capability

2017-11-26 Thread Jian J Wang
<jiewen@intel.com> Cc: Star Zeng <star.z...@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> --- MdeModulePkg/Core/Dxe/DxeMain.h | 18 +

[edk2] [PATCH v3 2/2] UefiCpuPkg/CpuDxe: Enable protection for newly added page table

2017-12-05 Thread Jian J Wang
ion and recursive calling of SetMemorySpaceAttributes(). Cc: Jiewen Yao <jiewen@intel.com> Cc: Eric Dong <eric.d...@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 Wa

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

2017-12-05 Thread Jian J Wang
el.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/DxeIplPeim/DxeIpl.h| 34 +++ MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c | 8 +- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemo

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

2017-12-05 Thread Jian J Wang
in other part of system. This patch series will change this situation by clearing R/W bit in page attribute 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 (2): MdeModulePkg/

[edk2] [PATCH] MdeModulePkg/Core: Fix incorrect memory map generated in a rare case

2017-12-18 Thread Jian J Wang
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/Core/Dxe/Misc/PropertiesTable.c| 4

[edk2] [PATCH] MdeModulePkg/DxeIplPeim: fix incorrect page table split during protecting

2017-12-14 Thread Jian J Wang
ent 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c inde

[edk2] [PATCH v6 1/2] MdeModulePkg/DxeCore: Filter out all paging capabilities

2017-11-16 Thread Jian J Wang
Laszlo Ersek <ler...@redhat.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- MdeModulePkg/Core/Dxe/Mem/Page.c | 17 + 1 file changed, 17 insertions(+)

[edk2] [PATCH v6 0/2] Fix multiple entries of RT_CODE in memory map

2017-11-16 Thread Jian J Wang
lem for some old OSs. This patch will fix this issue to keep OS compatibility as much as possible. Jian J Wang (2): MdeModulePkg/DxeCore: Filter out all paging capabilities UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map MdeModulePkg/Core/Dxe/Mem/Page.c | 17 UefiC

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

2017-11-16 Thread Jian J Wang
om> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 94 +++- 1 fil

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

2017-11-13 Thread Jian J Wang
ith 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 Protocol, PCDs and string tokens

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

2017-11-13 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 v6 2/7] MdeModulePkg/SmmMemoryAttribute.h: Add new protocol definitions

2017-11-13 Thread Jian J Wang
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-by: Jian

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

2017-11-13 Thread Jian J Wang
ntel.com> Cc: Jiewen Yao <jiewen@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Suggested-by: Ayellet Wolman <ayellet.wol...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

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

2017-11-13 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 v6 4/7] MdeModulePkg/DxeIpl: Enable paging for heap guard

2017-11-13 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 v6 3/7] UefiCpuPkg/CpuDxe: Reduce debug message

2017-11-13 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 v6 6/7] UefiCpuPkg/PiSmmCpuDxeSmm: Add SmmMemoryAttribute protocol

2017-11-13 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 v2 0/2] Fix unix style of EOL

2017-11-20 Thread Jian J Wang
> v2: Split patches per package Jian J Wang (2): MdeModulePkg: Fix unix style of EOL UefiCpuPkg: Fix unix style of EOL MdeModulePkg/Core/Dxe/DxeMain.inf |8 +- MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 2394 MdeModulePkg/Core/Dxe/

[edk2] [PATCH v2 2/2] UefiCpuPkg: Fix unix style of EOL

2017-11-20 Thread Jian J Wang
Cc: Wu Hao <hao.a...@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> --- UefiCpuPkg/CpuDxe/CpuPageTable.c

[edk2] [PATCH v7 1/2] MdeModulePkg/DxeCore: Filter out all paging capabilities

2017-11-20 Thread Jian J Wang
l.com> Cc: Star Zeng <star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Tested-by: Laszlo Ersek <ler...

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

2017-11-20 Thread Jian J Wang
t;star.z...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.w...@intel.com> Tested-by: Laszlo Ersek <ler..

[edk2] [PATCH v2] MdeModulePkg/Core: Fix build error with old Visual Studio

2017-11-19 Thread Jian J Wang
t integer in binary format (0bxxx). This patch change them to decimal to fix it. 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..

[edk2] [PATCH] MdeModulePkg/PiSmmCore: Fix an assert issue in pool free

2017-11-19 Thread Jian J Wang
; 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> --- MdeModulePkg/Core/PiSmmCore/Pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/PiSmmCore/Poo

[edk2] [PATCH] MdeModulePkg/Core: Fix build error with old Visual Studio

2017-11-19 Thread Jian J Wang
<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...@intel.com> --- MdeModulePkg/Core/Dxe/Mem/HeapGuard.c | 11 --- MdeModulePkg/Co

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

2017-11-02 Thread Jian J Wang
n, 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 Wang <jian.j.w

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

2017-11-06 Thread Jian J Wang
t; 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/IntelFrameworkModulePkg/Univer

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

2017-11-06 Thread Jian J Wang
> 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/UefiShellBcfgCommandLib/UefiShellBcfgC

  1   2   3   4   >