summaryrefslogtreecommitdiff
path: root/src/device/oprom/x86emu/prim_ops.c
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-08 16:24:19 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 20:17:25 +0200
commit63373edce006983d1e2aef7d71c1653ae337ed18 (patch)
treefdc6a687ac72663e19767296eb8cd25ee0d99c0e /src/device/oprom/x86emu/prim_ops.c
parent50d887d4f4f5f4c4717a2308f4bf069d86ca4ff7 (diff)
downloadcoreboot-63373edce006983d1e2aef7d71c1653ae337ed18.tar.xz
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/prim_ops.c')
-rw-r--r--src/device/oprom/x86emu/prim_ops.c14
1 files changed, 7 insertions, 7 deletions
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);