summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2017-02-14 15:09:18 -0600
committerCurtis Dunham <Curtis.Dunham@arm.com>2017-02-14 15:09:18 -0600
commitd3bfc03688e164c02e9c25730ada11b669c01eda (patch)
tree06fb4a1e878fbf5653fa6220531127e043626dac /src/sim
parentca0fd665dcf6a4aeda07955d3898b03204c88fd8 (diff)
downloadgem5-d3bfc03688e164c02e9c25730ada11b669c01eda.tar.xz
sim,kvm,arm: fix typos
Change-Id: Ifc65d42eebfd109c1c622c82c3c3b3e523819e85 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/System.py2
-rw-r--r--src/sim/system.cc2
-rw-r--r--src/sim/system.hh22
3 files changed, 13 insertions, 13 deletions
diff --git a/src/sim/System.py b/src/sim/System.py
index f97096fcc..34b1fd127 100644
--- a/src/sim/System.py
+++ b/src/sim/System.py
@@ -60,7 +60,7 @@ class System(MemObject):
# When reserving memory on the host, we have the option of
# reserving swap space or not (by passing MAP_NORESERVE to
- # mmap). By enabling this flag, we accomodate cases where a large
+ # mmap). By enabling this flag, we accommodate cases where a large
# (but sparse) memory is simulated.
mmap_using_noreserve = Param.Bool(False, "mmap the backing store " \
"without reserving swap")
diff --git a/src/sim/system.cc b/src/sim/system.cc
index 3aba5afcb..09be232a7 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -159,7 +159,7 @@ System::System(Params *p)
}
}
- // increment the number of running systms
+ // increment the number of running systems
numSystemsRunning++;
// Set back pointers to the system in all memories
diff --git a/src/sim/system.hh b/src/sim/system.hh
index 9010723c0..1bbd37d9d 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -224,7 +224,7 @@ class System : public MemObject
/** Object pointer for the kernel code */
ObjectFile *kernel;
- /** Begining of kernel code */
+ /** Beginning of kernel code */
Addr kernelStart;
/** End of kernel code */
@@ -242,8 +242,8 @@ class System : public MemObject
Addr loadAddrMask;
/** Offset that should be used for binary/symbol loading.
- * This further allows more flexibily than the loadAddrMask allows alone in
- * loading kernels and similar. The loadAddrOffset is applied after the
+ * This further allows more flexibility than the loadAddrMask allows alone
+ * in loading kernels and similar. The loadAddrOffset is applied after the
* loadAddrMask.
*/
Addr loadAddrOffset;
@@ -278,7 +278,7 @@ class System : public MemObject
Addr getPageBytes() const { return TheISA::PageBytes; }
/**
- * Get the number of bits worth of in-page adress for the ISA.
+ * Get the number of bits worth of in-page address for the ISA.
*/
Addr getPageShift() const { return TheISA::PageShift; }
@@ -300,7 +300,7 @@ class System : public MemObject
uint32_t numWorkIds;
std::vector<bool> activeCpus;
- /** This array is a per-sytem list of all devices capable of issuing a
+ /** This array is a per-system list of all devices capable of issuing a
* memory system request and an associated string for each master id.
* It's used to uniquely id any master in the system by name for things
* like cache statistics.
@@ -314,8 +314,8 @@ class System : public MemObject
/** Request an id used to create a request object in the system. All objects
* that intend to issues requests into the memory system must request an id
* in the init() phase of startup. All master ids must be fixed by the
- * regStats() phase that immediately preceeds it. This allows objects in the
- * memory system to understand how many masters may exist and
+ * regStats() phase that immediately precedes it. This allows objects in
+ * the memory system to understand how many masters may exist and
* appropriately name the bins of their per-master stats before the stats
* are finalized
*/
@@ -490,19 +490,19 @@ class System : public MemObject
public:
/**
- * Returns the addess the kernel starts at.
+ * Returns the address the kernel starts at.
* @return address the kernel starts at
*/
Addr getKernelStart() const { return kernelStart; }
/**
- * Returns the addess the kernel ends at.
+ * Returns the address the kernel ends at.
* @return address the kernel ends at
*/
Addr getKernelEnd() const { return kernelEnd; }
/**
- * Returns the addess the entry point to the kernel code.
+ * Returns the address the entry point to the kernel code.
* @return entry point of the kernel code
*/
Addr getKernelEntry() const { return kernelEntry; }
@@ -544,7 +544,7 @@ class System : public MemObject
/**
* If needed, serialize additional symbol table entries for a
- * specific subclass of this sytem. Currently this is used by
+ * specific subclass of this system. Currently this is used by
* Alpha and MIPS.
*
* @param os stream to serialize to