/** @file\r
This file declares SMM Base abstraction protocol.\r
This protocol is used to install SMM handlers for support of subsequent SMI/PMI activations. This\r
- protocol is available on both IA-32 and Itanium®-based systems.\r
+ protocol is available on both IA-32 and Itanium based systems.\r
\r
The EFI_SMM_BASE_PROTOCOL is a set of services that is exported by a processor device. It is\r
a required protocol for the platform processor. This protocol can be used in both boot services and\r
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- Module Name: SmmBase.h\r
-\r
@par Revision Reference:\r
This Protocol is defined in Framework of EFI SMM Core Interface Spec\r
Version 0.9.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_CALLBACK_ENTRY_POINT) (\r
+(EFIAPI *EFI_SMM_CALLBACK_ENTRY_POINT)(\r
IN EFI_HANDLE SmmImageHandle,\r
IN OUT VOID *CommunicationBuffer OPTIONAL,\r
IN OUT UINTN *SourceSize OPTIONAL\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_REGISTER_HANDLER) (\r
+(EFIAPI *EFI_SMM_REGISTER_HANDLER)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,\r
IN VOID *SourceBuffer OPTIONAL,\r
IN UINTN SourceSize,\r
OUT EFI_HANDLE *ImageHandle,\r
IN BOOLEAN LegacyIA32Binary OPTIONAL\r
- )\r
-;\r
+ );\r
\r
/**\r
Remove a given driver SMRAM. This is the equivalent of performing\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_UNREGISTER_HANDLER) (\r
+(EFIAPI *EFI_SMM_UNREGISTER_HANDLER)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN EFI_HANDLE ImageHandle\r
- )\r
-;\r
+ );\r
\r
/**\r
The SMM Inter-module Communicate Service Communicate() function\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_COMMUNICATE) (\r
+(EFIAPI *EFI_SMM_COMMUNICATE)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN EFI_HANDLE ImageHandle,\r
IN OUT VOID *CommunicationBuffer,\r
IN OUT UINTN *SourceSize\r
- )\r
-;\r
+ );\r
\r
/**\r
Register a callback to execute within SMM.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_CALLBACK_SERVICE) (\r
+(EFIAPI *EFI_SMM_CALLBACK_SERVICE)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN EFI_HANDLE SmmImageHandle,\r
IN EFI_SMM_CALLBACK_ENTRY_POINT CallbackAddress,\r
IN BOOLEAN MakeLast OPTIONAL,\r
IN BOOLEAN FloatingPointSave OPTIONAL\r
- )\r
-;\r
+ );\r
\r
/**\r
The SmmAllocatePool() function allocates a memory region of Size bytes from memory of\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_ALLOCATE_POOL) (\r
+(EFIAPI *EFI_SMM_ALLOCATE_POOL)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN EFI_MEMORY_TYPE PoolType,\r
IN UINTN Size,\r
OUT VOID **Buffer\r
- )\r
-;\r
+ );\r
\r
/**\r
The SmmFreePool() function returns the memory specified by Buffer to the system.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_FREE_POOL) (\r
+(EFIAPI *EFI_SMM_FREE_POOL)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN VOID *Buffer\r
- )\r
-;\r
+ );\r
\r
/**\r
This routine tells caller if execution context is SMM or not.\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_INSIDE_OUT) (\r
+(EFIAPI *EFI_SMM_INSIDE_OUT)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
OUT BOOLEAN *InSmm\r
- )\r
-;\r
+ );\r
\r
/**\r
The GetSmstLocation() function returns the locatin of the System Management\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_GET_SMST_LOCATION) (\r
+(EFIAPI *EFI_SMM_GET_SMST_LOCATION)(\r
IN EFI_SMM_BASE_PROTOCOL *This,\r
IN OUT EFI_SMM_SYSTEM_TABLE **Smst\r
- )\r
-;\r
+ );\r
\r
/**\r
@par Protocol Description:\r