mirror of
https://github.com/cowmonk/cowos.git
synced 2025-12-26 11:16:50 +00:00
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.
11 lines
234 B
C
11 lines
234 B
C
#ifndef PAGING_H
|
|
#define PAGING_H
|
|
|
|
#include <limine.h>
|
|
|
|
volatile struct limine_hhdm_request hhdm_request;
|
|
volatile struct limine_kernel_address_request kernel_address_request;
|
|
|
|
void map_vga_memory(void);
|
|
|
|
#endif /* ifndef PAGING_H */
|