feat: made more definitions constant and did some more minor

improvements
This commit is contained in:
2021-01-29 20:25:37 +01:00
parent d7f0e8dd36
commit 5a1caef5b1
13 changed files with 114 additions and 30 deletions

View File

@@ -7,7 +7,7 @@
#include <mem/mem.h>
#include <multiboot.h>
#include <drivers/serial.h>
#include "kprint.h"
#include <kprint.h>
char *msg_booted = "Booted Successfully!\n";
@@ -25,8 +25,7 @@ void kmain(multiboot_info_t *multiboot_info) {
// vga_print_string(msg_booted, VGA_WHITE | (VGA_DARK_GRAY << VGA_SHIFT_BG));
kprint(msg_booted);
kprint((char *) multiboot_info->boot_loader_name);
multiboot_memory_map_t *fe = multiboot_info->mmap_addr;
// multiboot_memory_map_t *fe = multiboot_info->mmap_addr;
// port_byte_out(0x3d4, 14);
// int pos = port_byte_in(0x3d5);
// pos <<= 8;