Changeset 99404 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/ResetSystemPei/ResetSystem.h
- Timestamp:
- Apr 14, 2023 3:17:44 PM (22 months ago)
- 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,129194-145445 /vendor/edk2/current 103735-103757,103769-103776,129194-156846
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/ResetSystemPei/ResetSystem.h
r80721 r99404 9 9 #ifndef _RESET_SYSTEM2_H_ 10 10 #define _RESET_SYSTEM2_H_ 11 12 11 13 12 #include <Uefi.h> … … 27 26 #include <Library/ReportStatusCodeLib.h> 28 27 29 30 28 // 31 29 // The maximum recursion depth to ResetSystem() by reset notification handlers 32 30 // 33 #define MAX_RESET_NOTIFY_DEPTH 1031 #define MAX_RESET_NOTIFY_DEPTH 10 34 32 35 33 // … … 37 35 // 38 36 typedef struct { 39 UINT32 40 UINT32 41 EFI_RESET_SYSTEM ResetFilters[0];// ResetFilters[PcdGet32 (PcdMaximumResetNotifies)]37 UINT32 Signature; 38 UINT32 Count; 39 EFI_RESET_SYSTEM ResetFilters[0]; // ResetFilters[PcdGet32 (PcdMaximumResetNotifies)] 42 40 } RESET_FILTER_LIST; 43 #define RESET_FILTER_LIST_SIGNATURE SIGNATURE_32('r', 's', 't', 'l') 44 41 #define RESET_FILTER_LIST_SIGNATURE SIGNATURE_32('r', 's', 't', 'l') 45 42 46 43 typedef struct { 47 EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI ResetFilter;48 EFI_GUID *Guid;44 EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI ResetFilter; 45 EFI_GUID *Guid; 49 46 } RESET_FILTER_INSTANCE; 50 47 … … 68 65 EFIAPI 69 66 ResetSystem2 ( 70 IN EFI_RESET_TYPE 71 IN EFI_STATUS 72 IN UINTN 73 IN VOID 67 IN EFI_RESET_TYPE ResetType, 68 IN EFI_STATUS ResetStatus, 69 IN UINTN DataSize, 70 IN VOID *ResetData OPTIONAL 74 71 ); 72 75 73 /** 76 74 Register a notification function to be called when ResetSystem() is called. … … 94 92 EFIAPI 95 93 RegisterResetNotify ( 96 IN EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI *This,97 IN EFI_RESET_SYSTEM ResetFunction94 IN EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI *This, 95 IN EFI_RESET_SYSTEM ResetFunction 98 96 ); 99 97 … … 116 114 EFIAPI 117 115 UnregisterResetNotify ( 118 IN EFI_RESET_NOTIFICATION_PROTOCOL *This,119 IN EFI_RESET_SYSTEM ResetFunction116 IN EFI_RESET_NOTIFICATION_PROTOCOL *This, 117 IN EFI_RESET_SYSTEM ResetFunction 120 118 ); 119 121 120 #endif
Note:
See TracChangeset
for help on using the changeset viewer.