**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_OPEN) (\r
+(EFIAPI *EFI_SMM_OPEN)(\r
IN EFI_SMM_ACCESS_PROTOCOL *This,\r
UINTN DescriptorIndex\r
);\r
Inhibits access to the SMRAM.\r
\r
@param This The EFI_SMM_ACCESS_PROTOCOL instance.\r
- @param DescriptorIndex Indicates that the driver wishes to open\r
+ @param DescriptorIndex Indicates that the driver wishes to close\r
the memory tagged by this index.\r
\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_CLOSE) (\r
+(EFIAPI *EFI_SMM_CLOSE)(\r
IN EFI_SMM_ACCESS_PROTOCOL *This,\r
UINTN DescriptorIndex\r
);\r
\r
/**\r
Inhibits access to the SMRAM.\r
+\r
@param This The EFI_SMM_ACCESS_PROTOCOL instance.\r
- @param DescriptorIndex Indicates that the driver wishes to open\r
+ @param DescriptorIndex Indicates that the driver wishes to lock\r
the memory tagged by this index.\r
\r
@retval EFI_SUCCESS The operation was successful.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_LOCK) (\r
+(EFIAPI *EFI_SMM_LOCK)(\r
IN EFI_SMM_ACCESS_PROTOCOL *This,\r
UINTN DescriptorIndex\r
);\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_CAPABILITIES) (\r
+(EFIAPI *EFI_SMM_CAPABILITIES)(\r
IN EFI_SMM_ACCESS_PROTOCOL *This,\r
IN OUT UINTN *SmramMapSize,\r
IN OUT EFI_SMRAM_DESCRIPTOR *SmramMap\r
Gets information on possible SMRAM regions.\r
\r
@param LockState\r
-Indicates the current state of the SMRAM. Set to TRUE if any region is locked.\r
+ Indicates the current state of the SMRAM. Set to TRUE if any region is locked.\r
\r
@param OpenState\r
-Indicates the current state of the SMRAM. Set to TRUE if any region is open.\r
+ Indicates the current state of the SMRAM. Set to TRUE if any region is open.\r
\r
**/\r
struct _EFI_SMM_ACCESS_PROTOCOL {\r