diff options
author | grehan <grehan@FreeBSD.org> | 2004-02-04 12:57:41 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2004-02-04 12:57:41 +0000 |
commit | c1700601615abff9f54da6ddf9f3bec05d352fec (patch) | |
tree | dd23e07c79c5fbb59a8a26fb0ae3694a1a874b88 /sys/powerpc/aim/locore.S | |
parent | 6a5c53abb63246e5af9fa4c880f09017047ea2ab (diff) | |
download | FreeBSD-src-c1700601615abff9f54da6ddf9f3bec05d352fec.zip FreeBSD-src-c1700601615abff9f54da6ddf9f3bec05d352fec.tar.gz |
- Add definition for GET_CPUINFO, required by new trap_subr code
- garbage-collect unused defs
Diffstat (limited to 'sys/powerpc/aim/locore.S')
-rw-r--r-- | sys/powerpc/aim/locore.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/powerpc/aim/locore.S b/sys/powerpc/aim/locore.S index 734d409..2300d19 100644 --- a/sys/powerpc/aim/locore.S +++ b/sys/powerpc/aim/locore.S @@ -69,10 +69,9 @@ #include <machine/psl.h> #include <machine/asm.h> -/* - * Some instructions gas doesn't understand (yet?) - */ -#define bdneq bdnzf 2, +/* Locate the per-CPU data structure */ +#define GET_CPUINFO(r) \ + mfsprg0 r /* * Globals @@ -90,7 +89,6 @@ GLOBAL(powersave) .long 0 #define INTSTK 8192 /* 8K interrupt stack */ -#define SPILLSTK 4096 /* 4K spill stack */ /* * Dummy interrupt table to keep sysctl happy until @@ -103,7 +101,7 @@ GLOBAL(eintrnames) GLOBAL(intrcnt) .long 0 GLOBAL(eintrcnt) - + /* * File-scope for locore.S */ |