[platform][pc] get working on legacy 386 PC

-Add support for x86 legacy mode, designed for 386+ instead of pentium+
-Fixup uart driver to support com2
-Stub out PCI driver properly
-Fixup IDE driver to detect legacy disks
This commit is contained in:
Travis Geiselbrecht
2018-12-30 21:03:27 -08:00
parent be72298b9c
commit 1fbb67228d
22 changed files with 301 additions and 77 deletions

View File

@@ -35,6 +35,7 @@ status_t device_init_all(void)
struct device *dev = __devices;
while (dev != __devices_end) {
dprintf(INFO, "dev: initializing device %s:%s\n", dev->driver->type, dev->name);
status_t code = device_init(dev);
if (code < 0) {