Skip to content

Commit

Permalink
remove CheckMemoryProtectionExceptionHandlerInstallation from SMM app
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorBeebe committed Dec 6, 2023
1 parent 4b2fcdb commit c79a62c
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,23 +161,6 @@ FetchMemoryProtectionHobEntries (
return (Ptr1 != NULL && Ptr2 != NULL) ? EFI_SUCCESS : EFI_INVALID_PARAMETER;
}

/**
This helper function returns EFI_SUCCESS if the memory protection exception handler is installed.
@retval EFI_SUCCESS Memory protection exception handler installed
@retval other retval of LocateProtocol()
**/
STATIC
EFI_STATUS
CheckMemoryProtectionExceptionHandlerInstallation (
VOID
)
{
VOID *DummyProtocol = NULL;

return gBS->LocateProtocol (&gMemoryProtectionExceptionHandlerGuid, NULL, (VOID **)&DummyProtocol);
}

/**
This helper function actually sends the requested communication
to the SMM driver.
Expand Down

0 comments on commit c79a62c

Please sign in to comment.