Good catch. Thanks for the feedback.
> -Original Message-
> From: Yao, Jiewen
> Sent: Monday, September 25, 2017 4:51 PM
> To: Wang, Jian J ; edk2-devel@lists.01.org
> Cc: Zeng, Star ; Dong, Eric ; Laszlo
> Ersek
Hi
I do not think NULL pointer is related to NX.
As long as NullPointer PCD is true and IA32PAE is supported, we can build page
table.
+BuildPageTablesIa32Pae = (BOOLEAN) (IsIa32PaeSupport ()
+&& IsExecuteDisableBitAvailable ()
+
NULL pointer detection is done by making use of paging mechanism of CPU.
During page table setup, if enabled, the first 4-K page (0-4095) will be
marked as NOT PRESENT. Any code which unintentionally access memory between
0-4095 will trigger a Page Fault exception which warns users that there's
3 matches
Mail list logo