/* Check if Execute Disable feature is enabled or not.  */
BOOLEAN IsExecuteDisableEnabled(VOID)
/* Check if Execute Disable feature is enabled or not.  */
BOOLEAN IsExecuteDisableEnabled(VOID)
{
  MSR_CORE_IA32_EFER_REGISTER  MsrEfer;
  MsrEfer.Uint64 = AsmReadMsr64 (MSR_IA32_EFER);
  return (MsrEfer.Bits.NXE == 1);
}