aboutsummaryrefslogtreecommitdiff
path: root/mubios/services/int15.c
Commit message (Collapse)AuthorAgeFilesLines
* [mubios] Implement serial input and BIOS console key handlingRichard Qin22 hours1-3/+3
| | | | | | Implement UART receive, transmit timeouts, configuration and status reporting for INT 14h functions 00h-03h. Initialize the BDA serial timeout and expose the driver interfaces. Translate terminal characters and CSI/SS3 escape sequences into BIOS keyboard events for INT 16h. Add blocking reads, non-consuming status queries, enhanced key reads and keyboard buffer insertion.
* [mubios] Derive the E820 map from the CMOS memory sizeRichard Qin24 hours1-2/+44
| | | | | | | | | | The E820 map ended the usable region at a hardcoded 0x08000000, so a guest with more RAM had the extra memory reported as reserved and ran out of memory during initramfs unpacking. Add cmos_read8() and size the extended memory entry from CMOS registers 0x34 and 0x35, falling back to the 16 MiB units in 0x30 and 0x31 and then to the previous 128 MiB end when neither is programmed.
* [mubios] Implement INT 15h E820hRichard Qin3 days1-0/+84
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>