File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,15 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
98
98
gBS = SystemTable -> BootServices ;
99
99
gRT = SystemTable -> RuntimeServices ;
100
100
101
+ gBS -> SetWatchdogTimer (0 , 0 , 0 , NULL );
102
+
103
+ printf ("%s" , banner );
104
+
101
105
if (gRT -> GetTime (& gTimeAtBoot , NULL ) != EFI_SUCCESS ) {
102
106
printf ("Failed to query current time\n" );
103
107
return -1 ;
104
108
}
105
109
106
- printf ("%s" , banner );
107
-
108
110
EFI_GUID loaded_image_guid = EFI_LOADED_IMAGE_PROTOCOL_GUID ;
109
111
EFI_LOADED_IMAGE_PROTOCOL * loaded_image = NULL ;
110
112
if (gBS -> HandleProtocol (ImageHandle , & loaded_image_guid , (void * * )& loaded_image ) != EFI_SUCCESS ) {
@@ -139,7 +141,6 @@ EFI_STATUS efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
139
141
}
140
142
141
143
gBS -> RaiseTPL (TPL_NOTIFY );
142
- gBS -> SetWatchdogTimer (0 , 0 , 0 , NULL );
143
144
144
145
if (unlock_bios_region ()) {
145
146
printf ("Unable to unlock BIOS region\n" );
You can’t perform that action at this time.
0 commit comments