memdisk: relocate real-mode code before booting
authorH. Peter Anvin <hpa@zytor.com>
Mon, 8 Jun 2009 01:25:09 +0000 (18:25 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 8 Jun 2009 01:25:09 +0000 (18:25 -0700)
commit29dea87ef5ea27bd94eb6aa880cfc0a9ee4aa308
tree2b66cf11e523114dd2564211cef22f7bc7421ed8
parent788de9d8dc339c5fe99029131eb6e2c152181c6a
memdisk: relocate real-mode code before booting

Relocate the real-mode code before booting.  This allows the target
bootstrap to be loaded at an arbitrary address, not necessarily
0x7c00, and to be almost arbitrarily long.

Add some initial infrastructure for other bootstrap addresses, too.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
memdisk/Makefile
memdisk/memdisk.h
memdisk/memdisk16.asm
memdisk/setup.c