diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/prom.h | 7 | ||||
-rw-r--r-- | common/subarch.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/common/prom.h b/common/prom.h index 1a3acf5..9f81e76 100644 --- a/common/prom.h +++ b/common/prom.h @@ -1,4 +1,11 @@ + +/* + * Gets called before anything else - even the first printf + * + */ +void prom_init(void ); + void prom_restart(void ); void prom_return_interactive(void ); void prom_flush_cache_all(void ); diff --git a/common/subarch.h b/common/subarch.h index 28e2d1d..284d6ed 100644 --- a/common/subarch.h +++ b/common/subarch.h @@ -10,5 +10,6 @@ #define PAGE_SIZE 4096 #define STACK_PAGES 16 #define KSEG0ADDR(addr) (((addr) & 0x1fffffff) | 0x80000000) +#define KSEG1ADDR(addr) (((addr) & 0x1fffffff) | 0xa0000000) #endif |