diff options
author | Marvin Borner | 2021-07-09 14:43:12 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-09 14:43:12 +0200 |
commit | 176b6eb808f4d02d871c30f6ec19daa179f374d1 (patch) | |
tree | b465898e33812b93d424a22071e08805f12555b4 /src/loader/main.c | |
parent | 9a2d5cbdc7972d1d5bfb1ea93f82f66d113faa17 (diff) |
Multiboot structs
Diffstat (limited to 'src/loader/main.c')
-rw-r--r-- | src/loader/main.c | 8 |
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(); |