diff options
author | marcus <marcus> | 2003-09-07 20:56:46 +0000 |
---|---|---|
committer | marcus <marcus> | 2003-09-07 20:56:46 +0000 |
commit | b90d3c97c9ef64621f42e40258af9c571624f99f (patch) | |
tree | c014aba361ef9877f13b5b7fe7fe324cfd79cbfc /laden/laden.h | |
parent | 88c09341105f8e0ce3ff71d906ff247c4e2db174 (diff) |
Make things even more modular.
Diffstat (limited to 'laden/laden.h')
-rw-r--r-- | laden/laden.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/laden/laden.h b/laden/laden.h index 113f40b..8702c31 100644 --- a/laden/laden.h +++ b/laden/laden.h @@ -21,6 +21,7 @@ #include <l4.h> #include "string.h" #include "output.h" +#include "shutdown.h" #define PROGRAM_NAME "laden" @@ -68,12 +69,6 @@ extern int memory_map_size; /* Return a help text for this architecture. */ const char *help_arch (void); -/* Reset the machine. */ -void reset (void); - -/* Halt the machine. */ -void halt (void); - /* Load the system's memory descriptors into MEMDESC and return the number of memory descriptors loaded. NR is the maximum number of descriptors to be loaded. */ @@ -82,14 +77,10 @@ int load_mem_info (l4_memory_desc_t memdesc, int nr); /* The generic code defines these functions. */ -/* End the program with a failure. This can halt or reset the - system. */ -void shutdown (void); - /* Print an error message and fail. */ #define panic(...) \ ({ \ - printf ("laden: error: "); \ + printf (PROGRAM_NAME ": error: "); \ printf (__VA_ARGS__); \ putchar ('\n'); \ shutdown (); \ |