Don't map the CLINT, since it never used in the kernel in supervisor mode
This commit is contained in:
parent
a9b3dd457c
commit
0c55849d28
|
@ -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