summaryrefslogtreecommitdiff
path: root/src/device/oprom/include/x86emu
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/include/x86emu
parent50d887d4f4f5f4c4717a2308f4bf069d86ca4ff7 (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/include/x86emu')
-rw-r--r--src/device/oprom/include/x86emu/regs.h4
-rw-r--r--src/device/oprom/include/x86emu/x86emu.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/device/oprom/include/x86emu/regs.h b/src/device/oprom/include/x86emu/regs.h
index d738974d4b..4bf1294e88 100644
--- a/src/device/oprom/include/x86emu/regs.h
+++ b/src/device/oprom/include/x86emu/regs.h
@@ -231,8 +231,8 @@ struct i386_segment_regs {
#define SYSMODE_PREFIX_REPNE 0x00000100
#define SYSMODE_PREFIX_DATA 0x00000200
#define SYSMODE_PREFIX_ADDR 0x00000400
-//phueper: for REP(E|NE) Instructions, we need to decide wether it should be using
-//the 32bit ECX register as or the 16bit CX register as count register
+//phueper: for REP(E|NE) Instructions, we need to decide whether it should be
+//using the 32bit ECX register as or the 16bit CX register as count register
#define SYSMODE_32BIT_REP 0x00000800
#define SYSMODE_INTR_PENDING 0x10000000
#define SYSMODE_EXTRN_INTR 0x20000000
diff --git a/src/device/oprom/include/x86emu/x86emu.h b/src/device/oprom/include/x86emu/x86emu.h
index 3ceee4985b..b912bd2c77 100644
--- a/src/device/oprom/include/x86emu/x86emu.h
+++ b/src/device/oprom/include/x86emu/x86emu.h
@@ -59,11 +59,11 @@
/****************************************************************************
REMARKS:
-Data structure containing ponters to programmed I/O functions used by the
+Data structure containing pointers to programmed I/O functions used by the
emulator. This is used so that the user program can hook all programmed
I/O for the emulator to handled as necessary by the user program. By
default the emulator contains simple functions that do not do access the
-hardware in any way. To allow the emualtor access the hardware, you will
+hardware in any way. To allow the emulator access the hardware, you will
need to override the programmed I/O functions using the X86EMU_setupPioFuncs
function.
@@ -89,11 +89,11 @@ typedef struct {
/****************************************************************************
REMARKS:
-Data structure containing ponters to memory access functions used by the
+Data structure containing pointers to memory access functions used by the
emulator. This is used so that the user program can hook all memory
access functions as necessary for the emulator. By default the emulator
contains simple functions that only access the internal memory of the
-emulator. If you need specialised functions to handle access to different
+emulator. If you need specialized functions to handle access to different
types of memory (ie: hardware framebuffer accesses and BIOS memory access
etc), you will need to override this using the X86EMU_setupMemFuncs
function.