diff options
author | marcus <marcus> | 2003-09-07 23:35:44 +0000 |
---|---|---|
committer | marcus <marcus> | 2003-09-07 23:35:44 +0000 |
commit | aab24c2000254793beeb5bf8d1004510b3bf0d18 (patch) | |
tree | 382fdaf0e15adfb37ab4727baf67bc5ddc406e48 /laden/laden.h | |
parent | 421980a4da2edc87e8658898c545b79d368d9c23 (diff) |
Check for conflicts with laden itself, and with the GRUB MBI.
Diffstat (limited to 'laden/laden.h')
-rw-r--r-- | laden/laden.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/laden/laden.h b/laden/laden.h index 8702c31..3c7d3cc 100644 --- a/laden/laden.h +++ b/laden/laden.h @@ -92,6 +92,12 @@ extern int debug; /* Print a debug message. */ #define debug(...) do { if (debug) printf (__VA_ARGS__); } while (0) +/* Add the region with the name NAME from START to END to the table of + regions to check against. Before doing that, check for overlaps + with existing regions, unless FORCE is true. */ +void loader_add_region (char *name, l4_word_t start, l4_word_t end, int force); + + /* Load the ELF images of the kernel and the initial servers into memory, checking for overlaps. Update the start and end information with the information from the ELF program, and fill in |