diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-05-28 09:09:05 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-05-28 09:09:05 -0400 |
commit | c58799cbee6a7a97ad8253494232da29b4a1b275 (patch) | |
tree | 8e8a523a7d72f7d000ae0a92786920b6fc117621 /vgasrc | |
parent | e51488c5f8800a52ac5c8da7a31b85cca5cc95d2 (diff) | |
download | seabios-hppa-c58799cbee6a7a97ad8253494232da29b4a1b275.zip seabios-hppa-c58799cbee6a7a97ad8253494232da29b4a1b275.tar.gz seabios-hppa-c58799cbee6a7a97ad8253494232da29b4a1b275.tar.bz2 |
vgabios: Return from handle_1011() if handler found.
Fix cut-and-paste error in handle_1011() causing spurious debug_stub()
calls when CONFIG_VGA_STDVGA_PORTS is enabled.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc')
-rw-r--r-- | vgasrc/vgabios.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c index 400e296..e87b7eb 100644 --- a/vgasrc/vgabios.c +++ b/vgasrc/vgabios.c @@ -891,15 +891,15 @@ handle_1011(struct bregs *regs) { if (CONFIG_VGA_STDVGA_PORTS) { switch (regs->al) { - case 0x00: handle_101100(regs); break; - case 0x01: handle_101101(regs); break; - case 0x02: handle_101102(regs); break; - case 0x03: handle_101103(regs); break; - case 0x04: handle_101104(regs); break; - case 0x10: handle_101110(regs); break; - case 0x11: handle_101111(regs); break; - case 0x12: handle_101112(regs); break; - case 0x14: handle_101114(regs); break; + case 0x00: handle_101100(regs); return; + case 0x01: handle_101101(regs); return; + case 0x02: handle_101102(regs); return; + case 0x03: handle_101103(regs); return; + case 0x04: handle_101104(regs); return; + case 0x10: handle_101110(regs); return; + case 0x11: handle_101111(regs); return; + case 0x12: handle_101112(regs); return; + case 0x14: handle_101114(regs); return; } } switch (regs->al) { |