diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-05-26 15:19:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-05-26 15:19:33 -0400 |
commit | 7ba6b30ca97d98c1ed97af19eac446f8214454df (patch) | |
tree | 72800caac03fddf4dca23ba911a5c7448d18fe83 /src/apm.c | |
parent | 3e1b6496be3100d182b764a6eeee94e94e894185 (diff) | |
download | seabios-hppa-7ba6b30ca97d98c1ed97af19eac446f8214454df.zip seabios-hppa-7ba6b30ca97d98c1ed97af19eac446f8214454df.tar.gz seabios-hppa-7ba6b30ca97d98c1ed97af19eac446f8214454df.tar.bz2 |
Support config option to disable APM BIOS calls.
New option CONFIG_APMBIOS can be used to disable apm.
Diffstat (limited to 'src/apm.c')
-rw-r--r-- | src/apm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -183,6 +183,11 @@ handle_1553XX(struct bregs *regs) void VISIBLE16 handle_1553(struct bregs *regs) { + if (! CONFIG_APMBIOS) { + set_code_fail(regs, RET_EUNSUPPORTED); + return; + } + //debug_stub(regs); switch (regs->al) { case 0x00: handle_155300(regs); break; |