Don't map the CLINT, since it never used in the kernel in supervisor mode
This commit is contained in:
parent
c61cc69413
commit
c199afe4c8
|
@ -30,9 +30,6 @@ kvminit()
|
||||||
// virtio mmio disk interface
|
// virtio mmio disk interface
|
||||||
kvmmap(VIRTIO0, VIRTIO0, PGSIZE, PTE_R | PTE_W);
|
kvmmap(VIRTIO0, VIRTIO0, PGSIZE, PTE_R | PTE_W);
|
||||||
|
|
||||||
// CLINT
|
|
||||||
kvmmap(CLINT, CLINT, 0x10000, PTE_R | PTE_W);
|
|
||||||
|
|
||||||
// PLIC
|
// PLIC
|
||||||
kvmmap(PLIC, PLIC, 0x400000, PTE_R | PTE_W);
|
kvmmap(PLIC, PLIC, 0x400000, PTE_R | PTE_W);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue