Skip to content

Commit 90b672b

Browse files
committed
efi: Fix reset_system_boot formatting
Signed-off-by: CMGS <ilskdw@gmail.com>
1 parent b272b7e commit 90b672b

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/efi/runtime_services.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,7 @@ pub extern "efiapi" fn get_next_high_mono_count(_: *mut u32) -> Status {
203203
// No-op used during boot services phase. EFI applications like shim may call
204204
// ResetSystem during early boot (e.g. on MOK import failure). Returning here
205205
// lets them continue, matching the original firmware behavior.
206-
pub extern "efiapi" fn reset_system_boot(
207-
_: ResetType,
208-
_: Status,
209-
_: usize,
210-
_: *mut c_void,
211-
) {
212-
}
206+
pub extern "efiapi" fn reset_system_boot(_: ResetType, _: Status, _: usize, _: *mut c_void) {}
213207

214208
// Activated after ExitBootServices via swap_reset_system(). Writes to Cloud
215209
// Hypervisor's AcpiShutdownDevice at IO port 0x600 to perform the actual

0 commit comments

Comments
 (0)