aboutsummaryrefslogtreecommitdiffstats
path: root/src/system.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-03-09 00:59:58 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-03-09 00:59:58 -0500
commit843a62c3e54154077f0197f009491e2a712c3175 (patch)
tree77a37490f95ad4ce23daa9962a0717f8f5c2a079 /src/system.c
parentdcc7a4f3e7f829662f594d175ec9c145aa37e226 (diff)
downloadseabios-843a62c3e54154077f0197f009491e2a712c3175.tar.gz
Optimize insb/outsb/insw/etc. functions.
Use "string ops" to simplify port accesses. Always run "cld" on entry to C code.
Diffstat (limited to 'src/system.c')
-rw-r--r--src/system.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c
index b1e4fe89..1f34c97a 100644
--- a/src/system.c
+++ b/src/system.c
@@ -174,7 +174,6 @@ handle_1587(struct bregs *regs)
// move CX words from DS:SI to ES:DI
"xorw %%si, %%si\n"
"xorw %%di, %%di\n"
- "cld\n"
"rep movsw\n"
// reset PG bit in CR0 ???