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

2017-10-10 Thread Wang, Jian J
1.org > Subject: [edk2] [PATCH v4 0/6] Add NULL pointer detection feature > > The mechanism behind is to trigger a page fault exception at address 0. > This can be made by disabling page 0 (0-4095) during page table setup. > So this feature can only be available on platform with paging e

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

2017-10-09 Thread Jian J Wang
The mechanism behind is to trigger a page fault exception at address 0. This can be made by disabling page 0 (0-4095) during page table setup. So this feature can only be available on platform with paging enabled. Once this feature is enabled, any code, like CSM, which has to access memory in