|
TianoCore EDK2 master
|
#include "PiSmmCore.h"Go to the source code of this file.
Functions | |
| VOID | SmmNotifyProtocol (IN PROTOCOL_INTERFACE *Prot) |
| PROTOCOL_INTERFACE * | SmmRemoveInterfaceFromProtocol (IN IHANDLE *Handle, IN EFI_GUID *Protocol, IN VOID *Interface) |
| EFI_STATUS EFIAPI | SmmRegisterProtocolNotify (IN CONST EFI_GUID *Protocol, IN EFI_SMM_NOTIFY_FN Function, OUT VOID **Registration) |
Support functions for UEFI protocol notification infrastructure.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Notify.c.
| VOID SmmNotifyProtocol | ( | IN PROTOCOL_INTERFACE * | Prot | ) |
| EFI_STATUS EFIAPI SmmRegisterProtocolNotify | ( | IN CONST EFI_GUID * | Protocol, |
| IN EFI_SMM_NOTIFY_FN | Function, | ||
| OUT VOID ** | Registration | ||
| ) |
Add a new protocol notification record for the request protocol.
| Protocol | The requested protocol to add the notify registration |
| Function | Points to the notification function |
| Registration | Returns the registration record |
| EFI_SUCCESS | Successfully returned the registration record that has been added or unhooked |
| EFI_INVALID_PARAMETER | Protocol is NULL or Registration is NULL |
| EFI_OUT_OF_RESOURCES | Not enough memory resource to finish the request |
| EFI_NOT_FOUND | If the registration is not found when Function == NULL |