mirror of
https://github.com/cowmonk/cowos.git
synced 2025-12-26 11:16:50 +00:00
Added Memory Paging + Formating Fixes
Memory paging was "fixed", there was previously a stub because I was working out some compilation issue. Turns out, I had extern keyword called to the structs. Stupidly, I forgot to declare the struct in the header the whole time. Luckily that worked itself out, and now vga memory is mapped.
This commit is contained in:
parent
0d3653c970
commit
6d2e453d27
8 changed files with 477 additions and 446 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <stddef.h>
|
||||
#include <bootloader.h>
|
||||
#include <drivers/video/framebuffer.h>
|
||||
#include <mm/paging.h>
|
||||
|
||||
static void
|
||||
hcf(void)
|
||||
|
|
@ -20,6 +21,7 @@ kernel_main(void)
|
|||
|
||||
/* Initialize framebuffer console */
|
||||
fb_init();
|
||||
map_vga_memory();
|
||||
|
||||
/* Test print */
|
||||
fb_puts("Hello World\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue