summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
authordzwdz2022-07-17 14:39:45 +0200
committerdzwdz2022-07-17 14:39:45 +0200
commit51cbabd0f40b041fa00203266afa046d14e88b22 (patch)
tree75022bc959b32e72876dfe3449faecac6feb5caa /src/kernel/proc.c
parent4c10db944ca18c8001848c7e4e8ef51876bbe094 (diff)
amd64: remove dead code, combine shared code
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 cfc4b5e..324f0b4 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -38,8 +38,6 @@ struct process *process_seed(struct kmain_info *info) {
true, true);
process_first->regs.rcx = (uintptr_t)init_base; // SYSRET jumps to %rcx
- process_first->pages = pagedir_copy(process_first->pages); // TODO remove this
-
return process_first;
}