opnsense-src/sys/powerpc/include
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
..
_inttypes.h Since printf(3) now supports the `j' conversion specifier, use that 2002-06-30 05:48:03 +00:00
_limits.h sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
_stdint.h Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
_types.h Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
asm.h Put the right fix in. Instead of deleting the declaration of __FBSDID, we 2003-01-28 10:54:31 +00:00
atomic.h Fix bugs with operand ordering and unnecessary sync/eieio ops. Mostly 2003-01-18 11:28:36 +00:00
bat.h Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
bootinfo.h Remove __P. 2002-03-20 23:17:50 +00:00
bus.h - Introduce a new busdma flag BUS_DMA_ZERO to request for zero'ed 2003-07-27 13:52:10 +00:00
bus_memio.h 1) Add busdma machdep code. 2002-07-09 12:47:14 +00:00
bus_pio.h 1) Add busdma machdep code. 2002-07-09 12:47:14 +00:00
clock.h Remove __P. 2002-03-20 23:17:50 +00:00
cpu.h DELAY must be a routine, not a macro definition. 2003-09-26 09:02:24 +00:00
cpufunc.h Make breakpoint() actually break into ddb. 2003-12-09 13:37:31 +00:00
critical.h Fix syntax errors and wrong function prototypes in several MD header 2004-03-05 09:19:59 +00:00
db_machdep.h Clean up ddb warnings/errors and enable in GENERIC 2002-10-04 01:19:18 +00:00
elf.h Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
endian.h Deal with GCC annoyingly defining _BIG_ENDIAN. 2003-08-03 07:53:50 +00:00
exec.h PowerPC platform-specific page size setting. 2001-01-01 23:26:39 +00:00
float.h Update 128-bit long double constants to match what is expected 2004-01-21 04:56:39 +00:00
floatingpoint.h Add sys file required for IEEE fp functions. 2004-02-12 09:12:11 +00:00
fpu.h Not all cpus are MPC750s. Replace the MPC750 cpu option with OEA. This 2003-02-05 11:37:59 +00:00
frame.h <machine/types.> -> <sys/types.h> 2002-09-19 04:45:32 +00:00
hid.h Definitions for MPC7457 CPU type and HID0 bits 2004-02-09 00:12:50 +00:00
ieee.h <machine/ieee.h>, taken from sparc64 2003-01-18 11:30:59 +00:00
ieeefp.h FPU support. 2002-05-13 07:44:48 +00:00
in_cksum.h in_cksum et al. 2002-06-29 09:49:26 +00:00
interruptvar.h Add this file, which I forgot in a previous commit. 2002-07-09 12:50:58 +00:00
intr.h Remove __P. 2002-03-20 23:17:50 +00:00
intr_machdep.h Interrupt statistics, vmstat -i now works. 2004-02-11 13:18:31 +00:00
ipl.h This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
limits.h sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
md_var.h Further cleanup <machine/cpu.h> and <machine/md_var.h>: move the MI 2003-08-16 16:57:57 +00:00
metadata.h Slight reorg and added AMD64 support. A couple of the MODINFOMD_* values 2003-05-01 03:31:18 +00:00
mutex.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
nexusvar.h Remove hard-coded knowledge of specific OFW devices. Use bus_generic_probe 2004-01-13 11:20:52 +00:00
ofw_machdep.h Add the OF_getetheraddr function required by if_gem. 2002-07-09 13:43:06 +00:00
openpicreg.h Driver for OpenPIC compatible interrupt controllers. 2002-07-09 11:26:10 +00:00
openpicvar.h Make the OpenPic driver bus-independent, with attachments for 2004-01-13 11:24:36 +00:00
param.h Cleaned up param.h: 2004-02-11 07:27:34 +00:00
pcb.h Add the USER_SR segment register to pcb state. Initialize correctly, 2002-10-21 05:27:41 +00:00
pcpu.h Move temporary register save area from exception-vector memory to 2004-02-04 12:56:15 +00:00
pio.h Bring in NetBSD code used in the PowerPC port. 2001-06-10 02:39:37 +00:00
pmap.h Cleaned up param.h: 2004-02-11 07:27:34 +00:00
powerpc.h - removed obsolete ppc_exit/ppc_boot functions 2003-12-10 08:55:53 +00:00
proc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
profile.h Stub profile.h, required for userland builds. 2003-01-18 11:31:58 +00:00
psl.h Add the PSL_VEC flag for AltiVec (no, it's not here yet =)) 2002-05-19 04:03:11 +00:00
pte.h 1. Better track the executable status of mappings. 2002-05-09 14:09:19 +00:00
ptrace.h Move the definition of PT_[GS]ET{,DB,FP}REGS from the MD ptrace.h to the 2002-03-16 00:25:53 +00:00
reg.h Renamed poorly named setregs to exec_setregs. Moved its prototype to 2002-08-29 06:17:48 +00:00
reloc.h This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
resource.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
sc_machdep.h A syscons implementation using the 8-bit framebuffer set up by 2004-01-21 05:16:23 +00:00
setjmp.h Fix namespace issues by using visibility conditionals from 2002-10-05 05:47:56 +00:00
sf_buf.h - Modify alpha's sf_buf implementation to use the direct virtual-to- 2003-11-16 06:11:26 +00:00
sigframe.h Removed osigframe. No need for COMPAT_43 signal bin-compat in PPC. 2002-09-19 04:46:36 +00:00
signal.h Allow the MD frame definition to be seen in. Required for truss/ptrace. 2003-01-18 11:25:21 +00:00
smp.h This commit (along with one pending in sys/dev/ofw and one in sys/conf) give 2001-06-16 07:14:07 +00:00
spr.h Definitions for MPC7457 CPU type and HID0 bits 2004-02-09 00:12:50 +00:00
sr.h Increase kernel VA from 256Mb to 512Mb by shifting the segment used 2004-03-02 06:49:21 +00:00
stdarg.h o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
trap.h Update to newer trap code from NetBSD. 2002-05-09 14:22:55 +00:00
ucontext.h Kernel changes for libthr (and probably libpthread). 2004-03-02 06:13:09 +00:00
varargs.h Standardize idempotentcy ifdefs. Consistently use _MACHINE_VARARGS_H_ 2003-09-01 03:01:45 +00:00
vmparam.h Increase kernel VA from 256Mb to 512Mb by shifting the segment used 2004-03-02 06:49:21 +00:00