Michael Brown
c980cdd0aa
Move memmap.h out of arch/i386; it no longer contains anything
architecture-dependent and is needed by the ELF code.
18 years ago
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
18 years ago
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
18 years ago
Michael Brown
1966945a5d
Update relocate() to work with get_memmap().
Change semantics; relocate() now just finds a suitable location; it
doesn't actually perform the relocation itself. Code in libprefix does
the copy in flat real mode.
18 years ago
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.
19 years ago
Michael Brown
352bf1bda2
Move init.h to gpxe/init.h.
19 years ago
Michael Brown
b9e72856b6
Post-relocation functions use the generic table mechanism.
20 years ago
Michael Brown
44c7cc8c12
Standardised debug mechanism in place now.
20 years ago
Michael Brown
f06e8c9707
Added post-relocation function table.
20 years ago
Michael Brown
44eee81d11
Don't build relocate() under KEEP_IT_REAL
20 years ago
Michael Brown
29f43896aa
Add relocate.h
Note that we can't make real-mode calls immediately after relocate_to().
20 years ago
Michael Brown
8039086ec8
Added a lot of explanatory comments.
Preserves alignment requested via _max_align parameter to linker.
20 years ago
Michael Brown
a4920c16bd
Moved relocate.c to arch-specific dir, since it involves arch-specific
logic (e.g. avoiding memory regions with A20=0).
20 years ago
Michael Brown
0ff80b477d
Merged mcb30-realmode-redesign back to HEAD
20 years ago
Michael Brown
3d6123e69a
Initial revision
20 years ago