X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=UefiCpuPkg%2FPiSmmCpuDxeSmm%2FSmmProfile.h;h=04a3dfb2e85764ea9dca99d83f1e105aea5812ef;hb=0d0a19cb14ba6867813f56a52cfc89545ad07f3a;hp=328d2b975821e512538025e2cf1e27d3315741f6;hpb=f85d3ce2efc21da5d874b3e4d880e5682c6fe7cb;p=mirror_edk2.git diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h index 328d2b9758..04a3dfb2e8 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h @@ -90,21 +90,9 @@ PageFaultIdtHandlerSmmProfile ( /** Check if XD feature is supported by a processor. - @param[in,out] Buffer The pointer to private data buffer. - **/ VOID -EFIAPI CheckFeatureSupported ( - IN OUT VOID *Buffer - ); - -/** - Enable XD feature. - -**/ -VOID -ActivateXd ( VOID ); @@ -118,15 +106,21 @@ InitPaging ( ); /** - Check if XD and BTS features are supported by all processors. + Get CPU Index from APIC ID. **/ -VOID -CheckProcessorFeature ( +UINTN +GetCpuIndex ( 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_