[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

@@ -1,20 +1,7 @@
# top level project rules for the pc-x86-test project
#
LOCAL_DIR := $(GET_LOCAL_DIR)
ARCH := x86
SUBARCH := x86-32
TARGET := pc-x86
MODULES += \
app/shell \
app/pcitests
# extra rules to copy the pc-x86.conf file to the build dir
#$(BUILDDIR)/pc-x86.conf: $(LOCAL_DIR)/pc-x86.conf
# @echo copy $< to $@
# $(NOECHO)cp $< $@
#EXTRA_BUILDDEPS += $(BUILDDIR)/pc-x86.conf
#GENERATED += $(BUILDDIR)/pc-x86.conf
include project/target/pc.mk
include project/virtual/test.mk