aboutsummaryrefslogtreecommitdiffstats
path: root/core/runkernel.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/runkernel.inc')
-rw-r--r--core/runkernel.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/runkernel.inc b/core/runkernel.inc
index 8bfc8b8d..ac00342c 100644
--- a/core/runkernel.inc
+++ b/core/runkernel.inc
@@ -461,6 +461,8 @@ run_linux_kernel:
; Set up segment registers and the Linux real-mode stack
; Note: ds == the real mode segment
;
+ call cleanup_hardware
+
cli
mov ax,ds
mov ss,ax