diff options
author | Martin Roth <martin.roth@se-eng.com> | 2013-07-08 16:24:19 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-07-10 20:17:25 +0200 |
commit | 63373edce006983d1e2aef7d71c1653ae337ed18 (patch) | |
tree | fdc6a687ac72663e19767296eb8cd25ee0d99c0e /src/device/oprom/x86emu | |
parent | 50d887d4f4f5f4c4717a2308f4bf069d86ca4ff7 (diff) |
device: Fix spelling
Change-Id: I53a40d114aa2da76398c5b97443d4096809dcf36
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/3730
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/device/oprom/x86emu')
-rw-r--r-- | src/device/oprom/x86emu/debug.h | 2 | ||||
-rw-r--r-- | src/device/oprom/x86emu/decode.c | 10 | ||||
-rw-r--r-- | src/device/oprom/x86emu/ops.c | 16 | ||||
-rw-r--r-- | src/device/oprom/x86emu/prim_ops.c | 14 | ||||
-rw-r--r-- | src/device/oprom/x86emu/sys.c | 4 | ||||
-rw-r--r-- | src/device/oprom/x86emu/x86emui.h | 2 |
6 files changed, 24 insertions, 24 deletions
diff --git a/src/device/oprom/x86emu/debug.h b/src/device/oprom/x86emu/debug.h index 1b2c3a3f1c..6858f15b4f 100644 --- a/src/device/oprom/x86emu/debug.h +++ b/src/device/oprom/x86emu/debug.h @@ -118,7 +118,7 @@ /* * The following allow us to look at the bytes of an instruction. The - * first INCR_INSTRN_LEN, is called everytime bytes are consumed in + * first INCR_INSTRN_LEN, is called every time bytes are consumed in * the decoding process. The SAVE_IP_CS is called initially when the * major opcode of the instruction is accessed. */ diff --git a/src/device/oprom/x86emu/decode.c b/src/device/oprom/x86emu/decode.c index ed96dc66e6..3d3f77dd1d 100644 --- a/src/device/oprom/x86emu/decode.c +++ b/src/device/oprom/x86emu/decode.c @@ -33,7 +33,7 @@ * Developer: Kendall Bennett * * Description: This file includes subroutines which are related to -* instruction decoding and accessess of immediate data via IP. etc. +* instruction decoding and accesses of immediate data via IP. etc. * ****************************************************************************/ @@ -43,7 +43,7 @@ /**************************************************************************** REMARKS: -Handles any pending asychronous interrupts. +Handles any pending asynchronous interrupts. ****************************************************************************/ static void x86emu_intr_handle(void) { @@ -77,7 +77,7 @@ next instruction. void x86emu_intr_raise( u8 intrnum) { - printf("%s, raising exeception %x\n", __func__, intrnum); + printf("%s, raising exception %x\n", __func__, intrnum); x86emu_dump_regs(); M.x86.intno = intrnum; M.x86.intr |= INTR_SYNCH; @@ -243,7 +243,7 @@ no segment override. Address modes such as -3[BP] or 10[BP+SI] all refer to addresses relative to SS (ie: on the stack). So, at the minimum, all decodings of addressing modes would have to set/clear a bit describing whether the access is relative to DS or SS. That is the function of the -cpu-state-varible M.x86.mode. There are several potential states: +cpu-state-variable M.x86.mode. There are several potential states: repe prefix seen (handled elsewhere) repne prefix seen (ditto) @@ -255,7 +255,7 @@ cpu-state-varible M.x86.mode. There are several potential states: gs segment override ss segment override - ds/ss select (in absense of override) + ds/ss select (in absence of override) Each of the above 7 items are handled with a bit in the mode field. ****************************************************************************/ diff --git a/src/device/oprom/x86emu/ops.c b/src/device/oprom/x86emu/ops.c index 6917a08162..c805b58c42 100644 --- a/src/device/oprom/x86emu/ops.c +++ b/src/device/oprom/x86emu/ops.c @@ -39,7 +39,7 @@ * to the 256 byte-"opcodes" found on the 8086. The table which * dispatches this is found in the files optab.[ch]. * -* Each opcode proc has a comment preceeding it which gives it's table +* Each opcode proc has a comment preceding it which gives it's table * address. Several opcodes are missing (undefined) in the table. * * Each proc includes information for decoding (DECODE_PRINTF and @@ -2530,7 +2530,7 @@ static void x86emuOp_movs_byte(u8 X86EMU_UNUSED(op1)) TRACE_AND_STEP(); count = 1; if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* move them until (E)CX is ZERO. */ count = (M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX; M.x86.R_CX = 0; @@ -2577,7 +2577,7 @@ static void x86emuOp_movs_word(u8 X86EMU_UNUSED(op1)) TRACE_AND_STEP(); count = 1; if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* move them until (E)CX is ZERO. */ count = (M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX; M.x86.R_CX = 0; @@ -2773,7 +2773,7 @@ static void x86emuOp_stos_byte(u8 X86EMU_UNUSED(op1)) inc = 1; TRACE_AND_STEP(); if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* move them until (E)CX is ZERO. */ while (((M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX) != 0) { store_data_byte_abs(M.x86.R_ES, M.x86.R_DI, M.x86.R_AL); @@ -2820,7 +2820,7 @@ static void x86emuOp_stos_word(u8 X86EMU_UNUSED(op1)) TRACE_AND_STEP(); count = 1; if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* move them until (E)CX is ZERO. */ count = (M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX; M.x86.R_CX = 0; @@ -2858,7 +2858,7 @@ static void x86emuOp_lods_byte(u8 X86EMU_UNUSED(op1)) else inc = 1; if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* move them until (E)CX is ZERO. */ while (((M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX) != 0) { M.x86.R_AL = fetch_data_byte(M.x86.R_SI); @@ -2905,7 +2905,7 @@ static void x86emuOp_lods_word(u8 X86EMU_UNUSED(op1)) TRACE_AND_STEP(); count = 1; if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* move them until (E)CX is ZERO. */ count = (M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX; M.x86.R_CX = 0; @@ -4075,7 +4075,7 @@ static void x86emuOp_xlat(u8 X86EMU_UNUSED(op1)) END_OF_INSTR(); } -/* instuctions D8 .. DF are in i87_ops.c */ +/* Instructions D8 .. DF are in i87_ops.c */ /**************************************************************************** REMARKS: diff --git a/src/device/oprom/x86emu/prim_ops.c b/src/device/oprom/x86emu/prim_ops.c index 20e75978e5..e73f217cda 100644 --- a/src/device/oprom/x86emu/prim_ops.c +++ b/src/device/oprom/x86emu/prim_ops.c @@ -134,7 +134,7 @@ static u32 x86emu_parity_tab[8] = /**************************************************************************** REMARKS: -implements side efects for byte operations that don't overflow +implements side effects for byte operations that don't overflow ****************************************************************************/ static void set_parity_flag(u32 res) @@ -790,7 +790,7 @@ u8 rcl_byte(u8 d, u8 s) /* OVERFLOW is set *IFF* cnt==1, then it is the xor of CF and the most significant bit. Blecck. */ /* parenthesized this expression since it appears to - be causing OF to be misset */ + be causing OF to be missed */ CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 6) & 0x2)), F_OF); @@ -1800,7 +1800,7 @@ void test_byte(u8 d, u8 s) CLEAR_FLAG(F_OF); set_szp_flags_8((u8)res); - /* AF == dont care */ + /* AF == don't care */ CLEAR_FLAG(F_CF); } @@ -1816,7 +1816,7 @@ void test_word(u16 d, u16 s) CLEAR_FLAG(F_OF); set_szp_flags_16((u16)res); - /* AF == dont care */ + /* AF == don't care */ CLEAR_FLAG(F_CF); } @@ -1832,7 +1832,7 @@ void test_long(u32 d, u32 s) CLEAR_FLAG(F_OF); set_szp_flags_32(res); - /* AF == dont care */ + /* AF == don't care */ CLEAR_FLAG(F_CF); } @@ -2311,7 +2311,7 @@ void ins(int size) inc = -size; } if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* in until (E)CX is ZERO. */ u32 count = ((M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX); @@ -2353,7 +2353,7 @@ void outs(int size) inc = -size; } if (M.x86.mode & (SYSMODE_PREFIX_REPE | SYSMODE_PREFIX_REPNE)) { - /* dont care whether REPE or REPNE */ + /* don't care whether REPE or REPNE */ /* out until (E)CX is ZERO. */ u32 count = ((M.x86.mode & SYSMODE_32BIT_REP) ? M.x86.R_ECX : M.x86.R_CX); diff --git a/src/device/oprom/x86emu/sys.c b/src/device/oprom/x86emu/sys.c index b3b3cd7123..9785a9dd77 100644 --- a/src/device/oprom/x86emu/sys.c +++ b/src/device/oprom/x86emu/sys.c @@ -35,7 +35,7 @@ * Description: This file includes subroutines which are related to * programmed I/O and memory access. Included in this module * are default functions with limited usefulness. For real -* uses these functions will most likely be overriden by the +* uses these functions will most likely be overridden by the * user library. * ****************************************************************************/ @@ -381,7 +381,7 @@ PARAMETERS: int - New software interrupt to prepare for REMARKS: -This function is used to set up the emulator state to exceute a software +This function is used to set up the emulator state to execute a software interrupt. This can be used by the user application code to allow an interrupt to be hooked, examined and then reflected back to the emulator so that the code in the emulator will continue processing the software diff --git a/src/device/oprom/x86emu/x86emui.h b/src/device/oprom/x86emu/x86emui.h index e34a1bad30..37339d5ffa 100644 --- a/src/device/oprom/x86emu/x86emui.h +++ b/src/device/oprom/x86emu/x86emui.h @@ -33,7 +33,7 @@ * Developer: Kendall Bennett * * Description: Header file for system specific functions. These functions -* are always compiled and linked in the OS depedent libraries, +* are always compiled and linked in the OS dependent libraries, * and never in a binary portable driver. * ****************************************************************************/ |