summaryrefslogtreecommitdiffhomepage
path: root/src/loader/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/main.c')
-rw-r--r--src/loader/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/loader/main.c b/src/loader/main.c
index aa8e62d..ed3014b 100644
--- a/src/loader/main.c
+++ b/src/loader/main.c
@@ -15,9 +15,13 @@
* Entry
*/
-int start(void);
-int start(void)
+u8 boot_disk = 0;
+
+int start(u8 disk);
+int start(u8 disk)
{
+ boot_disk = disk;
+
vga_clear();
serial_install();