diff options
Diffstat (limited to 'kernel/plic.c')
-rw-r--r-- | kernel/plic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/plic.c b/kernel/plic.c index d4fd122..4175db9 100644 --- a/kernel/plic.c +++ b/kernel/plic.c @@ -23,7 +23,7 @@ plicinithart(void) // set enable bits for this hart's S-mode // for the uart and virtio disk. - *(uint32*)PLIC_SENABLE(hart)= (1 << UART0_IRQ) | (1 << VIRTIO0_IRQ); + *(uint32*)PLIC_SENABLE(hart) = (1 << UART0_IRQ) | (1 << VIRTIO0_IRQ); // set this hart's S-mode priority threshold to 0. *(uint32*)PLIC_SPRIORITY(hart) = 0; |