diff options
author | Marvin Borner | 2020-07-22 18:26:56 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-22 18:26:56 +0200 |
commit | 40cc5e32663cd0350b791b8e54825f564489343f (patch) | |
tree | 3561c2f379b98ac3c3005f9048bb5535a0d3952d /src/main.c | |
parent | c0a2074864e668b005eea8f50c6719bceb66bf20 (diff) |
Imported some things from master
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,14 +1,21 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#include <boot.h> #include <def.h> +#include <serial.h> #include <vesa.h> -void main(u32 *mem_info, struct vid_info *vid_info) +void main(struct mem_info *mem_info, struct vid_info *vid_info) { - mem_info++; // TODO: Use the mmap! + mem_info++; // TODO: Use the mmap (or remove)! vbe = vid_info->info; u32 terminal_background[3] = { 0x1d, 0x1f, 0x24 }; vesa_clear(terminal_background); + serial_install(); + serial_print("hello\n"); + while (1) { }; } |