9#ifndef _SMI_HANDLER_PROFILE_H_
10#define _SMI_HANDLER_PROFILE_H_
29#define SMM_CORE_IMAGE_DATABASE_SIGNATURE SIGNATURE_32 ('S','C','I','D')
30#define SMM_CORE_IMAGE_DATABASE_REVISION 0x0001
35 PHYSICAL_ADDRESS EntryPoint;
36 PHYSICAL_ADDRESS ImageBase;
39 UINT16 PdbStringOffset;
44#define SMM_CORE_SMI_DATABASE_SIGNATURE SIGNATURE_32 ('S','C','S','D')
45#define SMM_CORE_SMI_DATABASE_REVISION 0x0001
48 SmmCoreSmiHandlerCategoryRootHandler,
49 SmmCoreSmiHandlerCategoryGuidHandler,
50 SmmCoreSmiHandlerCategoryHardwareHandler,
51} SMM_CORE_SMI_HANDLER_CATEGORY;
72 UINT32 DevicePathSize;
77 UINT64 SwSmiInputValue;
83 PHYSICAL_ADDRESS CallerAddr;
84 PHYSICAL_ADDRESS Handler;
85 UINT16 ContextBufferOffset;
87 UINT32 ContextBufferSize;
94 UINT32 HandlerCategory;
111#define SMI_HANDLER_PROFILE_COMMAND_GET_INFO 0x1
112#define SMI_HANDLER_PROFILE_COMMAND_GET_DATA_BY_OFFSET 0x2
132 PHYSICAL_ADDRESS DataBuffer;
140#define SMI_HANDLER_PROFILE_GUID {0x49174342, 0x7108, 0x409b, {0x8b, 0xbe, 0x65, 0xfd, 0xa8, 0x53, 0x89, 0xf5}}
142extern EFI_GUID gSmiHandlerProfileGuid;
171 IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
172 IN PHYSICAL_ADDRESS CallerAddress,
199 IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
EFI_STATUS(EFIAPI * SMI_HANDLER_PROFILE_REGISTER_HANDLER)(IN SMI_HANDLER_PROFILE_PROTOCOL *This, 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(EFIAPI * SMI_HANDLER_PROFILE_UNREGISTER_HANDLER)(IN SMI_HANDLER_PROFILE_PROTOCOL *This, IN EFI_GUID *HandlerGuid, IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler, IN VOID *Context OPTIONAL, IN UINTN ContextSize OPTIONAL)