@param[in] DispatchHandle The unique handle assigned to this handler by SmiHandlerRegister().\r
@param[in] Context Points to an optional handler context which was specified when the\r
handler was registered.\r
- @param[in,out] CommBuffer A pointer to a collection of data in memory that will\r
+ @param[in, out] CommBuffer A pointer to a collection of data in memory that will\r
be conveyed from a non-SMM environment into an SMM environment.\r
- @param[in,out] CommBufferSize The size of the CommBuffer.\r
+ @param[in, out] CommBufferSize The size of the CommBuffer.\r
\r
@retval EFI_SUCCESS The interrupt was handled and quiesced. No other handlers \r
should still be called.\r
This SMI handler provides services for the SMM Base Thunk driver.\r
\r
@param[in] DispatchHandle The unique handle assigned to this handler by SmiHandlerRegister().\r
- @param[in] Context Points to an optional handler context which was specified when the\r
+ @param[in] RegisterContext Points to an optional handler context which was specified when the\r
handler was registered.\r
- @param[in,out] CommBuffer A pointer to a collection of data in memory that will\r
+ @param[in, out] CommBuffer A pointer to a collection of data in memory that will\r
be conveyed from a non-SMM environment into an SMM environment.\r
- @param[in,out] CommBufferSize The size of the CommBuffer.\r
+ @param[in, out] CommBufferSize The size of the CommBuffer.\r
\r
@retval EFI_SUCCESS The interrupt was handled and quiesced. No other handlers \r
should still be called.\r
FunctionData = (SMMBASE_FUNCTION_DATA *)CommBuffer;\r
\r
switch (FunctionData->Function) {\r
- case SMMBASE_REGISTER:\r
+ case SmmBaseFunctionRegister:\r
Register (FunctionData);\r
break;\r
- case SMMBASE_UNREGISTER:\r
+ case SmmBaseFunctionUnregister:\r
UnRegister (FunctionData);\r
break;\r
- case SMMBASE_REGISTER_CALLBACK:\r
+ case SmmBaseFunctionRegisterCallback:\r
RegisterCallback (FunctionData);\r
break;\r
- case SMMBASE_ALLOCATE_POOL:\r
+ case SmmBaseFunctionAllocatePool:\r
HelperAllocatePool (FunctionData);\r
break;\r
- case SMMBASE_FREE_POOL:\r
+ case SmmBaseFunctionFreePool:\r
HelperFreePool (FunctionData);\r
break;\r
- case SMMBASE_COMMUNICATE:\r
+ case SmmBaseFunctionCommunicate:\r
HelperCommunicate (FunctionData);\r
break;\r
default:\r
{\r
EFI_STATUS Status;\r
EFI_MP_SERVICES_PROTOCOL *MpServices;\r
- EFI_HANDLE Handle = NULL;\r
+ EFI_HANDLE Handle;\r
UINTN NumberOfEnabledProcessors;\r
-\r
+ \r
+ Handle = NULL;\r
///\r
/// Locate SMM CPU Protocol which is used later to retrieve/update CPU Save States\r
///\r