Michael Brown
c10d1aa9d7
Preserve GDT across prot_call().
2006-05-06 18:52:27 +00:00
Michael Brown
dcc1b0054e
This line should not have been checked in
2006-05-04 23:22:42 +00:00
Michael Brown
832807726a
Add infrastructure to support access to .data16 (and .text16) variables
...
from protected-mode code.
Set up %ds to point to .data16 in prot_to_real, so that code specified
via REAL_EXEC() and friends can access variables in .data16.
Move most real-mode librm variables from .text16 to .data16.
2006-05-04 23:14:06 +00:00
Michael Brown
10c28a51bd
Create two easy-to-use entry points in libprefix: install and
...
install_prealloc. I *think* these will suffice for all the 16-bit
prefixes.
2006-05-02 20:51:07 +00:00
Michael Brown
9fcded3d23
Towards a(nother) new real-mode infrastructure, in which we take
...
advantage of the fact that we have to have a permanently-resident block
in base memory.
2006-05-02 15:41:21 +00:00
Michael Brown
4c4e4de18f
(librm_base-1b) is already an offset; no need to apply OFFSET().
...
Doing so, in fact, seems to expose an assembler bug; (a-b-0) is
apparently not the same as (a-b). Go figure.
2006-04-24 18:29:47 +00:00
Michael Brown
d3dec7c331
Update to cope with changes in registers.h
2005-05-20 11:23:51 +00:00
Michael Brown
04a99841e6
Make prot_call() able to transparently return via the newly installed copy
...
of librm.
2005-04-10 15:51:10 +00:00
Michael Brown
2fa14f2f1d
lgdt needs data32 prefix, otherwise it loads only 24 bits. (sgdt
...
always saves 32 bits).
2005-04-09 16:42:50 +00:00
Michael Brown
1f6dfd7047
Allow ourselves to be freed by basemem.c without being damaged.
2005-04-09 16:14:09 +00:00
Michael Brown
a800e9657d
PM function called by prot_call() should be allowed to modifying
...
registers returned to RM code.
2005-04-09 13:56:33 +00:00
Michael Brown
0ff80b477d
Merged mcb30-realmode-redesign back to HEAD
2005-04-08 15:01:17 +00:00