Changeset 77662 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/SmmStatusCode.h
- Timestamp:
- Mar 12, 2019 12:40:12 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129295
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776 /vendor/edk2/current 103735-103757,103769-103776,129194-129237
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/SmmStatusCode.h
r58466 r77662 18 18 #define _SMM_STATUS_CODE_H__ 19 19 20 #include <Protocol/MmStatusCode.h> 20 21 21 #define EFI_SMM_STATUS_CODE_PROTOCOL_GUID \ 22 { \ 23 0x6afd2b77, 0x98c1, 0x4acd, {0xa6, 0xf9, 0x8a, 0x94, 0x39, 0xde, 0xf, 0xb1} \ 24 } 22 #define EFI_SMM_STATUS_CODE_PROTOCOL_GUID EFI_MM_STATUS_CODE_PROTOCOL_GUID 25 23 26 typedef struct _EFI_SMM_STATUS_CODE_PROTOCOL EFI_SMM_STATUS_CODE_PROTOCOL;24 typedef EFI_MM_STATUS_CODE_PROTOCOL EFI_SMM_STATUS_CODE_PROTOCOL; 27 25 28 /** 29 Service to emit the status code in SMM. 30 31 The EFI_SMM_STATUS_CODE_PROTOCOL.ReportStatusCode() function enables a driver 32 to emit a status code while in SMM. The reason that there is a separate protocol definition from the 33 DXE variant of this service is that the publisher of this protocol will provide a service that is 34 capability of coexisting with a foreground operational environment, such as an operating system 35 after the termination of boot services. 36 37 @param[in] This Points to this instance of the EFI_SMM_STATUS_CODE_PROTOCOL. 38 @param[in] CodeType DIndicates the type of status code being reported. 39 @param[in] Value Describes the current status of a hardware or software entity. 40 @param[in] Instance The enumeration of a hardware or software entity within the system. 41 @param[in] CallerId This optional parameter may be used to identify the caller. 42 @param[in] Data This optional parameter may be used to pass additional data. 43 44 @retval EFI_SUCCESS The function completed successfully. 45 @retval EFI_INVALID_PARAMETER The function should not be completed due to a device error. 46 **/ 47 typedef 48 EFI_STATUS 49 (EFIAPI *EFI_SMM_REPORT_STATUS_CODE)( 50 IN CONST EFI_SMM_STATUS_CODE_PROTOCOL *This, 51 IN EFI_STATUS_CODE_TYPE CodeType, 52 IN EFI_STATUS_CODE_VALUE Value, 53 IN UINT32 Instance, 54 IN CONST EFI_GUID *CallerId, 55 IN EFI_STATUS_CODE_DATA *Data OPTIONAL 56 ); 57 58 struct _EFI_SMM_STATUS_CODE_PROTOCOL { 59 EFI_SMM_REPORT_STATUS_CODE ReportStatusCode; 60 }; 26 typedef EFI_MM_REPORT_STATUS_CODE EFI_SMM_REPORT_STATUS_CODE; 61 27 62 28 extern EFI_GUID gEfiSmmStatusCodeProtocolGuid;
Note:
See TracChangeset
for help on using the changeset viewer.