TianoCore EDK2 master
Loading...
Searching...
No Matches
DxeResetSystemLib.c
Go to the documentation of this file.
1
9#include <PiDxe.h>
12
21VOID
22EFIAPI
24 VOID
25 )
26{
27 gRT->ResetSystem (EfiResetCold, EFI_SUCCESS, 0, NULL);
28}
29
36VOID
37EFIAPI
39 VOID
40 )
41{
42 gRT->ResetSystem (EfiResetWarm, EFI_SUCCESS, 0, NULL);
43}
44
51VOID
52EFIAPI
54 VOID
55 )
56{
57 gRT->ResetSystem (EfiResetShutdown, EFI_SUCCESS, 0, NULL);
58}
59
71VOID
72EFIAPI
74 IN UINTN DataSize,
75 IN VOID *ResetData
76 )
77{
78 gRT->ResetSystem (EfiResetPlatformSpecific, EFI_SUCCESS, DataSize, ResetData);
79}
80
93VOID
94EFIAPI
96 IN EFI_RESET_TYPE ResetType,
97 IN EFI_STATUS ResetStatus,
98 IN UINTN DataSize,
99 IN VOID *ResetData OPTIONAL
100 )
101{
102 gRT->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);
103}
UINT64 UINTN
VOID EFIAPI ResetWarm(VOID)
VOID EFIAPI ResetShutdown(VOID)
VOID EFIAPI ResetSystem(IN EFI_RESET_TYPE ResetType, IN EFI_STATUS ResetStatus, IN UINTN DataSize, IN VOID *ResetData OPTIONAL)
VOID EFIAPI ResetPlatformSpecific(IN UINTN DataSize, IN VOID *ResetData)
VOID EFIAPI ResetCold(VOID)
EFI_RUNTIME_SERVICES * gRT
#define NULL
Definition: Base.h:319
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
#define EFI_SUCCESS
Definition: UefiBaseType.h:112
EFI_RESET_TYPE
@ EfiResetCold
@ EfiResetShutdown
@ EfiResetWarm
@ EfiResetPlatformSpecific