X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxeIplPeim%2FX64%2FVirtualMemory.c;fp=MdeModulePkg%2FCore%2FDxeIplPeim%2FX64%2FVirtualMemory.c;h=29b6205e884d8a58aa583ba3d89c965ecd731284;hp=a10dea25fd7fd2c65dfa7c6f3bf51426922ac1e1;hb=382aeac2c83dc7fb0c88b7a5ade1038820b3beab;hpb=71d047b483b9a86662bb32ce13e931ba799a7527 diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c index a10dea25fd..29b6205e88 100644 --- a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c +++ b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c @@ -32,12 +32,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "VirtualMemory.h" /** - Clear legacy memory located at the first 4K-page, if available. + Clear legacy memory located at the first 4K-page, if available. - This function traverses the whole HOB list to check if memory from 0 to 4095 - exists and has not been allocated, and then clear it if so. + This function traverses the whole HOB list to check if memory from 0 to 4095 + exists and has not been allocated, and then clear it if so. - @param HoStart The start of HobList passed to DxeCore. + @param HobStart The start of HobList passed to DxeCore. **/ VOID @@ -86,6 +86,13 @@ ClearFirst4KPage ( return; } +/** + Return configure status of NULL pointer detection feature. + + @return TRUE NULL pointer detection feature is enabled + @return FALSE NULL pointer detection feature is disabled + +**/ BOOLEAN IsNullDetectionEnabled ( VOID