41 IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
42 IN PHYSICAL_ADDRESS CallerAddress,
43 IN VOID *Context OPTIONAL,
47 if (mSmiHandlerProfile !=
NULL) {
48 return mSmiHandlerProfile->RegisterHandler (mSmiHandlerProfile, HandlerGuid, Handler, CallerAddress, Context, ContextSize);
51 return EFI_UNSUPPORTED;
75 IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
76 IN VOID *Context OPTIONAL,
80 if (mSmiHandlerProfile !=
NULL) {
81 return mSmiHandlerProfile->UnregisterHandler (mSmiHandlerProfile, HandlerGuid, Handler, Context, ContextSize);
84 return EFI_UNSUPPORTED;
97 gMmst->MmLocateProtocol (
98 &gSmiHandlerProfileGuid,
100 (VOID **)&mSmiHandlerProfile
EFI_STATUS EFIAPI SmiHandlerProfileRegisterHandler(IN EFI_GUID *HandlerGuid, IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler, IN PHYSICAL_ADDRESS CallerAddress, IN VOID *Context OPTIONAL, IN UINTN ContextSize OPTIONAL)
EFI_STATUS MmSmiHandlerProfileLibInitialization(VOID)
EFI_STATUS EFIAPI SmiHandlerProfileUnregisterHandler(IN EFI_GUID *HandlerGuid, IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler, IN VOID *Context OPTIONAL, IN UINTN ContextSize OPTIONAL)