diff options
author | dzwdz | 2021-07-22 19:53:52 +0200 |
---|---|---|
committer | dzwdz | 2021-07-22 19:53:52 +0200 |
commit | 91c637d847744ba410cbf0e20c62c485e1f6153d (patch) | |
tree | ecbdc3b219442b728037b5fb6131234c41671462 /src/kernel | |
parent | 32baea7d692191d7b6fdac5a93e95ca5e6e1f59a (diff) |
don't map the VGA console buffer in user processes
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index 729e39d..004be15 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -10,9 +10,6 @@ static void run_init(struct kmain_info *info) { struct process *proc = process_new(); void *init_base = (void*) 0x200000; - // map VGA for testing - pagedir_map(proc->pages, 0xB8000, 0xB8000, true, true); - // map the module as rw for (uintptr_t off = 0; off < info->init.size; off += PAGE_SIZE) pagedir_map(proc->pages, init_base + off, info->init.at + off, |