]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[sim] Run spellcheck.sh in sim (part 1)
authorTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 12:07:38 +0000 (13:07 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 23 Nov 2024 12:07:38 +0000 (13:07 +0100)
Run gdb/contrib/spellcheck.sh on directory sim.

Fix auto-corrected typos:
...
accessable -> accessible
accidently -> accidentally
accomodate -> accommodate
adress -> address
afair -> affair
agains -> against
agressively -> aggressively
annuled -> annulled
arbitary -> arbitrary
arround -> around
auxillary -> auxiliary
availablity -> availability
clasic -> classic
comming -> coming
controled -> controlled
controling -> controlling
destory -> destroy
existance -> existence
explictly -> explicitly
faciliate -> facilitate
fouth -> fourth
fullfilled -> fulfilled
guarentee -> guarantee
hinderance -> hindrance
independant -> independent
inital -> initial
loosing -> losing
occurance -> occurrence
occured -> occurred
occuring -> occurring
omited -> omitted
oportunity -> opportunity
parallely -> parallelly
permissable -> permissible
postive -> positive
powerfull -> powerful
preceed -> precede
preceeding -> preceding
preceeds -> precedes
primative -> primitive
probaly -> probably
programable -> programmable
propogate -> propagate
propper -> proper
recieve -> receive
reconized -> recognized
refered -> referred
refering -> referring
relevent -> relevant
responisble -> responsible
retreive -> retrieve
safty -> safety
specifiying -> specifying
spontanous -> spontaneous
sqaure -> square
successfull -> successful
supress -> suppress
sytem -> system
thru -> through
transfered -> transferred
trigered -> triggered
unfortunatly -> unfortunately
upto -> up to
usefull -> useful
wierd -> weird
writen -> written
doesnt -> doesn't
isnt -> isn't
...

Manually undid the "andd -> and" transformation in sim/testsuite/cr16/andd.cgs
and sim/cr16/simops.c.

Tested by rebuilding on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
89 files changed:
sim/aarch64/memory.c
sim/arm/armcopro.c
sim/arm/armemu.c
sim/bfin/devices.h
sim/bfin/dv-bfin_cec.c
sim/common/dv-pal.c
sim/common/hw-base.h
sim/common/hw-device.h
sim/common/hw-instances.h
sim/common/hw-tree.c
sim/common/sim-arange.c
sim/common/sim-bits.h
sim/common/sim-config.h
sim/common/sim-core.h
sim/common/sim-engine.h
sim/common/sim-inline.h
sim/common/sim-io.c
sim/common/sim-resume.c
sim/erc32/exec.c
sim/erc32/float.c
sim/erc32/sis.h
sim/frv/frv-sim.h
sim/frv/profile.c
sim/frv/traps.c
sim/h8300/compile.c
sim/igen/gen-engine.c
sim/igen/gen-icache.c
sim/igen/gen-semantics.c
sim/igen/gen-semantics.h
sim/igen/gen.c
sim/igen/igen.c
sim/igen/igen.h
sim/igen/ld-decode.c
sim/igen/ld-decode.h
sim/igen/ld-insn.c
sim/igen/lf.h
sim/lm32/dv-lm32uart.c
sim/m32r/mloop2.in
sim/m32r/mloopx.in
sim/m32r/traps.c
sim/m68hc11/dv-m68hc11tim.c
sim/mips/acinclude.m4
sim/mips/interp.c
sim/mips/m16.igen
sim/mips/mips.igen
sim/mips/sim-main.h
sim/mn10300/interp.c
sim/ppc/BUGS
sim/ppc/INSTALL
sim/ppc/README
sim/ppc/RUN
sim/ppc/altivec_registers.h
sim/ppc/corefile.h
sim/ppc/cpu.h
sim/ppc/debug.c
sim/ppc/device.h
sim/ppc/emul_bugapi.c
sim/ppc/gen-icache.c
sim/ppc/gen-idecode.c
sim/ppc/gen-semantics.h
sim/ppc/hw_cpu.c
sim/ppc/hw_eeprom.c
sim/ppc/hw_ide.c
sim/ppc/hw_init.c
sim/ppc/hw_opic.c
sim/ppc/hw_phb.c
sim/ppc/idecode_expression.h
sim/ppc/igen.c
sim/ppc/igen.h
sim/ppc/ld-decode.h
sim/ppc/powerpc.igen
sim/ppc/psim.c
sim/ppc/psim.texinfo
sim/ppc/std-config.h
sim/ppc/tree.c
sim/ppc/vm.c
sim/ppc/vm.h
sim/sh/interp.c
sim/testsuite/bfin/se_illegalcombination.S
sim/testsuite/bfin/se_undefinedinstruction1.S
sim/testsuite/bfin/se_undefinedinstruction2.S
sim/testsuite/d10v/t-macros.i
sim/testsuite/frv/testutils.inc
sim/testsuite/h8300/ldc.s
sim/testsuite/h8300/stc.s
sim/testsuite/h8300/testutils.inc
sim/v850/simops.c
sim/v850/v850-sim.h
sim/v850/v850.igen

index 85529145be005dd3691ffea032d77e1faf375380..e6ae5f525b4c33970f6132e7e1c9fa9de42cf4aa 100644 (file)
@@ -158,7 +158,7 @@ aarch64_get_mem_ptr (sim_cpu *cpu, uint64_t address)
    an out-of-memory condition by noticing a stack/heap collision.
 
    The heap starts at the end of loaded memory and carries on up
-   to an arbitary 2Gb limit.  */
+   to an arbitrary 2Gb limit.  */
 
 uint64_t
 aarch64_get_heap_start (sim_cpu *cpu)
index 5cd33fb3ae53e591eb5f7c939dd38e31b196ff8a..70cebcd64ee0dfbbfe7f27aa8901932a3d318543 100644 (file)
@@ -134,7 +134,7 @@ check_cp15_access (ARMul_State * state,
        return ARMul_CANT;
       break;
     case 7:
-      /* Permissable combinations:
+      /* Permissible combinations:
           Opcode_2  CRm
              0       5
              0       6
@@ -157,7 +157,7 @@ check_cp15_access (ARMul_State * state,
       break;
 
     case 8:
-      /* Permissable combinations:
+      /* Permissible combinations:
           Opcode_2  CRm
              0       5
              0       6
@@ -232,7 +232,7 @@ write_cp15_reg (ARMul_State * state,
          /* Writes are not allowed.  */
          return;
 
-       case 1: /* Auxillary Control.  */
+       case 1: /* Auxiliary Control.  */
          /* Only BITS (5, 4) and BITS (1, 0) can be written.  */
          value &= 0x33;
          break;
index cafaabbf637c6bcbb1253aa062f1a572968ebe7c..2958977c4fdc08efcf71179d9e6b714f3e1ad918 100644 (file)
@@ -6033,7 +6033,7 @@ Multiply64 (ARMul_State * state, ARMword instr, int msigned, int scc)
       hi = (((Rs >> 16) & 0xFFFF) * ((Rm >> 16) & 0xFFFF));
 
       /* We now need to add all of these results together, taking
-        care to propogate the carries from the additions.  */
+        care to propagate the carries from the additions.  */
       RdLo = Add32 (lo, (mid1 << 16), &carry);
       RdHi = carry;
       RdLo = Add32 (RdLo, (mid2 << 16), &carry);
index aebf3b26118db7ac0cb3de6b3d86d35f341d3bd1..1bc9222b3b1e1540dc816e827733d244d7a51144 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "bfin-sim.h"
 
-/* We keep the same inital structure layout with DMA enabled devices.  */
+/* We keep the same initial structure layout with DMA enabled devices.  */
 struct dv_bfin {
   bu32 base;
   struct hw *dma_master;
index 2ba56e32ec8e11e600792f980174f1ca33b490cd..c0dffeb0bbc2bcf81c3bfcab2b08a6e3b01e026c 100644 (file)
@@ -574,7 +574,7 @@ _cec_raise (SIM_CPU *cpu, struct bfin_cec *cec, int ivg)
          /* XXX: what happens with 'raise 0' ?  */
          SET_RETEREG (oldpc);
          excp_to_sim_halt (sim_stopped, SIM_SIGTRAP);
-         /* XXX: Need an easy way for gdb to signal it isnt here.  */
+         /* XXX: Need an easy way for gdb to signal it isn't here.  */
          cec->ipend &= ~IVG_EMU_B;
          break;
        case IVG_RST:
index dd251ab221971b579361894982035d32663bc00e..c415cc5156351ca51a5fc13b3d62b01fe92b44fc 100644 (file)
@@ -96,7 +96,7 @@
    non-zero 32 bit big-endian value to this register sets the
    countdown timer to expire in VALUE ticks (ticks is target
    dependant).  Reading the countdown register returns the last value
-   writen.
+   written.
 
    COUNTDOWN VALUE (read): Reading this 32 bit big-endian register
    returns the number of ticks remaining until the countdown timer
index 01ea1e7b89ad13cd9486cd3506e9b3b68494a581..2843ab795fd8ca5ac781ae143a4b7e4fcf877179 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef HW_BASE
 #define HW_BASE
 
-/* Create a primative device */
+/* Create a primitive device */
 
 struct hw *hw_create
 (struct sim_state *sd,
index f64b2c239e2f03387dfc3592d155d1ff876707cb..bea9e9435dd1f75b81bb2cb142615eac7ded4e66 100644 (file)
@@ -170,7 +170,7 @@ typedef unsigned (hw_reset_method)
 /* Hardware operations:
 
    Connecting a parent to its children is a common bus. The parent
-   node is described as the bus owner and is responisble for
+   node is described as the bus owner and is responsible for
    co-ordinating bus operations. On the bus, a SPACE:ADDR pair is used
    to specify an address.  A device that is both a bus owner (parent)
    and bus client (child) are referred to as a bridging device.
index 789ccd3ced45c7224898b9441c1f916854685113..2a8cb9213054df6f9802d754bcbade6568f87b87 100644 (file)
@@ -33,7 +33,7 @@
    disks file system.  The operations would be implemented using the
    basic block I/O model provided by the disk.
 
-   This model includes methods that faciliate the creation of device
+   This model includes methods that facilitate the creation of device
    instance and (should a given device support it) standard operations
    on those instances.
 
index 5df3bd597088014d5702e643bd10c9a3f1fde0f7..f3a855efa46e944bc194a59748aa67204b27e5ff 100644 (file)
@@ -1264,7 +1264,7 @@ hw_tree_find_device (struct hw *root,
   /* parse the path */
   split_device_specifier (root, path_to_device, &spec);
   if (spec.value != NULL)
-    return NULL; /* something wierd */
+    return NULL; /* something weird */
 
   /* now find it */
   node = split_find_device (root, &spec);
index a58b064d7b75ae7db272a936e9ed751c7dbf75b1..efdaae08fabd0e524e217b596ab2a1f1d0159aef 100644 (file)
@@ -82,12 +82,12 @@ frob_range (ADDR_RANGE *ar, address_word start, address_word end, int delete_p)
     {
       if (! delete_p)
        {
-         /* Try next range if current range preceeds new one and not
+         /* Try next range if current range precedes new one and not
             adjacent or overlapping.  */
          if (asr->end < caller->start - 1)
            goto next_range;
 
-         /* Break out if new range preceeds current one and not
+         /* Break out if new range precedes current one and not
             adjacent or overlapping.  */
          if (asr->start > caller->end + 1)
            break;
@@ -114,11 +114,11 @@ frob_range (ADDR_RANGE *ar, address_word start, address_word end, int delete_p)
        }
       else /* deleting a range */
        {
-         /* Try next range if current range preceeds new one.  */
+         /* Try next range if current range precedes new one.  */
          if (asr->end < caller->start)
            goto next_range;
 
-         /* Break out if new range preceeds current one.  */
+         /* Break out if new range precedes current one.  */
          if (asr->start > caller->end)
            break;
 
index 53d8a1219172ad95e4b093774bfb18ae208c3101..63ac4528c151b663ce6bf0b2b64075ee64513355 100644 (file)
@@ -548,7 +548,7 @@ do { \
 
 
 /* some rotate functions.  The generic macro's ROT, ROTL, ROTR are
-   intentionally omited. */
+   intentionally omitted. */
 
 
 INLINE_SIM_BITS(uint8_t)  ROT8  (uint8_t  val, int shift);
index 9ca0149c40f11fd9bf3c089be3de7483355b85a0..2470378ebf17f96b45f7cf8dedd9e75edbd4d7f5 100644 (file)
@@ -141,7 +141,7 @@ extern enum bfd_endian current_target_byte_order;
    expect to see (VEA includes things like coherency and the time
    base) while OEA is what an operating system expects to see.  By
    setting these to specific values, the build process is able to
-   eliminate non relevent environment code.
+   eliminate non relevant environment code.
 
    STATE_ENVIRONMENT(sd) specifies which of vea or oea is required for
    the current runtime.
index 85a384a37d322cc5412234736c8a1f2139345041..a3b73b052c9133b6652be6c085f617140047b85c 100644 (file)
@@ -130,7 +130,7 @@ extern SIM_RC sim_core_install (SIM_DESC sd);
    such that the byte alignmed of OPTIONAL_BUFFER matches ADDR vis
    (OPTIONAL_BUFFER % 8) == (ADDR % 8)).  It is defined to be a sub-optimal
    hook that allows clients to do nasty things that the interface doesn't
-   accomodate. */
+   accommodate. */
 
 extern void sim_core_attach
 (SIM_DESC sd,
@@ -161,7 +161,7 @@ extern void sim_core_detach
 
    Transfer a variable sized block of raw data between the host and
    target.  Should any problems occur, the number of bytes
-   successfully transfered is returned.
+   successfully transferred is returned.
 
    No host/target byte endian conversion is performed.  No xor-endian
    conversion is performed.
@@ -207,7 +207,7 @@ extern void sim_core_set_xor
 
    Transfer a variable sized block of raw data between the host and
    target.  Should any problems occur, the number of bytes
-   successfully transfered is returned.
+   successfully transferred is returned.
 
    No host/target byte endian conversion is performed.  If applicable
    (WITH_XOR_ENDIAN and xor-endian set), xor-endian conversion *is*
@@ -245,7 +245,7 @@ extern void *sim_core_trans_addr
 /* Fixed sized, processor oriented, read/write.
 
    Transfer a fixed amout of memory between the host and target.  The
-   data transfered is translated from/to host to/from target byte
+   data transferred is translated from/to host to/from target byte
    order (including xor endian).  Should the transfer fail, the
    operation shall abort (no return).
 
index 72f3972afa102b75af258f8522663d27aac1c13d..af64f2fa13ca81fd9524a8fe70c5eb00d4836674 100644 (file)
@@ -134,7 +134,7 @@ extern void sim_engine_vabort
 
 
 /* Called by the generic sim_resume to run the simulation within the
-   above safty net.
+   above safety net.
 
    An example implementation of sim_engine_run can be found in the
    file sim-run.c */
index 5d0ea6584bdbd5d645655cc992253cb68b688637..091cd87cbea6937fa96bbe701e788c30428cd332 100644 (file)
@@ -38,7 +38,7 @@
    speed improvement (x3-x5).  In the case of RISC (sparc) while the
    performance gain isn't as great it is still significant.
 
-   Each module is controled by the macro <module>_INLINE which can
+   Each module is controlled by the macro <module>_INLINE which can
    have the values described below
 
        0 (ZERO)
index 988c50ef0ec408d86880f5c9171083224a38f332..196efe85ff6cf8d1b2715b46db491f379e35988c 100644 (file)
@@ -333,7 +333,7 @@ sim_io_poll_quit (SIM_DESC sd)
    FIXME: Some completly new mechanism for handling the general
    problem of asynchronous IO is needed.
 
-   FIXME: This function does not supress the echoing (ECHO) of input.
+   FIXME: This function does not suppress the echoing (ECHO) of input.
    Consequently polled input is always displayed.
 
    FIXME: This function does not perform uncooked reads.
index e2f260abe703393cc0d01c2a25f5341ced6cf2fb..dd1a6c85064caaf16f65c3527837a549ed1eddb0 100644 (file)
@@ -35,7 +35,7 @@ has_stepped (SIM_DESC sd,
 }
 
 
-/* Generic resume - assumes the existance of sim_engine_run */
+/* Generic resume - assumes the existence of sim_engine_run */
 
 void
 sim_resume (SIM_DESC sd,
index c84371f9dc272949948e239134cfa6707b11b5fc..50bd5d3aaaf1a4ec84912e334b79ebefc6bae966 100644 (file)
@@ -314,7 +314,7 @@ mul64 (uint32_t n1, uint32_t n2, uint32_t *result_hi, uint32_t *result_lo, int m
   hi =   (((n1 >> 16) & 0xFFFF) * ((n2 >> 16) & 0xFFFF));
   
   /* We now need to add all of these results together, taking care
-     to propogate the carries from the additions: */
+     to propagate the carries from the additions: */
   reg_lo = add32 (lo, (mid1 << 16), &carry);
   reg_hi = carry;
   reg_lo = add32 (reg_lo, (mid2 << 16), &carry);
index 2b851ca195de3ba041335446ee03d2f1998c52d9..069436c632fc4e014ac0f8adf24d2c55bc40c195 100644 (file)
@@ -20,7 +20,7 @@
    FPU.  IEEE trap handling is done as follows:
      1. In the host, all IEEE traps are masked
      2. After each simulated FPU instruction, check if any exception
-        occured by reading the exception bits from the host FPU status
+        occurred by reading the exception bits from the host FPU status
         register (get_accex()).
      3. Propagate any exceptions to the simulated FSR.
      4. Clear host exception bits.
index cf44ddfb7fed4067bcad0ce3a5b21885bc4fe37f..9044a08c2636fabdaebc4502e39296b101c3c64e 100644 (file)
@@ -114,7 +114,7 @@ struct pstate {
     uint64_t          pwdtime; /* Cycles in power-down mode */
     uint64_t          nstore;  /* Number of load instructions */
     uint64_t          nload;   /* Number of store instructions */
-    uint64_t          nannul;  /* Number of annuled instructions */
+    uint64_t          nannul;  /* Number of annulled instructions */
     uint64_t          nbranch; /* Number of branch instructions */
     uint32_t          ildreg;  /* Destination of last load instruction */
     uint64_t          ildtime; /* Last time point for load dependency */
index d6c0912884b2d694fda22ff0e7742a33d776c6e8..e504abe1304aa458d840330dca5c5fbe6f51eb01 100644 (file)
@@ -266,7 +266,7 @@ enum frv_ec
 
 /* FR-V Interrupt.
    This struct contains enough information to describe a particular interrupt
-   occurance.  */
+   occurrence.  */
 struct frv_interrupt
 {
   enum frv_interrupt_kind  kind;
index 6903a1b7b108b8251222ae1967185a36ba53fe9f..1f6354979af0ff6b65067a007afe74620a1f2d2c 100644 (file)
@@ -598,14 +598,14 @@ request_complete (SIM_CPU *cpu, CACHE_QUEUE_ELEMENT *q)
 }
 
 /* Run the insn and data caches through the given number of cycles, taking
-   note of load requests which are fullfilled as a result.  */
+   note of load requests which are fulfilled as a result.  */
 static void
 run_caches (SIM_CPU *cpu, int cycles)
 {
   FRV_CACHE* data_cache = CPU_DATA_CACHE (cpu);
   FRV_CACHE* insn_cache = CPU_INSN_CACHE (cpu);
   int i;
-  /* For each cycle, run the caches, noting which requests have been fullfilled
+  /* For each cycle, run the caches, noting which requests have been fulfilled
      and submitting new requests on their designated cycles.  */
   for (i = 0; i < cycles; ++i)
     {
index 99531456762137c51f1272abbf01748bdddafc6b..006550d4a41f57ea8cc5d60c0a76d7f5382b4e4e 100644 (file)
@@ -780,7 +780,7 @@ frvbf_check_swap_address (SIM_CPU *current_cpu, SI address)
   if (STATE_ARCHITECTURE (sd)->mach != bfd_mach_fr550)
     return;
 
-  /* Adress must be aligned on a word boundary.  */
+  /* Address must be aligned on a word boundary.  */
   if (address & 0x3)
     frv_queue_data_access_exception_interrupt (current_cpu);
 }
index cfa6eeead5c17b5744cab8c972a197d3f89150a3..069880952286fa317277151ecbdb4fb2909bd054 100644 (file)
@@ -1568,7 +1568,7 @@ store2 (SIM_DESC sd, ea_type *arg, int n)
   return store_1 (sd, arg, n, 1);
 }
 
-/* Callback for qsort.  We sort first based on availablity
+/* Callback for qsort.  We sort first based on availability
    (available instructions sort lower).  When availability state
    is the same, then we use the first 4 bit nibble as a secondary
    sort key.
index cdf77adbebd8bc0309f1690f584fdc3fe91596a7..25335366272ccd9ae99c55a9174c3b4c2c5326b2 100644 (file)
@@ -67,7 +67,7 @@ print_run_body (lf *file, const gen_entry *table)
 {
   /* Output the function to execute real code:
 
-     Unfortunatly, there are multiple cases to consider vis:
+     Unfortunately, there are multiple cases to consider vis:
 
      <icache> X <smp>
 
index 77d170d84ef8060a1cc0aa45cca18c797c381e60..641c20e32da51a98e7c201afdd8ab73ce59313fa 100644 (file)
@@ -152,7 +152,7 @@ print_icache_extraction (lf *file,
   switch (what_to_declare)
     {
     case undef_variables:
-      /* We've finished with the #define value - destory it */
+      /* We've finished with the #define value - destroy it */
       lf_indent_suppress (file);
       lf_printf (file, "#undef %s\n", entry_name);
       return;
@@ -632,7 +632,7 @@ print_icache_struct (lf *file, const insn_table *isa, cache_entry *cache_rules)
   else
     {
       /* alernativly, since no cache, emit a dummy definition for
-         idecode_cache so that code refering to the type can still compile */
+         idecode_cache so that code referring to the type can still compile */
       lf_printf (file, "typedef void %sidecode_cache;\n",
                 options.module.global.prefix.l);
     }
index f6cb55a669a53fd973bee9fa2163afadd6fcf8c4..fed0914ff5117089e084a17d74180f94af3399e0 100644 (file)
@@ -246,7 +246,7 @@ print_semantic_body (lf *file,
     }
 
   /* Architecture expects a REG to be zero.  Instead of having to
-     check every read to see if it is refering to that REG just zap it
+     check every read to see if it is referring to that REG just zap it
      at the start of every instruction */
   if (options.gen.zero_reg)
     {
index 786e5bafce3f17dd4ce80370a85f9f4de078dfb1..7844f6aac6c7eb35e8aba6961e7ebc931aaae588 100644 (file)
@@ -36,9 +36,9 @@
 
        o       cached - separate cracker and semantic
 
-               Two independant functions are created.  Firstly the
+               Two independent functions are created.  Firstly the
                function that cracks an instruction entering it into a
-               cache and secondly the semantic function propper that
+               cache and secondly the semantic function proper that
                uses the cache.
 
        o       cached - semantic + cracking semantic
index 149914716152898346cd181b77aab54c22d7a734..bf57162cc8672241f94965e8e40f7f8a05b13369 100644 (file)
@@ -644,7 +644,7 @@ insns_bit_useless (const insn_list *insns, const decode_table *rule, int bit_nr)
 
   /* Given only one constant value has been found, check through all
      the instructions to see if at least one conditional makes it
-     usefull */
+     useful */
   if (value >= 0 && is_useless)
     {
       for (entry = insns; entry != NULL; entry = entry->next)
@@ -981,7 +981,7 @@ gen_entry_expand_opcode (gen_entry *table,
                                                     condition->field->last);
                                          /* this is a requirement of
                                             a conditonal field
-                                            refering to another field */
+                                            referring to another field */
                                          ASSERT ((condition->field->first -
                                                   condition->field->last) ==
                                                  (first_pos - last_pos));
index 94caf6ea5eba3ba191b289a64d72c9246f656687..60314a645eb429d0ccef9a57bb78e28c0f582525 100644 (file)
@@ -481,7 +481,7 @@ print_itrace (lf *file, const insn_entry *insn, int idecode)
 {
   /* NB: Here we escape each EOLN. This is so that the the compiler
      treats a trace function call as a single line.  Consequently any
-     errors in the line are refered back to the same igen assembler
+     errors in the line are referred back to the same igen assembler
      source line */
   const char *phase = (idecode) ? "DECODE" : "INSN";
   lf_printf (file, "\n");
index 7d3b9b49acfe5386a2efbd546f2d64f81d21b92d..6e68bfb682c8e92d4ceea79f102889f91bfd8ed0 100644 (file)
@@ -138,7 +138,7 @@ struct _igen_decode_options
   int combine;
 
   /* Instruction expansion? Should the semantic code for each
-     instruction, when the oportunity arrises, be expanded according
+     instruction, when the opportunity arrises, be expanded according
      to the variable opcode files that the instruction decode process
      renders constant */
   int duplicate;
index 5f67d5244202e29ecbab8a817680be65d6338bc6..368138e3aeb0c8d5b76aed938afc1959a388a05d 100644 (file)
@@ -161,7 +161,7 @@ load_decode_table (const char *file_name)
       else
        new_rule->last = options.insn_bit_size - 1;
       if (new_rule->first > new_rule->last)
-       error (new_rule->line, "First must preceed last\n");
+       error (new_rule->line, "First must precede last\n");
 
       /* force first/last, with default values based on first/last */
       if (entry->nr_fields > decode_force_first_field
index e26de29699ddb699a2d160ba273014998a9fd12a..562628a00d27a3e3e345f79660fa8217d6a37483 100644 (file)
@@ -89,7 +89,7 @@
 
    If an instruction field was found, enlarge the field size so that
    it is forced to at least include bits starting from <force_first>
-   (<force_last>).  To stop this occuring, use <force_first> = <last>
+   (<force_last>).  To stop this occurring, use <force_first> = <last>
    + 1 and <force_last> = <first> - 1.
 
    <force_reserved>
 
    Treat any contained register (string) fields as constant when
    determining the instruction field.  For the instruction decode (and
-   controled by IDECODE_EXPAND_SEMANTICS) this forces the expansion of
+   controlled by IDECODE_EXPAND_SEMANTICS) this forces the expansion of
    what would otherwize be non constant bits of an instruction.
 
    <use_switch>
index a561badbdee57de4a935e5872cc299903844095d..baa8e12af1451c2adbf592f410ce0de91b5e275c 100644 (file)
@@ -201,7 +201,7 @@ parse_insn_word (const line_ref *line, char *string, int word_nr)
        {
          if (strlen_pos == 0)
            {
-             /* when the length/pos field is omited, an integer field
+             /* when the length/pos field is omitted, an integer field
                 is always binary */
              uint64_t val = 0;
              int i;
@@ -409,7 +409,7 @@ parse_insn_words (insn_entry * insn, char *formats)
       insn->word[i] = word;
   }
 
-  /* Go over all fields that have conditionals refering to other
+  /* Go over all fields that have conditionals referring to other
      fields.  Link the fields up.  Verify that the two fields have the
      same size. Verify that the two fields are different */
   {
@@ -442,9 +442,9 @@ parse_insn_words (insn_entry * insn, char *formats)
                                && strcmp (refered_field->val_string,
                                           cond->string) == 0)
                              {
-                               /* found field being refered to by conditonal */
+                               /* found field being referred to by conditonal */
                                cond->field = refered_field;
-                               /* check refered to and this field are
+                               /* check referred to and this field are
                                   the same size */
                                if (f->width != refered_field->width)
                                  error (insn->line,
index 6a6c1e2f1afdf1786a27cbf1712dd38d53171850..eac9fa4f5fda8afe1de40b9a0d617f363c739812 100644 (file)
@@ -47,7 +47,7 @@ lf_file_references;
 
 
 /* Open the file NAME for writing ("-" for stdout).  Use REAL_NAME
-   when refering to the opened file.  Line number information (in the
+   when referring to the opened file.  Line number information (in the
    output) can be suppressed with FILE_REFERENCES ==
    LF_OMIT_REFERENCES.  TYPE is to determine the formatting of some of
    the print messages below. */
index 345f93790ab742bcde804a2afbd65eebfc1e1515..2d2065f63ffa74b25a4be36a797f5078a35ab9d2 100644 (file)
@@ -97,7 +97,7 @@ do_uart_tx_event (struct hw *me, void *data)
       hw_port_event (me, INT_PORT, 1);
     }
 
-  /* Indicate which interrupt has occured.  */
+  /* Indicate which interrupt has occurred.  */
   uart->iir = MICOUART_IIR_TXRDY;
 
   /* Indicate THR is empty.  */
index 202bdd1d5040486061ee2dc731ef719f898f7bb4..b363b85647b06d7bf6865dba150273f4af29ffb5 100644 (file)
@@ -107,7 +107,7 @@ emit_parallel (SIM_CPU *current_cpu, PCADDR pc, CGEN_INSN_INT insn,
      with the first insn.  */
   /* ??? Revisit to handle exceptions right.  */
 
-  /* FIXME: No need to handle this parallely if second is nop.  */
+  /* FIXME: No need to handle this parallelly if second is nop.  */
   id = emit_16 (current_cpu, pc, insn >> 16, sc, fast_p, 1);
 
   /* Note that this can never be a cti.  No cti's go in the S pipeline.  */
index 64342da481817eb987a02f1d67b61e6f3dc35765..562263eca71261aca66ac624dfeca1f9859daff6 100644 (file)
@@ -107,7 +107,7 @@ emit_parallel (SIM_CPU *current_cpu, PCADDR pc, CGEN_INSN_INT insn,
      with the first insn.  */
   /* ??? Revisit to handle exceptions right.  */
 
-  /* FIXME: No need to handle this parallely if second is nop.  */
+  /* FIXME: No need to handle this parallelly if second is nop.  */
   id = emit_16 (current_cpu, pc, insn >> 16, sc, fast_p, 1);
 
   /* Note that this can never be a cti.  No cti's go in the S pipeline.  */
index 7140d957208677ee53bbb9b78c564da8b3390c2d..fe0f948afbd36c104a96a4bb041518d1e63aff0b 100644 (file)
@@ -152,7 +152,7 @@ t2h_addr (host_callback *cb, struct cb_syscall *sc,
 
 /* TODO: These functions are a big hack and assume that the host runtime has
    type sizes and struct layouts that match the target.  So the Linux emulation
-   probaly only really works in 32-bit runtimes.  */
+   probably only really works in 32-bit runtimes.  */
 
 static void
 translate_endian_h2t (void *addr, size_t size)
index dc43cc53f568553dc20a2ba068d3e4d56b64f87b..3214b0d6a5a10df4111fec859a9d77d62ae4e362 100644 (file)
@@ -351,7 +351,7 @@ m68hc11tim_timer_event (struct hw *me, void *data)
 
           compare = (m68hc11_cpu->ios[i] << 8) + m68hc11_cpu->ios[i + 1];
 
-          /* See if compare is reached; handle wrap arround.  */
+          /* See if compare is reached; handle wrap around.  */
           if ((compare >= tcnt_prev && compare <= tcnt && tcnt_prev < tcnt)
               || (compare >= tcnt_prev && tcnt_prev > tcnt)
               || (compare < tcnt && tcnt_prev > tcnt))
index f32a841e0a54e4dee52ce2bcafdd1650420be0eb..ab7fa9cc007dd746aa6c2ab6c590ade853943f93 100644 (file)
@@ -224,7 +224,7 @@ __EOF__
   for fc in ${sim_mips_multi_configs}; do
 
     dnl Split up the entry.  ${c} contains the first three elements.
-    dnl Note: outer sqaure brackets are m4 quotes.
+    dnl Note: outer square brackets are m4 quotes.
     c=`echo ${fc} | sed ['s/:[^:]*$//']`
     bfdmachs=`echo ${fc} | sed 's/.*://'`
     name=`echo ${c} | sed 's/:.*//'`
index b15b228600c25d06ddadc65e2dac7e0de72eeefd..a2757ec5ef70ac003153fd3e94b723e3d4be1ead 100644 (file)
@@ -2579,7 +2579,7 @@ mips_cpu_exception_resume(SIM_DESC sd, sim_cpu* cpu, int exception)
     }
   else if (exception != 0 && mips_cpu->exc_suspended == 0)
     {
-      sim_io_eprintf(sd, "Warning, ignoring spontanous exception signal (%d)\n", exception);
+      sim_io_eprintf(sd, "Warning, ignoring spontaneous exception signal (%d)\n", exception);
     }
   mips_cpu->exc_suspended = 0;
 }
index 1d53d187596e51a41411cea89e15de49d1137f67..ab449955689bd7bc6e42d35b4c8c770b86a37cb0 100644 (file)
 {
   if (STATE & simDELAYSLOT)
     {
-      return DSPC; /* return saved address of preceeding jmp */
+      return DSPC; /* return saved address of preceding jmp */
     }
   else
     {
index 09f82aa1dfd37220efd91ef52edf9c0f091f3270..8203d19f8c4a7b5890648eea85829adf00a74560 100644 (file)
 // suggest they don't.
 //
 // In reality, some MIPS IV parts, such as the VR5000 and VR5400, do have
-// these restrictions, while others, like the VR5500, don't.  To accomodate
+// these restrictions, while others, like the VR5500, don't.  To accommodate
 // such differences, the MIPS IV and MIPS V version of these helper functions
-// use auxillary routines to determine whether the restriction applies.
+// use auxiliary routines to determine whether the restriction applies.
 
 // check_mf_cycles:
 //
 *micromips32:
 *micromips64:
 {
-  /* FIXME: could record the fact that a stall occured if we want */
+  /* FIXME: could record the fact that a stall occurred if we want */
   int64_t time = sim_events_time (SD);
   hi->op.timestamp = time;
   lo->op.timestamp = time;
index e87a12bc7a5a5b940aa6ba294c58cfd3eb4871c1..cb7d7ce542640bfe182dc50e46e9dea6370ece2e 100644 (file)
@@ -109,7 +109,7 @@ typedef enum {
 
 /* For some MIPS targets, the HI/LO registers have certain timing
    restrictions in that, for instance, a read of a HI register must be
-   separated by at least three instructions from a preceeding read.
+   separated by at least three instructions from a preceding read.
 
    The struct below is used to record the last access by each of A MT,
    MF or other OP instruction to a HI/LO register.  See mips.igen for
@@ -282,7 +282,7 @@ struct mips_sim_cpu {
 #define simPCOC1         (1 << 18) /* COC[1] from previous */
 #define simDELAYSLOT     (1 << 24) /* 1 = delay slot entry exists */
 #define simSKIPNEXT      (1 << 25) /* 0 = do nothing; 1 = skip instruction */
-#define simSIGINT        (1 << 28)  /* 0 = do nothing; 1 = SIGINT has occured */
+#define simSIGINT        (1 << 28)  /* 0 = do nothing; 1 = SIGINT has occurred */
 #define simJALDELAYSLOT  (1 << 29) /* 1 = in jal delay slot */
 #define simFORBIDDENSLOT (1 << 30) /* 1 = n forbidden slot */
 
index 8a3f73c9aa43f1a263b10d619cee5d8d04e95e38..d3dc0187eaccc1f8f71ae3377db2a7854fc50e5c 100644 (file)
@@ -172,7 +172,7 @@ sim_open (SIM_OPEN_KIND kind,
       sim_hw_parse (sd, "/mn103cpu@0x20000000");
       sim_hw_parse (sd, "/mn103cpu@0x20000000/reg 0x20000000 0x42");
       
-      /* DEBUG: ACK output wired upto a glue device */
+      /* DEBUG: ACK output wired up to a glue device */
       sim_hw_parse (sd, "/glue@0x20002000");
       sim_hw_parse (sd, "/glue@0x20002000/reg 0x20002000 4");
       sim_hw_parse (sd, "/mn103cpu > ack int0 /glue@0x20002000");
@@ -478,7 +478,7 @@ mn10300_cpu_exception_resume(SIM_DESC sd, sim_cpu* cpu, int exception)
     }
   else if(exception != 0 && State.exc_suspended == 0)
     {
-      sim_io_eprintf(sd, "Warning, ignoring spontanous exception signal (%d)\n", exception); 
+      sim_io_eprintf(sd, "Warning, ignoring spontaneous exception signal (%d)\n", exception); 
     }
   State.exc_suspended = 0; 
 }
index 300c79120ce5a3914253f947d724bbc5aed6e4fc..816f05461752abb9cce7cf3175a9ce5ad2b33171 100644 (file)
@@ -34,7 +34,7 @@ Better and more devices.
 PORTABILITY:
 
 (Notes taken from Michael Meissner): Heavy use of the ## operator -
-fix using the clasic X/**/Y hack; Use of the signed keyword.  In
+fix using the classic X/**/Y hack; Use of the signed keyword.  In
 particular, signed char has no analogue in classic C (though most
 implementations of classic C use signed chars); Use of long long which
 restricts the target compiler to be GCC.
@@ -94,7 +94,7 @@ IGEN:
 
 Igen at present can't do the following:
 
-       o       duplication is an all or nothing afair.
+       o       duplication is an all or nothing affair.
 
                It should be configurable according to
                the instruction or the sub-table.
index 22ead08de5f616d660c309a6ccbb9265cceb34be..220ed4d44f5409264d52dc8e80044ae54b0e0f63 100644 (file)
@@ -146,7 +146,7 @@ At the time of writing the following were outstanding:
        the description of a target machine (including the initial
        state of all processor registers) from a file.
 
-       Unfortunatly GDB does not yet have a standard command that
+       Unfortunately GDB does not yet have a standard command that
        facilitates the use of this feature.  Until such a command is
        added, the patch (hack?) gdb-4.15+attach.diff.gz can be used to
        extend GDB's attach command so that it can be used to initialize
index f5049e830cbb413d856f925990400022e172ca5b..683d51fc94cf83567e4e574df2dd9c66297cbaf9 100644 (file)
@@ -173,7 +173,7 @@ contributed in their own unique way:
 
                If PSIM doesn't monitor a components of interest,
                the source code is freely available, and hence
-               there is no hinderance to changing things
+               there is no hindrance to changing things
                to meet a specific analysts needs.
 
 
index 6c3cfefcb25bccaf0c037dfeb77d44e8cbe35da8..07d6505a2454855a8c40e163d81b6b882bd615f3 100644 (file)
@@ -193,7 +193,7 @@ requirements.
 
 The output from a performance run (on a P90) for the program
 psim-test/profile/bench is below.  In this run psim was fairly
-agressively configured (see the file INSTALL for compile time
+aggressively configured (see the file INSTALL for compile time
 configuration).
 
        CPU #1 executed     41,994 AND instructions.
index 19d645c67b48eacf8319c217b142e2f6a5a6eec9..3df5c631bd28240a02bb01b7a789a75d3b23a2ca 100644 (file)
@@ -46,7 +46,7 @@ struct altivec_regs {
 /* AltiVec endian helpers, wrong endian hosts vs targets need to be
    sure to get the right bytes/halfs/words when the order matters.
    Note that many AltiVec instructions do not depend on byte order and
-   work on N independant bits of data.  This is only for the
+   work on N independent bits of data.  This is only for the
    instructions that actually move data around.  */
 
 #if (HOST_BYTE_ORDER == BIG_ENDIAN)
index 9297f3eabe0defecf601e150e56639e7cf08b313..be28d70df48444ceceb72be6b04ea2f8cb9f4872 100644 (file)
@@ -85,7 +85,7 @@ INLINE_CORE\
        restarting it.
 
    For callback maps it is possible to further order them by
-   specifiying specifying a callback level (eg callback + 1).
+   specifying specifying a callback level (eg callback + 1).
 
    When the core is resolving an access it searches each of the maps
    in order.  First raw-memory and then callback maps (in assending
@@ -119,7 +119,7 @@ INLINE_CORE\
    The operation of mapping between an address and its destination
    device or memory array is currently implemented using a simple
    linked list.  The posibility of replacing this list with a more
-   powerfull data structure exists.
+   powerful data structure exists.
 
    */
 
@@ -171,7 +171,7 @@ INLINE_CORE\
 
    Transfer (zero) a variable size block of data between the host and
    target (possibly byte swapping it).  Should any problems occure,
-   the number of bytes actually transfered is returned. */
+   the number of bytes actually transferred is returned. */
 
 INLINE_CORE\
 (unsigned) core_map_read_buffer
index dfd2244766c1e4a1368d87bee457d9c5896afab8..b9f788588676722342bcc317c581c96f1bc0ec5a 100644 (file)
@@ -139,7 +139,7 @@ INLINE_CPU\
 
 
 #if WITH_IDECODE_CACHE_SIZE
-/* Return the cache entry that matches the given CIA.  No guarentee
+/* Return the cache entry that matches the given CIA.  No guarantee
    that the cache entry actually contains the instruction for that
    address */
 
@@ -160,7 +160,7 @@ INLINE_CPU\
    inner vm maps, to have the cpu its self provide memory manipulation
    functions. (eg cpu_instruction_fetch() cpu_data_read_4())
 
-   Unfortunatly in addition to these functions is the need (for the
+   Unfortunately in addition to these functions is the need (for the
    debugger) to be able to read/write to memory in ways that violate
    the vm protection (eg store breakpoint instruction in the
    instruction map). */
index a9b48c3e4ccaed167377a75b3dda2c36f99cb8d9..74a37e98a140cd5e67f0e3d218bf1131706e2e8e 100644 (file)
@@ -39,7 +39,7 @@ typedef struct _trace_option_descriptor {
 
 static trace_option_descriptor trace_description[] = {
   { trace_gdb, "gdb", "calls made by gdb to the sim_calls.c file" },
-  { trace_os_emul, "os-emul", "VEA mode sytem calls - like strace" },
+  { trace_os_emul, "os-emul", "VEA mode system calls - like strace" },
   { trace_events, "events", "event queue handling" },
   /* decode/issue */
   { trace_semantics, "semantics", "Instruction execution (issue)" },
index 65c85e4ddd3590d47191e8560441da91fe2e1a11..609afb5542d4fdc672e1629723be400e087f0b39 100644 (file)
@@ -430,7 +430,7 @@ INLINE_DEVICE\
    disks file system.  The operations would be implemented using the
    basic block I/O model provided by the disk.
 
-   This model includes methods that faciliate the creation of device
+   This model includes methods that facilitate the creation of device
    instance and (should a given device support it) standard operations
    on those instances.
 
index 067e40691e2f57f74adaa8f907e16735e3753da0..ae8b5641dcfc6b54d14b1d55055293221d96780d 100644 (file)
@@ -59,7 +59,7 @@
 #define _NETWR         0x019           /* Write to host */
 #define _NETCFIG       0x01a           /* Configure network parameters */
 #define _NETOPN                0x01b           /* Open file for reading */
-#define _NETFRD                0x01c           /* Retreive specified file blocks */
+#define _NETFRD                0x01c           /* Retrieve specified file blocks */
 #define _NETCTRL       0x01d           /* Implement special control functions */
 #define _OUTCHR                0x020           /* Output character (pointer / pointer format) */
 #define _OUTSTR                0x021           /* Output string (pointer / pointer format) */
@@ -118,7 +118,7 @@ static const struct bug_map bug_mapping[] = {
   { _NETWR,    ".NETWR -- Write to host" },
   { _NETCFIG,  ".NETCFIG -- Configure network parameters" },
   { _NETOPN,   ".NETOPN -- Open file for reading" },
-  { _NETFRD,   ".NETFRD -- Retreive specified file blocks" },
+  { _NETFRD,   ".NETFRD -- Retrieve specified file blocks" },
   { _NETCTRL,  ".NETCTRL -- Implement special control functions" },
   { _OUTCHR,   ".OUTCHR -- Output character" },
   { _OUTSTR,   ".OUTSTR -- Output string (pointer / pointer format)" },
index d9b76aded98472193fd734fe71b96387b48ab248..de483bae1de9d86ee5499360e205a1405d9dd70b 100644 (file)
@@ -102,7 +102,7 @@ print_icache_extraction(lf *file,
 
   /* Define a storage area for the cache element */
   if (what_to_declare == undef_variables) {
-    /* We've finished with the value - destory it */
+    /* We've finished with the value - destroy it */
     lf_indent_suppress(file);
     lf_printf(file, "#undef %s\n", entry_name);
     return;
@@ -482,7 +482,7 @@ print_icache_struct(insn_table *instructions,
   }
   else {
     /* alernativly, since no cache, emit a dummy definition for
-       idecode_cache so that code refering to the type can still compile */
+       idecode_cache so that code referring to the type can still compile */
     lf_printf(file, "typedef void idecode_cache;\n");
   }
   lf_printf(file, "\n");
index bbb1cc980bc5fdea66b06d49943734f98fbbc757..0f500c82908b6b9c20c9b3eb0e4dc84e25b0739b 100644 (file)
@@ -693,7 +693,7 @@ print_run_until_stop_body(lf *file,
 {
   /* Output the function to execute real code:
 
-     Unfortunatly, there are multiple cases to consider vis:
+     Unfortunately, there are multiple cases to consider vis:
 
      <icache> X <smp> X <events> X <keep-running-flag> X ...
 
index 8d1804bbbea1d3f7a22ae2a9dd3eeb578ce9ff9a..02e3c257c1f0e728b04be6baef6ddadaa78f38ca 100644 (file)
@@ -32,9 +32,9 @@
 
        o       cached - separate cracker and semantic
 
-               Two independant functions are created.  Firstly the
+               Two independent functions are created.  Firstly the
                function that cracks an instruction entering it into a
-               cache and secondly the semantic function propper that
+               cache and secondly the semantic function proper that
                uses the cache.
 
        o       cached - semantic + cracking semantic
index df807c1f8f619a9d71ad1a67f2896faa553f3bce..8857fedc0b5ba86e803bfab0a7eb79f25cfc0f0c 100644 (file)
@@ -118,7 +118,7 @@ hw_cpu_init_address(device *me)
 
 /* Take the interrupt and synchronize its delivery with the clock.  If
    we've not yet scheduled an interrupt for the next clock tick, take
-   the oportunity to do it now */
+   the opportunity to do it now */
 
 static void
 hw_cpu_interrupt_event(device *me,
index 2bbcd77773d1293b7fea19ef183257bf7af320d6..1f58ca6800db031cda898a82aaa0e72173cb70fd 100644 (file)
@@ -29,7 +29,7 @@
 /* DEVICE
 
 
-   eeprom - JEDEC? compatible electricaly erasable programable device
+   eeprom - JEDEC? compatible electricaly erasable programmable device
 
 
    DESCRIPTION
index af61eeccab6f720f545c6ea9b1ece9401e643577..ce911e911e5b418608653b44d03d9da4cd7cad93 100644 (file)
@@ -37,7 +37,7 @@
    This device models the primary/secondary <<ide>> controller
    described in the [CHRPIO] document.
 
-   The controller has separate independant interrupt outputs for each
+   The controller has separate independent interrupt outputs for each
    <<ide>> bus.
 
 
@@ -91,7 +91,7 @@
    |        i0,0,1c,6 1 \
    |        i0,0,20,0 8' \
 
-   Note: the fouth and fifth reg entries specify that the register is
+   Note: the fourth and fifth reg entries specify that the register is
    at an offset into the address specified by the base register
    (<<assigned-addresses>>); Apart from restrictions placed by the
    <<pci>> specification, no restrictions are placed on the number of
index 804daa9a47a6900f85402973e72c3c98afaad199..79dd6461ed94d8a52cc2965c651177939508cd47 100644 (file)
@@ -182,7 +182,7 @@ static device_callbacks const hw_file_callbacks = {
    eeprom requires a complex sequence of accesses).  The
    <<real-address>> is specified as <<0x0c00>> which is the offset
    into the eeprom.  For brevity, most of the eeprom properties have
-   been omited.
+   been omitted.
 
    | /iobus/eeprom@0xfff00000/reg 0xfff00000 0x80000
    | /openprom/init/data@0xfff00c00/real-address 0x0c00
index 42474115a717add336d3543395d42487c2a2f15d..f518b054ef8ea8134397bf84f48614ceda187364 100644 (file)
@@ -782,13 +782,13 @@ handle_interrupt(device *me,
   else if (!src->is_level_triggered
           && src->is_positive_polarity
           && !asserted) {
-    DTRACE(opic, ("interrupt %d - ignore falling edge (positive edge trigered)\n",
+    DTRACE(opic, ("interrupt %d - ignore falling edge (positive edge triggered)\n",
                  src->nr));
   }
   else if (!src->is_level_triggered
           && !src->is_positive_polarity
           && asserted) {
-    DTRACE(opic, ("interrupt %d - ignore rising edge (negative edge trigered)\n",
+    DTRACE(opic, ("interrupt %d - ignore rising edge (negative edge triggered)\n",
                  src->nr));
   }
   else if (src->in_service != 0) {
@@ -879,7 +879,7 @@ do_end_of_interrupt_register_N_write(device *me,
     DTRACE(opic, ("eoi %d - ignoring nonzero value\n", dest->nr));
   }
 
-  /* user doing wierd things? */
+  /* user doing weird things? */
   if (dest->current_in_service == NULL) {
     DTRACE(opic, ("eoi %d - strange, no current interrupt\n", dest->nr));
     return;
@@ -1393,7 +1393,7 @@ timer_event(void *data)
   opic_timer *timer = data;
   device *me = timer->me;
   if (timer->inhibited)
-    device_error(timer->me, "internal-error - timer event occured when timer %d inhibited",
+    device_error(timer->me, "internal-error - timer event occurred when timer %d inhibited",
                 timer->nr);
   handle_interrupt(timer->me, timer->opic, timer->interrupt_source, 1);
   timer->timeout_event = device_event_queue_schedule(me, timer->base_count,
index 06eb29fc5a77f4c8b296eb7de774ac1c57b842e3..ac0223d7131dc8ce1d1ed1f5b795507f28e00f94 100644 (file)
@@ -90,7 +90,7 @@
 
    Since device tree entries that are specified on the command line
    are added before most of the device tree has been built it is often
-   necessary to explictly add certain device properties and thus
+   necessary to explicitly add certain device properties and thus
    ensure they are already present in the device tree.  For the
    <<phb>> one such property is parent busses <<#address-cells>>.
 
    
    The Open Firmware PCI bus bindings document (rev 1.6) suggests that
    the register field of non-relocatable PCI address should be zero.
-   Unfortunatly, PCI addresses specified in the <<assigned-addresses>>
+   Unfortunately, PCI addresses specified in the <<assigned-addresses>>
    property must be both non-relocatable and have non-zero register
    fields.
 
@@ -316,7 +316,7 @@ hw_phb_attach_address(device *me,
   if (phb_type != hw_phb_normal_decode && phb_type != hw_phb_subtractive_decode)
     device_error(me, "attach type (%d) specified by %s invalid",
                 type, device_path(client));
-  /* attach it to the relevent bus */
+  /* attach it to the relevant bus */
   DTRACE(phb, ("attach %s - %s %s:0x%lx (0x%lx bytes)\n",
               device_path(client),
               hw_phb_decode_name(phb_type),
index 86b33945b77c352c76c827e23f4ffe4005d39779..c44083ce2821c0c8505d2bacff018e296ef2430a 100644 (file)
@@ -48,7 +48,7 @@
 
 /* 64bit target expressions:
 
-   Unfortunatly 128bit arrithemetic isn't that common.  Consequently
+   Unfortunately 128bit arrithemetic isn't that common.  Consequently
    the 32/64 bit trick can not be used.  Instead all calculations are
    required to retain carry/overflow information in separate
    variables.  Even with this restriction it is still possible for the
index 635030d4a9eaacb560d1f5014b6133034fefa59f..53967716155650afd3168d979746a4c8be2add63 100644 (file)
@@ -365,7 +365,7 @@ main(int argc,
     printf("  -C                    Include semantics in cache functions\n");
     printf("  -S                    Include insn (instruction) in icache\n");
     printf("  -R                    Use defines to reference cache vars\n");
-    printf("  -L                    Supress line numbering in output files\n");
+    printf("  -L                    Suppress line numbering in output files\n");
     printf("  -B <bit-size>         Set the number of bits in an instruction\n");
     printf("  -H <high-bit>         Set the nr of the high (msb bit)\n");
     printf("  -N <nr-cpus>          Specify the max number of cpus the simulation will support\n");
index 052806af31fd6111cfc7b7a08661ffd62bb21d10..813632c3668203d16b9c8afd53ac328e6d0d9c05 100644 (file)
@@ -41,7 +41,7 @@ typedef enum {
 
   generate_calls = 0x100,
 
-  /* In addition, when refering to fields access them directly instead
+  /* In addition, when referring to fields access them directly instead
      of via variables */
 
   generate_calls_with_direct_access
@@ -116,7 +116,7 @@ extern int icache_size;
 
 /* Instruction expansion?
 
-   Should the semantic code for each instruction, when the oportunity
+   Should the semantic code for each instruction, when the opportunity
    arrises, be expanded according to the variable opcode files that
    the instruction decode process renders constant */
 
index 4332dccb3aca9b60f7af8cfbff7c6a9d6eaa96f7..046b97d5d9cf1e777d61f49e26319a235acf881c 100644 (file)
@@ -52,7 +52,7 @@
 
    If an instruction field was found, enlarge the field size so that
    it is forced to at least include bits starting from <force_first>
-   (<force_last>).  To stop this occuring, use <force_first> = <last>
+   (<force_last>).  To stop this occurring, use <force_first> = <last>
    + 1 and <force_last> = <first> - 1.
 
    <force_slash>
@@ -64,7 +64,7 @@
 
    Treat any contained register (string) fields as constant when
    determining the instruction field.  For the instruction decode (and
-   controled by IDECODE_EXPAND_SEMANTICS) this forces the expansion of
+   controlled by IDECODE_EXPAND_SEMANTICS) this forces the expansion of
    what would otherwize be non constant bits of an instruction.
 
    <use_switch>
index 60840fe843c881461e40af955b3559ba37f7bbe1..79b0d9b35eb354d0e9b78aa1346f69308cc0e332 100644 (file)
@@ -3964,7 +3964,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   2,  4,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       double product; /*HACK! - incorrectly loosing precision ... */
+       double product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4011,7 +4011,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       float product; /*HACK! - incorrectly loosing precision ... */
+       float product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4058,7 +4058,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   2,  4,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       double product; /*HACK! - incorrectly loosing precision ... */
+       double product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4105,7 +4105,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       float product; /*HACK! - incorrectly loosing precision ... */
+       float product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4152,7 +4152,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   2,  4,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       double product; /*HACK! - incorrectly loosing precision ... */
+       double product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4199,7 +4199,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       float product; /*HACK! - incorrectly loosing precision ... */
+       float product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4246,7 +4246,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   2,  4,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       double product; /*HACK! - incorrectly loosing precision ... */
+       double product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
@@ -4293,7 +4293,7 @@ void::function::invalid_zero_divide_operation:cpu *processor, unsigned_word cia,
 *603e:PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
 *604: PPC_UNIT_FPU,   PPC_UNIT_FPU,   1,  3,  0
        FPSCR_BEGIN;
-       float product; /*HACK! - incorrectly loosing precision ... */
+       float product; /*HACK! - incorrectly losing precision ... */
        /* compute the multiply */
        if (is_invalid_operation(processor, cia,
                                 *frA, *frC,
index 3b86b865fd61c40c894e3cbf544150c5b34d0f40..b2fff6ad837cfc724bb89262c22918b5b642aae7 100644 (file)
@@ -445,7 +445,7 @@ psim_create(const char *file_name,
 
   os_emulation = os_emul_create(file_name, root);
   if (os_emulation == NULL)
-    error("psim: either file %s was not reconized or unreconized or unknown os-emulation type\n", file_name);
+    error("psim: either file %s was not recognized or unreconized or unknown os-emulation type\n", file_name);
 
   /* fill in the missing real number of CPU's */
   nr_cpus = tree_find_integer_property(root, "/openprom/options/smp");
@@ -991,7 +991,7 @@ psim_write_register(psim *system,
 
   processor = system->processors[which_cpu];
 
-  /* If the data is comming in raw (target order), need to cook it
+  /* If the data is coming in raw (target order), need to cook it
      into host order before putting it into PSIM's internal structures */
   if (mode == raw_transfer) {
     switch (description.size) {
index b5513870696bd68110e0ffc555619b3b23a99c9a..6e30f536690596b7bc628363550b6ca3d805f8ee 100644 (file)
@@ -147,7 +147,7 @@ This is Edition @value{edition} of the Texinfo documentation,
 @end ifinfo
 
 @c Here is a spare copy of the chapter menu entry descriptions,
-@c in case they are accidently deleted 
+@c in case they are accidentally deleted 
 @ignore
 Your rights.
 Texinfo in brief.
@@ -927,7 +927,7 @@ contributed in their own unique way:
 
                If PSIM doesn't monitor a components of interest,
                the source code is freely available, and hence
-               there is no hinderance to changing things
+               there is no hindrance to changing things
                to meet a specific analysts needs.
 
 
index de68cf261816e04c9edeb022211ea7041074faae..d1cd981fb62f436994db1d1b5575501af0af17c1 100644 (file)
@@ -106,7 +106,7 @@ extern enum bfd_endian current_target_byte_order;
    expect to see (VEA includes things like coherency and the time
    base) while OEA is what an operating system expects to see.  By
    setting these to specific values, the build process is able to
-   eliminate non relevent environment code
+   eliminate non relevant environment code
 
    CURRENT_ENVIRONMENT specifies which of vea or oea is required for
    the current runtime. */
@@ -131,7 +131,7 @@ extern int current_environment;
 
 /* Events.  Devices modeling real H/W need to be able to efficiently
    schedule things to do at known times in the future.  The event
-   queue implements this.  Unfortunatly this adds the need to check
+   queue implements this.  Unfortunately this adds the need to check
    for any events once each full instruction cycle. */
 
 #define WITH_EVENTS                     (WITH_ENVIRONMENT != USER_ENVIRONMENT)
@@ -284,7 +284,7 @@ extern int current_stdio;
    speed improvement (x3-x5).  In the case of RISC (sparc) while the
    performance gain isn't as great it is still significant.
 
-   Each module is controled by the macro <module>_INLINE which can
+   Each module is controlled by the macro <module>_INLINE which can
    have the values described below
 
        0  Do not inline any thing for the given module
@@ -384,7 +384,7 @@ extern int current_stdio;
        Prefix to any declaration of a global object (function or
        variable) that should not be inlined and should have only one
        definition.  The #ifndef wrapper goes around the definition
-       propper to ensure that only one copy is generated.
+       proper to ensure that only one copy is generated.
 
        nb: this will not work when a module is being inlined for every
        use.
index c2fe9176e05cd6f41140fa4b8f0dc68642414ad8..5ccb8adfcbf77d9b997e415811f2be67ab6a1a45 100644 (file)
@@ -1217,7 +1217,7 @@ tree_find_device(device *root,
   /* parse the path */
   split_device_specifier(root, path_to_device, &spec);
   if (spec.value != NULL)
-    return NULL; /* something wierd */
+    return NULL; /* something weird */
 
   /* now find it */
   node = split_find_device(root, &spec);
index b5ef75876973966c9aa249e3883870160b364253..3f82766b497ab9663dd5f7a14692699287f7dbeb 100644 (file)
@@ -445,7 +445,7 @@ om_write_word(om_map *map,
 }
 
 
-/* Bring things into existance */
+/* Bring things into existence */
 
 INLINE_VM\
 (vm *)
index 63dc23c2fcd2084afba2bd246aceeda9efd3a2fd..2b6137a15576f0dee6040b46cc656df65ff0363f 100644 (file)
@@ -60,7 +60,7 @@ INLINE_VM\
 
 
 /* generic block transfers.  Dependant on the presence of the
-   PROCESSOR arg, either returns the number of bytes transfered or (if
+   PROCESSOR arg, either returns the number of bytes transferred or (if
    PROCESSOR is non NULL) aborts the simulation */
 
 INLINE_VM\
index bbf26bb11893937bac0df3bd21ca36cee6f21ba8..379b44f82ba7a2cfd21039ac01534e2ff5bbb4ea 100644 (file)
@@ -146,7 +146,7 @@ static int maskl = 0;
 
 /* Alternate bank of registers r0-r7 */
 
-/* Note: code controling SR handles flips between BANK0 and BANK1 */
+/* Note: code controlling SR handles flips between BANK0 and BANK1 */
 #define Rn_BANK(n) (saved_state.asregs.bank[(n)])
 #define SET_Rn_BANK(n, EXP) do { saved_state.asregs.bank[(n)] = (EXP); } while (0)
 
@@ -726,7 +726,7 @@ static int nsamples;
 #define SSR1 (0x05FFFECC)      /* Channel 1  serial status register */
 #define RDR1 (0x05FFFECD)      /* Channel 1  receive data register */
 
-#define SCI_RDRF        0x40   /* Recieve data register full */
+#define SCI_RDRF        0x40   /* Receive data register full */
 #define SCI_TDRE       0x80    /* Transmit data register empty */
 
 static int
@@ -1238,7 +1238,7 @@ macl (int *regs, unsigned char *memory, int n, int m)
           mach |= 0xffff8000; /* Sign extend higher 16 bits */
         }
       else
-        mach = mach & 0x00007fff; /* Postive Result */
+        mach = mach & 0x00007fff; /* Positive Result */
     }
 
   MACL = macl;
index 85633d1621a02a36724b5144cef6bbf6e7a79eea..c3a0cc7081c44960991f2792ee611899a8658716 100644 (file)
@@ -2,7 +2,7 @@
 // Description: Multi-issue Illegal Combinations
 # mach: bfin
 # sim: --environment operating
-# xfail: "missing a few checks; hardware doesnt seem to match PRM?" *-*
+# xfail: "missing a few checks; hardware doesn't seem to match PRM?" *-*
 
 #include "test.h"
 .include "testutils.inc"
index 5337a74073f7d0088692e74640444583a35b7230..fa1ab72189338e3de8015b3de1aab7fd1154c3b3 100644 (file)
@@ -200,7 +200,7 @@ BEGIN:
     .dw 0x21 ;
     .dw 0x22 ;
     .dw 0x26 ;
-    .dw 0x27 ; // XXX: hardware doesnt trigger illegal exception ?
+    .dw 0x27 ; // XXX: hardware doesn't trigger illegal exception ?
     .dw 0x28 ;
     .dw 0x29 ;
     .dw 0x2A ;
index d21e3751cede83778ee69962c58895470f8591f4..9d68ccb4ce52515a16d32a5f9f63e4dc330a37a1 100644 (file)
@@ -175,12 +175,12 @@ BEGIN:
     .dw 0x10E ;
     .dw 0x124 ;
 .ifndef BFIN_HW
-       // XXX: hardware doesnt trigger illegal exception ?
+       // XXX: hardware doesn't trigger illegal exception ?
     .dw 0x125 ;
 .endif
     .dw 0x164 ;
 .ifndef BFIN_HW
-       // XXX: hardware doesnt trigger illegal exception ?
+       // XXX: hardware doesn't trigger illegal exception ?
     .dw 0x165 ;
 .endif
     .dw 0x128 ;
index d6e155ce232fc7d02922ab684f29e0301152aa40..d5e85a4ef59d9365af3a496c72271560efb8c488 100644 (file)
@@ -174,7 +174,7 @@ _start:
        .data
 1:     ldi r1, 2f@word
        jmp r1
-;;; Successfull trap jumps back to here
+;;; Successful trap jumps back to here
        .text
 ;;; Verify the PSW
 2:     mvfc    r2, cr0
index 8261b4faab8822b75d5548b29b9520d0adaeeba2..3ff78f0b0311bb148080c0e487ff421243def661 100644 (file)
@@ -347,7 +347,7 @@ test_gr\@:
        test_fr_iimmed  \val,fr31
        .endm
 
-; Test CPR agains an immediate value
+; Test CPR against an immediate value
        .macro test_cpr_limmed valh vall reg
        addi            sp,-4,gr31
        stc             \reg,@(gr31,gr0)
index 3712a6c49ee759c46513710d4780811abb1dcf61..74cba02f5e95e4e12835fb2f2c6497d12ccf92b4 100644 (file)
@@ -341,7 +341,7 @@ ldc_reg_sbr:
 
        mov     #0xaaaaaaaa, er0
        ldc     er0, sbr        ; set sbr to 0xaaaaaaaa
-       stc     sbr, er1        ; retreive and check sbr value
+       stc     sbr, er1        ; retrieve and check sbr value
 
        test_h_gr32 0xaaaaaaaa er1
        test_h_gr32 0xaaaaaaaa er0 ; Register 0 modified by test procedure.
@@ -358,7 +358,7 @@ ldc_reg_vbr:
 
        mov     #0xaaaaaaaa, er0
        ldc     er0, vbr        ; set sbr to 0xaaaaaaaa
-       stc     vbr, er1        ; retreive and check sbr value
+       stc     vbr, er1        ; retrieve and check sbr value
 
        test_h_gr32 0xaaaaaaaa er1
        test_h_gr32 0xaaaaaaaa er0 ; Register 0 modified by test procedure.
index 232bd5a96ebdd65e9bdac21dc0cf9316a7946e26..62b8ac056c766815eea61ab475c5ad0176b8b87c 100644 (file)
@@ -304,7 +304,7 @@ stc_sbr_reg:
 
        mov     #0xaaaaaaaa, er0
        ldc     er0, sbr        ; set sbr to 0xaaaaaaaa
-       stc     sbr, er1        ; retreive and check sbr value
+       stc     sbr, er1        ; retrieve and check sbr value
 
        test_h_gr32 0xaaaaaaaa er1
        test_h_gr32 0xaaaaaaaa er0 ; Register 0 modified by test procedure.
@@ -321,7 +321,7 @@ stc_vbr_reg:
 
        mov     #0xaaaaaaaa, er0
        ldc     er0, vbr        ; set sbr to 0xaaaaaaaa
-       stc     vbr, er1        ; retreive and check sbr value
+       stc     vbr, er1        ; retrieve and check sbr value
 
        test_h_gr32 0xaaaaaaaa er1
        test_h_gr32 0xaaaaaaaa er0 ; Register 0 modified by test procedure.
index 9c2c27a8d786aef2bb27345e54809e777f29082b..63d27d45c1492458b8ebeb545af2fa112c3d64db 100644 (file)
@@ -326,7 +326,7 @@ tccr\@:     .byte   0
        mov.b   @tccr\@, r0l
        .endm
 
-; Test that all (accessable) condition codes are clear
+; Test that all (accessible) condition codes are clear
        .macro test_cc_clear
        test_carry_clear
        test_ovf_clear
index 97948f75f92d87fff767793e89fee1997c45c9af..e2799af80e1aa1909b303266c415f9e5d8d40ce8 100644 (file)
@@ -355,7 +355,7 @@ Multiply64 (int sign, unsigned long op0)
   hi   = (((op0 >> 16) & 0xFFFF) * ((op1 >> 16) & 0xFFFF));
   
   /* We now need to add all of these results together, taking care
-     to propogate the carries from the additions: */
+     to propagate the carries from the additions: */
   RdLo = Add32 (lo, (mid1 << 16), & carry);
   RdHi = carry;
   RdLo = Add32 (RdLo, (mid2 << 16), & carry);
index 6bd5fcfcc5c6ab5b65000d7ed31b53bb416dc366..1719cf8ef4a7421264925fe33ef07e550df5616b 100644 (file)
@@ -28,7 +28,7 @@ typedef struct _v850_regs {
   reg_t mpu0_sregs[28];         /* mpu0 system registers */
   reg_t mpu1_sregs[28];         /* mpu1 system registers */
   reg_t fpu_sregs[28];          /* fpu system registers */
-  reg_t selID_sregs[7][32];    /* system registers, selID 1 thru selID 7 */
+  reg_t selID_sregs[7][32];    /* system registers, selID 1 through selID 7 */
   reg64_t vregs[32];           /* vector registers.  */
 } v850_regs;
 
index 6b9a8bb4a5c5f0f14458ab2c760856e9e885ec7c..ef0f559bf94f367950c8432d4d62e4e4459688b6 100644 (file)
@@ -1149,7 +1149,7 @@ rrrrr,111111,RRRRR + wwww,0011110,mmmm,0:XI:::mac
   hi   = (((op0 >> 16) & 0xFFFF) * ((op1 >> 16) & 0xFFFF));
   
   /* We now need to add all of these results together, taking care
-     to propogate the carries from the additions: */
+     to propagate the carries from the additions: */
   RdLo = Add32 (lo, (mid1 << 16), & carry);
   RdHi = carry;
   RdLo = Add32 (RdLo, (mid2 << 16), & carry);
@@ -1214,7 +1214,7 @@ rrrrr,111111,RRRRR + wwww,0011111,mmmm,0:XI:::macu
   hi   = (((op0 >> 16) & 0xFFFF) * ((op1 >> 16) & 0xFFFF));
   
   /* We now need to add all of these results together, taking care
-     to propogate the carries from the additions: */
+     to propagate the carries from the additions: */
   RdLo = Add32 (lo, (mid1 << 16), & carry);
   RdHi = carry;
   RdLo = Add32 (RdLo, (mid2 << 16), & carry);