Don't map the CLINT, since it never used in the kernel in supervisor mode

This commit is contained in:
Frans Kaashoek 2020-10-05 09:17:47 -04:00
parent c61cc69413
commit c199afe4c8

View file

@ -30,9 +30,6 @@ kvminit()
// virtio mmio disk interface
kvmmap(VIRTIO0, VIRTIO0, PGSIZE, PTE_R | PTE_W);
// CLINT
kvmmap(CLINT, CLINT, 0x10000, PTE_R | PTE_W);
// PLIC
kvmmap(PLIC, PLIC, 0x400000, PTE_R | PTE_W);