aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--fesvr/htif_pthread.h2
-rw-r--r--riscv/debug_module.cc4
-rw-r--r--riscv/plic.cc2
-rw-r--r--riscv/v_ext_macros.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 701bd99..b46dc15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
#=========================================================================
# Toplevel configure.ac for the Modular C++ Build System
#=========================================================================
-# Please read the documenation in 'mcppbs-doc.txt' for more details on
+# Please read the documentation in 'mcppbs-doc.txt' for more details on
# how the Modular C++ Build System works. For most new projects, a
# developer will only need to make the following changes:
#
diff --git a/fesvr/htif_pthread.h b/fesvr/htif_pthread.h
index c00c382..ab56007 100644
--- a/fesvr/htif_pthread.h
+++ b/fesvr/htif_pthread.h
@@ -13,7 +13,7 @@ class htif_pthread_t : public htif_t
htif_pthread_t(int argc, char** argv);
virtual ~htif_pthread_t();
- // target inteface
+ // target interface
void send(const void* buf, size_t size);
void recv(void* buf, size_t size);
bool recv_nonblocking(void* buf, size_t size);
diff --git a/riscv/debug_module.cc b/riscv/debug_module.cc
index 5d49605..7c59744 100644
--- a/riscv/debug_module.cc
+++ b/riscv/debug_module.cc
@@ -462,9 +462,9 @@ bool debug_module_t::dmi_read(unsigned address, uint32_t *value)
}
}
- // We don't allow selecting non-existant harts through
+ // We don't allow selecting non-existent harts through
// hart_array_mask, so the only way it's possible is by writing a
- // non-existant hartsel.
+ // non-existent hartsel.
dmstatus.anynonexistant = dmcontrol.hartsel >= sim->get_cfg().nprocs();
result = set_field(result, DM_DMSTATUS_IMPEBREAK,
diff --git a/riscv/plic.cc b/riscv/plic.cc
index 78eb1d2..14de6df 100644
--- a/riscv/plic.cc
+++ b/riscv/plic.cc
@@ -55,7 +55,7 @@
#define PENDING_BASE 0x1000
/*
- * Each hart context has a vector of interupt enable bits associated with it.
+ * Each hart context has a vector of interrupt enable bits associated with it.
* There's one bit for each interrupt source.
*/
#define ENABLE_BASE 0x2000
diff --git a/riscv/v_ext_macros.h b/riscv/v_ext_macros.h
index b6365aa..3e7dc45 100644
--- a/riscv/v_ext_macros.h
+++ b/riscv/v_ext_macros.h
@@ -491,7 +491,7 @@ static inline bool is_overlapped_widen(const int astart, int asize,
BODY; \
}
-// comparision result to masking register
+// comparison result to masking register
#define VI_LOOP_CMP_BODY(PARAMS, BODY) \
VI_LOOP_CMP_BASE \
INSNS_BASE(PARAMS, BODY) \