X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=UefiCpuPkg%2FCpuDxe%2FCpuDxe.h;h=540f5f2dbf0fe4e8a4671c3e77d183f5ef281429;hb=147fd35c3e389ecd025dbfd243312bf5b22da7c9;hp=4861abee76252902a940a8bc2126a1b9d6ccfa42;hpb=b1bd0d7474f6d3e4162da0dcc8a934eb743e7572;p=mirror_edk2.git diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h index 4861abee76..540f5f2dbf 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.h +++ b/UefiCpuPkg/CpuDxe/CpuDxe.h @@ -52,6 +52,10 @@ EFI_MEMORY_UCE \ ) +#define EFI_MEMORY_PAGETYPE_MASK (EFI_MEMORY_RP | \ + EFI_MEMORY_XP | \ + EFI_MEMORY_RO \ + ) /** Flush CPU data cache. If the instruction cache is fully coherent @@ -261,5 +265,15 @@ SetDataSelectors ( UINT16 Selector ); +/** + Update GCD memory space attributes according to current page table setup. +**/ +VOID +RefreshGcdMemoryAttributesFromPaging ( + VOID + ); + +extern BOOLEAN mIsAllocatingPageTable; + #endif