X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=UefiCpuPkg%2FPiSmmCpuDxeSmm%2FSmmProfile.h;h=b6fb5cf34b23e20d388e51bfa2c0a04bb7a44c85;hp=13ff675ba29cbd3d0f591aaecb5a2731d713236a;hb=717fb60443fbaedfab9a37fd186361b3b9e1ecfe;hpb=28b020b5de1e1bee4a44e2536f71fc96c781863c diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h index 13ff675ba2..b6fb5cf34b 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h @@ -96,15 +96,6 @@ CheckFeatureSupported ( VOID ); -/** - Enable XD feature. - -**/ -VOID -ActivateXd ( - VOID - ); - /** Update page table according to protected memory ranges and the 4KB-page mapped memory ranges. @@ -114,7 +105,13 @@ InitPaging ( VOID ); +// +// The flag indicates if execute-disable is supported by processor. +// extern BOOLEAN mXdSupported; +// +// The flag indicates if execute-disable is enabled on processor. +// extern BOOLEAN mXdEnabled; #endif // _SMM_PROFILE_H_