]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/SmmAccess.h
Minor code enhancement.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / SmmAccess.h
index 6b6db221d50ad5ff59bd2904f7b83da88be22a3c..f6c904b02de3c01aef7d890a0141ee2261762d7e 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  This file declares SMM SMRAM Access abstraction protocol which is used to control \r
+  This file declares the SMM SMRAM Access abstraction protocol, which is used to control \r
   the visibility of the SMRAM on the platform. The expectation is\r
   that the north bridge or memory controller would publish this protocol. \r
   For example, the Memory Controller Hub (MCH) has the hardware provision for this \r
@@ -23,7 +23,6 @@
 #ifndef _SMM_ACCESS_H_\r
 #define _SMM_ACCESS_H_\r
 \r
-#include <PiDxe.h>\r
 #include <Guid/SmramMemoryReserve.h>\r
 \r
 typedef struct _EFI_SMM_ACCESS_PROTOCOL  EFI_SMM_ACCESS_PROTOCOL;\r
@@ -33,19 +32,6 @@ typedef struct _EFI_SMM_ACCESS_PROTOCOL  EFI_SMM_ACCESS_PROTOCOL;
     0x3792095a, 0xe309, 0x4c1e, {0xaa, 0x01, 0x85, 0xf5, 0x65, 0x5a, 0x17, 0xf1 } \\r
   }\r
 \r
-//\r
-// SMM Access specification constant and types\r
-//\r
-// *******************************************************\r
-//  EFI_SMRAM_STATE\r
-// *******************************************************\r
-//\r
-#define EFI_SMRAM_OPEN    0x00000001\r
-#define EFI_SMRAM_CLOSED  0x00000002\r
-#define EFI_SMRAM_LOCKED  0x00000004\r
-#define EFI_CACHEABLE     0x00000008\r
-#define EFI_ALLOCATED     0x00000010\r
-\r
 //\r
 // SMM Access specification Member Function\r
 //\r