Michael Brown
1ecb9acb87
Fix typo
пре 17 година
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
пре 17 година
Michael Brown
dca369ddc3
Call hide_etherboot() from startup(), rather than requiring the prefix to
do it.
пре 18 година
Michael Brown
0b0e34e667
Provide {get,set}_fbms() in basemem.h.
set_fbms() will also update the E820 hidden region.
пре 18 година
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.
пре 18 година
Michael Brown
859da6bd32
Allow external code to update hidden memory regions.
пре 18 година
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 година
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
пре 18 година
Michael Brown
d82f71efd0
Also hide base memory region from E820 map.
пре 18 година
Michael Brown
f939ff7cb5
Fix printf format warning error
пре 18 година
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).
пре 18 година
Michael Brown
3d6123e69a
Initial revision
пре 19 година