summaryrefslogtreecommitdiff
path: root/src/sercon.c
Commit message (Collapse)AuthorAgeFilesLines
* sercon: Fix missing GET_LOW() to access rx_bytesKevin O'Connor2022-01-271-9/+11
| | | | | | | | | | The variable rx_bytes is marked VARLOW, but there was a missing GET_LOW() to access rx_bytes. Fix by copying rx_bytes to a local variable and avoid the repetitive segment memory accesses. Reported-by: Gabe Black <gabe.black@gmail.com> Signed-off-by: Volker Rümelin <vr_qemu@t-online.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sercon: vbe modeset is int 10h function 4f02 not 4f00Gerd Hoffmann2020-03-171-1/+1
| | | | | | | | | Fixes console redirection for NetBSD primary bootloader. https://bugs.launchpad.net/bugs/1743191 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Kevin O'Connor <kevin@koconnor.net> Message-Id: <20200306090321.24811-1-kraxel@redhat.com>
* sercon: Disable ScreenAndDebug in case both serial console and serial debug ↵Gerd Hoffmann2017-11-031-0/+4
| | | | | | are active Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* add serial console supportGerd Hoffmann2017-09-221-0/+673
Redirect int10 calls to serial console output. Parse serial input and queue key events. The serial console can work both as primary display and in parallel to another vga display (splitmode). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>