dosemu2:mapbase

Last commit made on 2020-05-05
Get this branch:
git clone -b mapbase https://git.launchpad.net/dosemu2

Branch merges

Branch information

Name:
mapbase
Repository:
lp:dosemu2

Recent commits

1299c01... by stsp

mapping: separate mem base for simx86

a874990... by stsp

mapping: provide DPMI memory aliasing

This is needed to be able to apply different protections to
different mem bases. Note that it is (almost) impossible to
keep DPMI mem unaliased if one wants to create the separate
lowmem base for JIT. I.e. if you have MEM_BASE unprotected
and spanning both lowmem and DPMI, and EMU_BASE only for vm86jit,
then DPMI jit won't work on that EMU_BASE alias. You need
EMU_BASE spanning DPMI too, to allow DPMI jit to use it.
It is possible to hack up jit to use weird layouts, but it
will be slower. Better to add DPMI alias.

TODO: do something about fixed-addr linear allocs.

7f971b7... by stsp

memory: define mem_base as a macro

Export mem_bases instead.
Had to prepend mem_base with underscore in simx86, to avoid
the macro expansion for its private member with the same name.
Also replace most of MAP_FAILED with (void *)-1 to avoid the
inclusion of sys/mman.h everywhere.

b313620... by stsp

mapping: prepare for per-base protections

But don't export the new API yet, as there are no users.

659d347... by stsp

Merge pull request #1135 from bartoldeman/simx86-gen-pushf

simx86: generate code for pushf in v86 mode.

f9c3178... by stsp

int: disable crasher assert

It can be triggered by random code execution that
calls a boot helper.

a7e3612... by Bart Oldeman <email address hidden>

simx86: IOPL=3 in eflags + code generation for v86 pushf

Using IOPL=3 simplifies IF flag processing by PUSHF/POPF etc, since
shifting to VIF is more work; also using VIF in PUSHF/POPF for
DPMI is cheating a little since the CPU doesn't trap them natively
and doesn't use VIF/VIP even with PVI unfortunately.

Programs shouldn't see much difference except that now for DPMI
IOPL=3 in the stack image of PUSHF (it was already 3 for vm86, no
changes there). There may be some DOS extenders sensitive to this.

126d7ae... by stsp

Merge pull request #1139 from dosemu2/trav

travis: disable force_fs_redirect

bf9417a... by stsp

travis: disable force_fs_redirect

e3325e3... by stsp

Merge pull request #1134 from andrewbird/fdpp-debug-build

Fdpp debug build