freebsd-dev/sys/ia64
Marcel Moolenaar a36bdc0606 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
..
acpica Return AE_OK for stub functions returning ACPI_STATUS, not NULL 2003-12-24 05:26:26 +00:00
compile
conf Remove the last traditional hints. These hints only served the purpose 2004-03-20 04:23:03 +00:00
disasm Remove two unused fields in the operand structure (o_read & o_write). 2003-10-24 02:05:53 +00:00
ia32 Add missing #include "opt_compat.h" so that the compatability function 2003-12-18 06:59:18 +00:00
ia64 Refactor the existing machine-dependent sf_buf_free() into a machine- 2004-03-16 19:04:28 +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