summaryrefslogtreecommitdiff
path: root/util/vgabios/x86emu
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-11-28 04:39:45 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-11-28 04:39:45 +0000
commit284c27f29971326bd786e89c1ceb3f51a53203db (patch)
treef33b9ced0942a0fcb3f815730761adc22cf5142f /util/vgabios/x86emu
parent637b6998650619252b89e29f2add0167780e70db (diff)
fixes to make adl855pc compile.
fixes to emulator. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1806 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/vgabios/x86emu')
-rw-r--r--util/vgabios/x86emu/src/x86emu/decode.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/vgabios/x86emu/src/x86emu/decode.c b/util/vgabios/x86emu/src/x86emu/decode.c
index 3844d985f9..a97edd92a6 100644
--- a/util/vgabios/x86emu/src/x86emu/decode.c
+++ b/util/vgabios/x86emu/src/x86emu/decode.c
@@ -669,7 +669,12 @@ u16 *decode_rm_seg_register(int reg)
DECODE_PRINTF("DS");
return &M.x86.R_DS;
case 4:
- case 5:
+ DECODE_PRINTF("FS");
+ return &M.x86.R_FS;
+ case 5:
+ DECODE_PRINTF("GS");
+ return &M.x86.R_GS;
+
case 6:
case 7:
DECODE_PRINTF("ILLEGAL SEGREG");