4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This PPI provides registering and unregistering services to status code consumers.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync 0x65d394, 0x9951, 0x4144, {0x82, 0xa3, 0xa, 0xfc, 0x85, 0x79, 0xc2, 0x51} \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Register the callback function for ReportStatusCode() notification.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync When this function is called the function pointer is added to an internal list and any future calls to
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync ReportStatusCode() will be forwarded to the Callback function.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is called
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync when a call to ReportStatusCode() occurs.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS Function was successfully registered.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER The callback function was NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_OUT_OF_RESOURCES The internal buffer ran out of space. No more functions can be
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync registered.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_ALREADY_STARTED The function was already registered. It can't be registered again.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Remove a previously registered callback function from the notification list.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync ReportStatusCode() messages will no longer be forwarded to the Callback function.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @param[in] Callback A pointer to a function of type EFI_PEI_RSC_HANDLER_CALLBACK that is to be
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync unregistered.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_SUCCESS The function was successfully unregistered.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_INVALID_PARAMETER The callback function was NULL.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @retval EFI_NOT_FOUND The callback function was not found to be unregistered.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync#endif // __REPORT_STATUS_CODE_HANDLER_PPI_H__