summaryrefslogtreecommitdiff
path: root/kernel/plic.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2022-08-12 10:57:16 -0400
committerFrans Kaashoek <[email protected]>2022-08-12 10:57:16 -0400
commitdd5a720044c41a88e0a09f174fb602289b93fe28 (patch)
tree0e3dc10c480c1d61246ea8afda507badbcd7e299 /kernel/plic.c
parent8bd04852c911fcb7c74f2c61350c306f18ae58b0 (diff)
downloadxv6-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.c2
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;