freebsd-skq/sys/sparc64
marcel 7e4265388d Introduce the cpumask_t type. The purpose of the type is to create a
level of abstraction for any and all CPU mask and CPU bitmap variables
so that platforms have the ability to break free from the hard limit
of 32 CPUs, simply because we don't have more bits in an u_int. Note
that the type is not supposed to solve massive parallelism, where
the number of CPUs can be larger than the width of the widest integral
type. As such, cpumask_t is not supposed to be a compound type. If
such would be necessary in the future, we can deal with the issues
then and there. For now, it can be assumed that the type is integral
and unsigned.

With this commit, all MD definitions start off as u_int. This allows
us to phase-in cpumask_t at our leasure without breaking anything.
Once cpumask_t is used consistently, platforms can switch to wider
(or smaller) types if such would be beneficial (or not; whatever :-)

Compile-tested on: i386
2004-03-20 20:41:40 +00:00
..
central Use M_WAITOK. 2003-02-19 17:25:58 +00:00
compile
conf - Recruit some new ULE users by making it the default scheduler in GENERIC. 2004-01-24 21:38:52 +00:00
creator Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
ebus s=include <ofw/=include <dev/ofw/= to reflect removal of -I$S/dev 2003-08-23 00:11:16 +00:00
fhc Fix definite panic when releasing interrupt resources. 2003-02-19 19:40:40 +00:00
include Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
isa sync comment with i386's isa.c.. This removes a comment that is YEARS 2004-03-17 21:45:55 +00:00
pci Don't confuse NULL with 0. 2003-12-26 14:04:19 +00:00
sbus Don't confuse NULL with 0. 2003-12-26 14:22:26 +00:00
sparc64 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00