UefiCpuPkg: Fix unix style of EOL
Cc: Wu Hao <hao.a.wu@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
@@ -914,20 +914,20 @@ SetPageTableAttributes (
|
||||
BOOLEAN IsSplitted;
|
||||
BOOLEAN PageTableSplitted;
|
||||
|
||||
//
|
||||
// Don't do this if
|
||||
// - no static page table; or
|
||||
// - SMM heap guard feature enabled
|
||||
// BIT2: SMM page guard enabled
|
||||
// BIT3: SMM pool guard enabled
|
||||
//
|
||||
if (!mCpuSmmStaticPageTable ||
|
||||
(PcdGet8 (PcdHeapGuardPropertyMask) & (BIT3 | BIT2)) != 0) {
|
||||
//
|
||||
// Static paging and heap guard should not be enabled at the same time.
|
||||
//
|
||||
ASSERT (!(mCpuSmmStaticPageTable &&
|
||||
(PcdGet8 (PcdHeapGuardPropertyMask) & (BIT3 | BIT2)) != 0));
|
||||
//
|
||||
// Don't do this if
|
||||
// - no static page table; or
|
||||
// - SMM heap guard feature enabled
|
||||
// BIT2: SMM page guard enabled
|
||||
// BIT3: SMM pool guard enabled
|
||||
//
|
||||
if (!mCpuSmmStaticPageTable ||
|
||||
(PcdGet8 (PcdHeapGuardPropertyMask) & (BIT3 | BIT2)) != 0) {
|
||||
//
|
||||
// Static paging and heap guard should not be enabled at the same time.
|
||||
//
|
||||
ASSERT (!(mCpuSmmStaticPageTable &&
|
||||
(PcdGet8 (PcdHeapGuardPropertyMask) & (BIT3 | BIT2)) != 0));
|
||||
return ;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user