diff options
Diffstat (limited to 'pc-bios/optionrom/optionrom.h')
-rw-r--r-- | pc-bios/optionrom/optionrom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pc-bios/optionrom/optionrom.h b/pc-bios/optionrom/optionrom.h index 34d69af898..4dcb90645c 100644 --- a/pc-bios/optionrom/optionrom.h +++ b/pc-bios/optionrom/optionrom.h @@ -66,7 +66,10 @@ outw %ax, (%dx); \ mov $BIOS_CFG_IOPORT_DATA, %dx; \ cld; \ - rep insb (%dx), %es:(%edi); + /* old as(1) doesn't like this insn so emit the bytes instead: \ + rep insb (%dx), %es:(%edi); \ + */ \ + .dc.b 0x67,0xf3,0x6c #define OPTION_ROM_START \ .code16; \ |