diff --git a/kernel/console.c b/kernel/console.c index ba75355..730b868 100644 --- a/kernel/console.c +++ b/kernel/console.c @@ -12,15 +12,9 @@ #include #include "types.h" -#include "param.h" #include "spinlock.h" -#include "sleeplock.h" -#include "fs.h" #include "file.h" -#include "memlayout.h" -#include "riscv.h" #include "defs.h" -#include "proc.h" #define BACKSPACE 0x100 #define C(x) ((x) - '@') // Control-x diff --git a/kernel/vm.c b/kernel/vm.c index e68db67..c4541bd 100644 --- a/kernel/vm.c +++ b/kernel/vm.c @@ -1,10 +1,7 @@ -#include "param.h" #include "types.h" #include "memlayout.h" -#include "elf.h" #include "riscv.h" #include "defs.h" -#include "fs.h" /* * the kernel's page table.