[edk2] [PATCH v3 0/3] fix empty window period of HeapGuard before CpuArchProtocol

Jian J Wang posted 3 patches 6 years, 1 month ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/Dxe/Gcd/Gcd.c               |  10 ++
MdeModulePkg/Core/Dxe/Mem/HeapGuard.c         | 148 ++++++++++++++++++++++++--
MdeModulePkg/Core/Dxe/Mem/HeapGuard.h         |   8 ++
MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c |   5 +
MdeModulePkg/Core/PiSmmCore/HeapGuard.c       |  16 +--
5 files changed, 174 insertions(+), 13 deletions(-)
[edk2] [PATCH v3 0/3] fix empty window period of HeapGuard before CpuArchProtocol
Posted by Jian J Wang 6 years, 1 month ago
> v3:
>    Split the fixes into three patch files.

> v2:
>    Fix a logic hole in bits operation on address on 64K boundary with
>    just 64-bit length (SetBits(), ClearBits(), GetBits()).

This patch series fills up an empty window period of HeapGuard feature
before CpuArchProtocol installed, and fix an issue observed on 32-bit
real platform with this HeapGuard fix.

Jian J Wang (3):
  MdeModulePkg/Core: allow HeapGuard even before CpuArchProtocol
    installed
  MdeModulePkg/PiSmmCore: fix bits operation error on a boundary
    condition
  MdeModulePkg/Core: fix bits operation error on a boundary condition

 MdeModulePkg/Core/Dxe/Gcd/Gcd.c               |  10 ++
 MdeModulePkg/Core/Dxe/Mem/HeapGuard.c         | 148 ++++++++++++++++++++++++--
 MdeModulePkg/Core/Dxe/Mem/HeapGuard.h         |   8 ++
 MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c |   5 +
 MdeModulePkg/Core/PiSmmCore/HeapGuard.c       |  16 +--
 5 files changed, 174 insertions(+), 13 deletions(-)

-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH v3 0/3] fix empty window period of HeapGuard before CpuArchProtocol
Posted by Ni, Ruiyu 6 years, 1 month ago
On 3/15/2018 1:03 PM, Jian J Wang wrote:
>> v3:
>>     Split the fixes into three patch files.
> 
>> v2:
>>     Fix a logic hole in bits operation on address on 64K boundary with
>>     just 64-bit length (SetBits(), ClearBits(), GetBits()).
> 
> This patch series fills up an empty window period of HeapGuard feature
> before CpuArchProtocol installed, and fix an issue observed on 32-bit
> real platform with this HeapGuard fix.
> 
> Jian J Wang (3):
>    MdeModulePkg/Core: allow HeapGuard even before CpuArchProtocol
>      installed
>    MdeModulePkg/PiSmmCore: fix bits operation error on a boundary
>      condition
>    MdeModulePkg/Core: fix bits operation error on a boundary condition
> 
>   MdeModulePkg/Core/Dxe/Gcd/Gcd.c               |  10 ++
>   MdeModulePkg/Core/Dxe/Mem/HeapGuard.c         | 148 ++++++++++++++++++++++++--
>   MdeModulePkg/Core/Dxe/Mem/HeapGuard.h         |   8 ++
>   MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c |   5 +
>   MdeModulePkg/Core/PiSmmCore/HeapGuard.c       |  16 +--
>   5 files changed, 174 insertions(+), 13 deletions(-)
> 
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

-- 
Thanks,
Ray
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel