diff options
author | grehan <grehan@FreeBSD.org> | 2004-01-21 05:18:08 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2004-01-21 05:18:08 +0000 |
commit | 5f3a308886f7431d9ed1010debb5ed4d1eb698d1 (patch) | |
tree | a5b0e43f8ddd93cc44709f7e60a36150db7bd8c3 /sys/powerpc/aim/machdep.c | |
parent | ad056eebb840a8883b6460e1c3409b490a3d1654 (diff) | |
download | FreeBSD-src-5f3a308886f7431d9ed1010debb5ed4d1eb698d1.zip FreeBSD-src-5f3a308886f7431d9ed1010debb5ed4d1eb698d1.tar.gz |
- Catch up with panic __LINE__/__FILE__ changes by moving panic calls
out of asm.
- remove some long-dead code from machdep.c
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 008889d..b8b68ab 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -149,6 +149,8 @@ void install_extint(void (*)(void)); int setfault(faultbuf); /* defined in locore.S */ +void asm_panic(char *); + long Maxmem = 0; struct pmap ofw_pmap; @@ -239,17 +241,6 @@ extern void *tlbdlmiss, *tlbdlmsize; extern void *tlbdsmiss, *tlbdsmsize; extern void *extint, *extsize; -#if 0 /* XXX: interrupt handler. We'll get to this later */ -extern void ext_intr(void); -#endif - -#ifdef DDB -extern ddblow, ddbsize; -#endif -#ifdef IPKDB -extern ipkdblow, ipkdbsize; -#endif - void powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, void *mdp) { @@ -784,3 +775,8 @@ casuptr(intptr_t *p, intptr_t old, intptr_t new) return (-1); } +void +asm_panic(char *pstr) +{ + panic(pstr); +} |