diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-06-15 00:38:38 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-06-15 00:38:38 +0000 |
commit | 5d35036d80356155d9154d1a5fb6bd25ba635509 (patch) | |
tree | 3242aa7f20279659be82bc23e379c1474a214a65 /sys | |
parent | 22472b0b042e835758f2cbd15c0f74b16c6fbaf9 (diff) |
gc some leftovers from sparc.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/locore.s | 41 |
2 files changed, 2 insertions, 45 deletions
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h index ae3409b7411..1f3e8743857 100644 --- a/sys/arch/sparc64/include/param.h +++ b/sys/arch/sparc64/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.9 2002/06/12 01:49:43 art Exp $ */ +/* $OpenBSD: param.h,v 1.10 2002/06/15 00:38:37 art Exp $ */ /* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */ /* @@ -256,10 +256,6 @@ extern int nbpg, pgofset, pgshift; extern void delay(unsigned int); #define DELAY(n) delay(n) -extern int cputyp; -extern int cpumod; -extern int mmumod; - #endif /* _LOCORE */ #endif /* _KERNEL */ diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index 1b2469b33c0..98da23fad3b 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.17 2002/06/09 05:55:24 art Exp $ */ +/* $OpenBSD: locore.s,v 1.18 2002/06/15 00:38:37 art Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -424,49 +424,10 @@ _C_LABEL(cpcb): POINTER _C_LABEL(u0) .globl romp romp: POINTER 0 - -/* NB: Do we really need the following around? */ -/* - * _cputyp is the current cpu type, used to distinguish between - * the many variations of different sun4* machines. It contains - * the value CPU_SUN4, CPU_SUN4C, or CPU_SUN4M. - */ - .globl _C_LABEL(cputyp) -_C_LABEL(cputyp): - .word 1 -/* - * _cpumod is the current cpu model, used to distinguish between variants - * in the Sun4 and Sun4M families. See /sys/arch/sparc64/include/param.h - * for possible values. - */ - .globl _C_LABEL(cpumod) -_C_LABEL(cpumod): - .word 1 -/* - * _mmumod is the current mmu model, used to distinguish between the - * various implementations of the SRMMU in the sun4m family of machines. - * See /sys/arch/sparc64/include/param.h for possible values. - */ - .globl _C_LABEL(mmumod) -_C_LABEL(mmumod): - .word 0 - .globl _C_LABEL(cold) _C_LABEL(cold): .word 1 -/* - * There variables are pointed to by the cpp symbols PGSHIFT, NBPG, - * and PGOFSET. - */ - .globl _C_LABEL(pgshift), _C_LABEL(nbpg), _C_LABEL(pgofset) -_C_LABEL(pgshift): - .word 0 -_C_LABEL(nbpg): - .word 0 -_C_LABEL(pgofset): - .word 0 - _ALIGN .text |