mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Created physical memory manager. moved printMemoryMap to kernel
This commit is contained in:
+2
-2
@@ -14,11 +14,11 @@ struct cursor_s {
|
||||
uint32_t y;
|
||||
};
|
||||
|
||||
char* font;
|
||||
static char* font;
|
||||
uint32_t* vidmem;
|
||||
uint16_t bytesPerScanline;
|
||||
|
||||
struct cursor_s cursor = { 0, 0 };
|
||||
static struct cursor_s cursor = { 0, 0 };
|
||||
|
||||
void setupScreen() {
|
||||
vidmem = *(uint32_t**)(MODE_INFO_BLOCK + 40); // Vidmem pointer location
|
||||
|
||||
Reference in New Issue
Block a user