Michael Brown
1ecb9acb87
Fix typo
před 17 roky
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
před 17 roky
Michael Brown
dca369ddc3
Call hide_etherboot() from startup(), rather than requiring the prefix to
do it.
před 18 roky
Michael Brown
0b0e34e667
Provide {get,set}_fbms() in basemem.h.
set_fbms() will also update the E820 hidden region.
před 18 roky
Michael Brown
aaed3d50a8
Some operating systems get a nasty shock if a region of the E820 map seems
to start on a non-page boundary. Make life safer by rounding out our
edited regions.
před 18 roky
Michael Brown
859da6bd32
Allow external code to update hidden memory regions.
před 18 roky
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.
před 18 roky
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
před 18 roky
Michael Brown
d82f71efd0
Also hide base memory region from E820 map.
před 18 roky
Michael Brown
f939ff7cb5
Fix printf format warning error
před 18 roky
Michael Brown
5e80847827
Code to install the new E820 mangler (which doesn't require copying
down to base memory, since it is now in the base-memory-resident
.text16 section).
před 18 roky
Michael Brown
3d6123e69a
Initial revision
před 19 roky