summaryrefslogtreecommitdiff
path: root/src/devices/oprom/x86emu
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-27 06:56:47 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-27 06:56:47 +0000
commit14e22779625de673569c7b950ecc2753fb915b31 (patch)
tree14a6ed759e116e9e6e9bbd7f499b74b96d6cc072 /src/devices/oprom/x86emu
parent0e1e8065e303030c39c3f2c27e5d32ee58a16c66 (diff)
Since some people disapprove of white space cleanups mixed in regular commits
while others dislike them being extra commits, let's clean them up once and for all for the existing code. If it's ugly, let it only be ugly once :-) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/oprom/x86emu')
-rw-r--r--src/devices/oprom/x86emu/decode.c2
-rw-r--r--src/devices/oprom/x86emu/ops2.c2
-rw-r--r--src/devices/oprom/x86emu/sys.c6
-rw-r--r--src/devices/oprom/x86emu/x86emui.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/oprom/x86emu/decode.c b/src/devices/oprom/x86emu/decode.c
index 3d2ba23566..ed96dc66e6 100644
--- a/src/devices/oprom/x86emu/decode.c
+++ b/src/devices/oprom/x86emu/decode.c
@@ -732,7 +732,7 @@ RETURNS:
Value of scale * index
REMARKS:
-Decodes scale/index of SIB byte and returns relevant offset part of
+Decodes scale/index of SIB byte and returns relevant offset part of
effective address.
****************************************************************************/
static unsigned decode_sib_si(
diff --git a/src/devices/oprom/x86emu/ops2.c b/src/devices/oprom/x86emu/ops2.c
index f5cb6498b1..349a664f50 100644
--- a/src/devices/oprom/x86emu/ops2.c
+++ b/src/devices/oprom/x86emu/ops2.c
@@ -170,7 +170,7 @@ static void x86emuOp2_rdmsr(u8 op2)
M.x86.R_EAX = 0;
DECODE_CLEAR_SEGOVR();
END_OF_INSTR();
-}
+}
#define xorl(a,b) (((a) && !(b)) || (!(a) && (b)))
diff --git a/src/devices/oprom/x86emu/sys.c b/src/devices/oprom/x86emu/sys.c
index 957e0ca63b..7a9e3921ec 100644
--- a/src/devices/oprom/x86emu/sys.c
+++ b/src/devices/oprom/x86emu/sys.c
@@ -85,7 +85,7 @@ RETURNS:
Byte value read from emulator memory.
REMARKS:
-Reads a byte value from the emulator memory.
+Reads a byte value from the emulator memory.
****************************************************************************/
u8 X86API rdb(u32 addr)
{
@@ -130,7 +130,7 @@ addr - Emulator memory address to read
RETURNS:
Long value read from emulator memory.
REMARKS:
-Reads a long value from the emulator memory.
+Reads a long value from the emulator memory.
****************************************************************************/
u32 X86API rdl(u32 addr)
{
@@ -189,7 +189,7 @@ addr - Emulator memory address to read
val - Value to store
REMARKS:
-Writes a long value to emulator memory.
+Writes a long value to emulator memory.
****************************************************************************/
void X86API wrl(u32 addr, u32 val)
{
diff --git a/src/devices/oprom/x86emu/x86emui.h b/src/devices/oprom/x86emu/x86emui.h
index d693e335f4..8ad43bfa30 100644
--- a/src/devices/oprom/x86emu/x86emui.h
+++ b/src/devices/oprom/x86emu/x86emui.h
@@ -75,7 +75,7 @@
#include <xf86_ansic.h>
#else
#include <string.h>
-#endif
+#endif
/*--------------------------- Inline Functions ----------------------------*/
#ifdef __cplusplus