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