Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to

the canonical versions in kern_synch.c).  Define __HAVE_BIGENDIAN_BITOPS
so the canonical versions will be used but will store priorities in the
desired (MSB) order for PowerPC (which allows the use of the cntlzw (count
leading zeroes, word) instruction in locore_subr.S to find the proper
priority).
This commit is contained in:
matt 2003-07-18 01:08:10 +00:00
parent 0c7a583f3a
commit 5819fb160d
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.powerpc,v 1.49 2003/05/08 12:38:36 christos Exp $
# $NetBSD: files.powerpc,v 1.50 2003/07/18 01:08:11 matt Exp $
defflag opt_altivec.h ALTIVEC K_ALTIVEC
defflag opt_openpic.h OPENPIC OPENPIC_SERIAL_MODE
@ -6,7 +6,6 @@ defparam opt_ppcparam.h L2CR_CONFIG L3CR_CONFIG INTSTK SPILLSTK CLOCKBASE
defflag opt_ppcarch.h PPC_OEA PPC_MPC8XX PPC_IBM4XX PPC_IBM403
defflag opt_pmap.h PMAPDEBUG PMAPCHECK PMAPCOUNTERS
file arch/powerpc/powerpc/locore_c.c
file arch/powerpc/powerpc/copystr.c
file arch/powerpc/powerpc/fubyte.c
file arch/powerpc/powerpc/fuswintr.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.20 2003/04/28 23:16:23 bjh21 Exp $ */
/* $NetBSD: types.h,v 1.21 2003/07/18 01:08:11 matt Exp $ */
/*-
* Copyright (C) 1995 Wolfgang Solfrank.
@ -62,6 +62,6 @@ typedef struct label_t {
#define __HAVE_CPU_COUNTER
#define __HAVE_SYSCALL_INTERN
#define __HAVE_MD_RUNQUEUE
#define __HAVE_BITENDIAN_BITOPS /* for cntlzw in locore_subr.S */
#endif /* _MACHTYPES_H_ */