Clear PageSize bit(Bit7) for non-leaf entry in PageTableLibSetPnle.
This function is used to set non-leaf entry attributes so it should
make sure that the PageSize bit of the entry should be 0.
Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Pnle->Bits.Nx = Attribute->Bits.Nx;\r
}\r
\r
- Pnle->Bits.Accessed = 0;\r
+ Pnle->Bits.Accessed = 0;\r
+ Pnle->Bits.MustBeZero = 0;\r
\r
//\r
// Set the attributes (WT, CD, A) to 0.\r