summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
authordzwdz2022-07-16 21:03:40 +0200
committerdzwdz2022-07-16 21:03:40 +0200
commitc8ed6aa7476b7f506366d9fe56ed6f2e7a12b40d (patch)
treeeac26e380be691734d767bb1238e30751e0351e2 /src/kernel/proc.c
parentb26098268eb443f1ed3dc50d902b2beee40c8342 (diff)
amd64: init can print to the terminal now
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index a202549..4719a93 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -23,10 +23,8 @@ struct process *process_seed(struct kmain_info *info) {
process_first->id = next_pid++;
// map the stack to the last page in memory
- kprintf("0x%x\n", (userptr_t)~PAGE_MASK);
pagedir_map(process_first->pages, (userptr_t)~PAGE_MASK, page_zalloc(1), true, true);
process_first->regs.rsp = (userptr_t) ~0xF;
- kprintf("post stack\n");
// map .shared
extern char _shared_len;