1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

Fix the DOS port

Now the DS selector limit is set to 4GB and all mmio accesses goes
through DS, the 1:1 mapping is fixed so the _DS base is taken onto
account. Plus is that the hwaccess.c needs no change and memcpy etc can
be used on mmaped space.

Corresponding to flashrom svn r995.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz> 
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Rudolf Marek
2010-04-25 22:47:50 +00:00
parent ce1c798c1c
commit 837d810796
3 changed files with 34 additions and 76 deletions

View File

@ -202,12 +202,8 @@ endif
endif
ifeq ($(NEED_PCI), yes)
ifneq ($(OS_ARCH), DOS)
# FIXME This workaround is needed until libpci detection can handle
# cross-compiling for DOS.
CHECK_LIBPCI = yes
endif
endif
ifeq ($(NEED_PCI), yes)
FEATURE_CFLAGS += -D'NEED_PCI=1'