diff options
author | Frans Kaashoek <[email protected]> | 2022-08-12 10:57:16 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2022-08-12 10:57:16 -0400 |
commit | dd5a720044c41a88e0a09f174fb602289b93fe28 (patch) | |
tree | 0e3dc10c480c1d61246ea8afda507badbcd7e299 /kernel/plic.c | |
parent | 8bd04852c911fcb7c74f2c61350c306f18ae58b0 (diff) | |
download | xv6-labs-dd5a720044c41a88e0a09f174fb602289b93fe28.tar.gz xv6-labs-dd5a720044c41a88e0a09f174fb602289b93fe28.tar.bz2 xv6-labs-dd5a720044c41a88e0a09f174fb602289b93fe28.zip |
cosmetic changes (thanks Harry Porter)
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; |