EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.h

Go to the documentation of this file.
00001 
00015 #ifndef __DATAHUB_STATUS_CODE_HANDLER_DXE_H__
00016 #define __DATAHUB_STATUS_CODE_HANDLER_DXE_H__
00017 
00018 #include <Protocol/ReportStatusCodeHandler.h>
00019 #include <Protocol/DataHub.h>
00020 #include <Protocol/StatusCode.h>
00021 
00022 #include <Guid/StatusCodeDataTypeId.h>
00023 #include <Guid/StatusCodeDataTypeDebug.h>
00024 #include <Guid/DataHubStatusCodeRecord.h>
00025 #include <Guid/EventGroup.h>
00026 
00027 #include <Library/BaseLib.h>
00028 #include <Library/SynchronizationLib.h>
00029 #include <Library/BaseMemoryLib.h>
00030 #include <Library/DebugLib.h>
00031 #include <Library/ReportStatusCodeLib.h>
00032 #include <Library/PrintLib.h>
00033 #include <Library/PcdLib.h>
00034 #include <Library/UefiDriverEntryPoint.h>
00035 #include <Library/UefiBootServicesTableLib.h>
00036 #include <Library/MemoryAllocationLib.h>
00037 
00038 //
00039 // Data hub worker definition
00040 //
00041 #define DATAHUB_STATUS_CODE_SIGNATURE             SIGNATURE_32 ('B', 'D', 'H', 'S')
00042 
00043 typedef struct {
00044   UINTN       Signature;
00045   LIST_ENTRY  Node;
00046   UINT8       Data[sizeof(DATA_HUB_STATUS_CODE_DATA_RECORD) + EFI_STATUS_CODE_DATA_MAX_SIZE];
00047 } DATAHUB_STATUSCODE_RECORD;
00048 
00069 EFI_STATUS
00070 EFIAPI
00071 DataHubStatusCodeReportWorker (
00072   IN EFI_STATUS_CODE_TYPE     CodeType,
00073   IN EFI_STATUS_CODE_VALUE    Value,
00074   IN UINT32                   Instance,
00075   IN EFI_GUID                 *CallerId,
00076   IN EFI_STATUS_CODE_DATA     *Data OPTIONAL
00077   );
00078 
00086 EFI_STATUS
00087 DataHubStatusCodeInitializeWorker (
00088   VOID
00089   );
00090 
00091 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines