diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2013-02-14 09:07:35 +0000 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-15 22:48:29 -0500 |
commit | 0feab5362789f559a66c0397a2f3aa4c30619ccc (patch) | |
tree | 541130b1219f3c8fe091a81a132e5d9143ca83a3 | |
parent | 5cf799be76ec7febbe332641f7feb2b76300b6ba (diff) | |
download | seabios-0feab5362789f559a66c0397a2f3aa4c30619ccc.zip seabios-0feab5362789f559a66c0397a2f3aa4c30619ccc.tar.gz seabios-0feab5362789f559a66c0397a2f3aa4c30619ccc.tar.bz2 |
Implement !CONFIG_OPTIONROMS support for CSM
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | src/csm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -187,6 +187,11 @@ handle_csm_0005(struct bregs *regs) struct rom_header *rom; u16 bdf; + if (!CONFIG_OPTIONROMS) { + regs->ax = 1; + return; + } + dprintf(3, "Legacy16DispatchOprom rom %p\n", table); dprintf(3, "OpromSegment %04x\n", table->OpromSegment); |