diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-27 00:34:36 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-27 00:40:42 +0200 |
commit | 42c88b5f2d0f3bd2b63addfc98d8f135e7b9d562 (patch) | |
tree | b15cde7cbd80826b295920290112d58069055c8a /Kernel/Boot/boot.asm | |
parent | 3db8d7ae1a4e294427d06c0532d9bd3b3c19ad13 (diff) | |
download | serenity-42c88b5f2d0f3bd2b63addfc98d8f135e7b9d562.zip |
Turn off the floppy drive after the boot loader is finished.
Diffstat (limited to 'Kernel/Boot/boot.asm')
-rwxr-xr-x | Kernel/Boot/boot.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/Boot/boot.asm b/Kernel/Boot/boot.asm index 261ae26c09..d759757b28 100755 --- a/Kernel/Boot/boot.asm +++ b/Kernel/Boot/boot.asm @@ -56,6 +56,11 @@ boot: call durk + ; Turn off the floppy motor. + mov dx, 0x3f2 + xor al, al + out dx, al + lgdt [cs:test_gdt_ptr] mov eax, cr0 |