summaryrefslogtreecommitdiffstats
path: root/hw/intc
diff options
context:
space:
mode:
authorAlistair Francis2020-11-12 00:13:21 +0100
committerAlistair Francis2020-11-14 06:43:48 +0100
commit3a129aea81f8875d510283ddef35bc614c524892 (patch)
treef9ed06b45f4949284fb0ce45a9c346ec04892bfa /hw/intc
parentMerge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20201113' into s... (diff)
downloadqemu-3a129aea81f8875d510283ddef35bc614c524892.tar.gz
qemu-3a129aea81f8875d510283ddef35bc614c524892.tar.xz
qemu-3a129aea81f8875d510283ddef35bc614c524892.zip
intc/ibex_plic: Fix some typos in the comments
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 22d2fb0d7af5ca316c67ac909926368d1bcb7cf5.1605136387.git.alistair.francis@wdc.com
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/ibex_plic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/ibex_plic.c b/hw/intc/ibex_plic.c
index 235e6b88ff..db9e0aa25f 100644
--- a/hw/intc/ibex_plic.c
+++ b/hw/intc/ibex_plic.c
@@ -45,7 +45,7 @@ static void ibex_plic_irqs_set_pending(IbexPlicState *s, int irq, bool level)
if (s->claimed[pending_num] & 1 << (irq % 32)) {
/*
- * The interrupt has been claimed, but not compelted.
+ * The interrupt has been claimed, but not completed.
* The pending bit can't be set.
*/
return;
@@ -133,7 +133,7 @@ static uint64_t ibex_plic_read(void *opaque, hwaddr addr,
int pending_num = s->claim / 32;
s->pending[pending_num] &= ~(1 << (s->claim % 32));
- /* Set the interrupt as claimed, but not compelted */
+ /* Set the interrupt as claimed, but not completed */
s->claimed[pending_num] |= 1 << (s->claim % 32);
/* Return the current claimed interrupt */