diff options
Diffstat (limited to 'src/kernel/fs/install.c')
-rw-r--r-- | src/kernel/fs/install.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/fs/install.c b/src/kernel/fs/install.c index 84d74fd..0c3d824 100644 --- a/src/kernel/fs/install.c +++ b/src/kernel/fs/install.c @@ -1,5 +1,6 @@ #include <kernel/graphics/vesa.h> #include <kernel/fs/ata_pio.h> +#include <kernel/io/io.h> #include <kernel/fs/marfs/marfs.h> #include <kernel/fs/iso9660/iso9660.h> #include <kernel/fs/atapi_pio.h> @@ -12,7 +13,7 @@ void install_melvix() { info("You're booting from a CD, Melvix will only run after an installation"); - asm ("cli"); + cli(); struct ata_interface *primary_master = new_ata(1, 0x1F0); if (marfs_init(primary_master) != 0) { panic("No HDD found!"); @@ -90,4 +91,4 @@ void install_melvix() // timer_wait(200); acpi_poweroff(); halt_loop(); -}
\ No newline at end of file +} |