Skip to content

Commit 0ce7a50

Browse files
committed
efi: Don't i8042 reset on calls to ResetSystem()
Do nothing so that the kernel will use fall-back paths which will be ACPI if that is available for shutdown or triple-fault for reboot. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
1 parent e90ff42 commit 0ce7a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/efi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ pub extern "win64" fn get_next_high_mono_count(_: *mut u32) -> Status {
143143

144144
#[cfg(not(test))]
145145
pub extern "win64" fn reset_system(_: ResetType, _: Status, _: usize, _: *mut c_void) {
146-
crate::i8042_reset();
146+
// Don't do anything to force the kernel to use ACPI for shutdown and triple-fault for reset
147147
}
148148

149149
#[cfg(not(test))]

0 commit comments

Comments
 (0)