Add infrastructure to support access to .data16 (and .text16) variables
authorMichael Brown <mcb30@etherboot.org>
Thu, 4 May 2006 23:14:06 +0000 (23:14 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 4 May 2006 23:14:06 +0000 (23:14 +0000)
commit832807726a76d2f47012f3df5b877173201e27ba
tree0d2080032bc1c6fe6b09d0f7fb30f492645a3224
parentf4429533a6d2174e5f5e7674159090a63032be1a
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.
src/arch/i386/prefix/libprefix.S
src/arch/i386/transitions/librm.S