freebsd-nq/sys/arm/include
Attilio Rao 71a19bdc64 Commit the support for removing cpumask_t and replacing it directly with
cpuset_t objects.
That is going to offer the underlying support for a simple bump of
MAXCPU and then support for number of cpus > 32 (as it is today).

Right now, cpumask_t is an int, 32 bits on all our supported architecture.
cpumask_t on the other side is implemented as an array of longs, and
easilly extendible by definition.

The architectures touched by this commit are the following:
- amd64
- i386
- pc98
- arm
- ia64
- XEN

while the others are still missing.
Userland is believed to be fully converted with the changes contained
here.

Some technical notes:
- This commit may be considered an ABI nop for all the architectures
  different from amd64 and ia64 (and sparc64 in the future)
- per-cpu members, which are now converted to cpuset_t, needs to be
  accessed avoiding migration, because the size of cpuset_t should be
  considered unknown
- size of cpuset_t objects is different from kernel and userland (this is
  primirally done in order to leave some more space in userland to cope
  with KBI extensions). If you need to access kernel cpuset_t from the
  userland please refer to example in this patch on how to do that
  correctly (kgdb may be a good source, for example).
- Support for other architectures is going to be added soon
- Only MAXCPU for amd64 is bumped now

The patch has been tested by sbruno and Nicholas Esborn on opteron
4 x 12 pack CPUs. More testing on big SMP is expected to came soon.
pluknet tested the patch with his 8-ways on both amd64 and i386.

Tested by:	pluknet, sbruno, gianni, Nicholas Esborn
Reviewed by:	jeff, jhb, sbruno
2011-05-05 14:39:14 +00:00
..
_align.h
_bus.h
_inttypes.h
_limits.h Fix types of some values in machine/_limits.h. 2011-01-08 11:13:34 +00:00
_stdint.h On mixed 32/64 bit architectures (mips, powerpc) use __LP64__ rather than 2011-01-08 12:43:05 +00:00
_types.h Commit the support for removing cpumask_t and replacing it directly with 2011-05-05 14:39:14 +00:00
armreg.h Correct both FA526/FA626TE cpu ids since the cpu id is always 2010-02-20 14:52:07 +00:00
asm.h
asmacros.h
atomic.h
blockio.h
bootconfig.h
bus_dma.h
bus.h Revert r216134. This checkin broke platforms where bus_space are macros: 2010-12-03 07:09:23 +00:00
clock.h
cpu.h Make get_cyclecount(9) little bit more useful where binuptime(9) is used. 2011-03-14 23:30:14 +00:00
cpuconf.h Minor cosmetic changes 2010-11-09 09:34:21 +00:00
cpufunc.h Add basic cpu_sleep() support for Marvell SoCs. This drops my SheevaPlug's 2010-09-18 16:57:05 +00:00
db_machdep.h
disassem.h Catchup with new prototype for db_printf(). 2010-05-14 00:00:19 +00:00
elf.h Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the 2011-01-07 14:22:34 +00:00
endian.h
exec.h
fdt.h Introduce macro FDT_MAP_IRQ to map from an interrupt controller and 2011-01-29 20:25:20 +00:00
fiq.h
float.h
floatingpoint.h
fp.h
frame.h
gdb_machdep.h
ieee.h
ieeefp.h
in_cksum.h
intr.h
katelib.h
kdb.h
limits.h
machdep.h
md_var.h The FA526 belongs to the ARM9TDMI family 2010-05-12 05:50:56 +00:00
memdev.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
metadata.h Don't re-use MODINFOMD_BOOTINFO as MODINFOMD_DTBP. It breaks 2011-01-11 22:07:39 +00:00
minidump.h
ofw_machdep.h Initial FDT infrastructure elements for ARM. 2010-06-13 13:12:52 +00:00
param.h
pcb.h
pcpu.h
pmap.h Commit the support for removing cpumask_t and replacing it directly with 2011-05-05 14:39:14 +00:00
pmc_mdep.h
proc.h Make md_tp a register_t not a void *. This will keep us from 2011-02-05 03:30:29 +00:00
profile.h
psl.h
pte.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smp.h
stack.h
stdarg.h
swi.h
sysarch.h
trap.h
ucontext.h
undefined.h
utrap.h
vm.h
vmparam.h Move repeated MAXSLP definition from machine/vmparam.h to sys/vmmeter.h. 2011-01-09 12:50:44 +00:00