I think I fixed that. 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.
Please test on both systems assembler.cz/flashrom.exe
Signed-off-by: Rudolf Marek firstname.lastname@example.org