freebsd-dev/sys/powerpc/include
Peter Wemm 2f9267ec23 Move the "- 1" into the RQB_FFS(mask) macro itself so that
implementations can provide a base zero ffs function if they wish.
This changes
  #define RQB_FFS(mask) (ffs64(mask))
  foo = RQB_FFS(mask) - 1;
to
  #define RQB_FFS(mask) (ffs64(mask) - 1)
  foo = RQB_FFS(mask);
On some platforms we can get the "- 1" for free, eg: those that use the
C code for ffs64().

Reviewed by:	jake (in principle)
2002-06-20 06:21:20 +00:00
..
_inttypes.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
_limits.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
ansi.h Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
asm.h - Rename the _C_LABEL macro to CNAME. 2002-05-17 01:44:55 +00:00
atomic.h Make atomic_cmpset_32 correctly return 0 on failure. 2002-02-24 23:31:49 +00:00
bat.h
bootinfo.h Remove __P. 2002-03-20 23:17:50 +00:00
bus.h Remove __P. 2002-03-20 23:17:50 +00:00
clock.h Remove __P. 2002-03-20 23:17:50 +00:00
cpu.h Move the kcopy() function from trap.c to machdep.c. Add a prototype. 2002-05-28 07:36:36 +00:00
cpufunc.h Add inlines for mtsrin and mfsrin. 2002-04-16 11:45:09 +00:00
critical.h Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +00:00
db_machdep.h Remove __P. 2002-03-20 23:17:50 +00:00
elf.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
endian.h Include <sys/cdefs.h> for definition of __BSD_VISIBLE. 2002-04-12 15:56:45 +00:00
exec.h
float.h An exact copy of i386/include/float.h will work here. 2002-05-15 20:54:35 +00:00
fpu.h FPU support. 2002-05-13 07:44:48 +00:00
frame.h - Move macros that represent where syscall args are kept in a trapframe from 2002-05-28 12:24:29 +00:00
ieeefp.h FPU support. 2002-05-13 07:44:48 +00:00
intr.h Remove __P. 2002-03-20 23:17:50 +00:00
ipl.h
limits.h o Add new header <sys/stdint.h>. 2001-11-02 18:05:43 +00:00
md_var.h Remove __P. 2002-03-20 23:17:50 +00:00
mutex.h Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
nexusvar.h Add a nexus device. 2002-04-15 12:29:18 +00:00
openpicreg.h Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
param.h Move MI stuff out of MD param.h files. 2002-05-14 20:35:29 +00:00
pcb.h FPU support. 2002-05-13 07:44:48 +00:00
pcpu.h FPU support. 2002-05-13 07:44:48 +00:00
pio.h
pmap.h Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
powerpc.h Get the correct memory regions from OpenFirmware. We were getting the 2002-05-27 11:18:12 +00:00
proc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +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 Remove __P. 2002-03-20 23:17:50 +00:00
reloc.h
resource.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
setjmp.h
sigframe.h
signal.h
smp.h
spr.h Rename the constants for the contents of the PVR register so as not to 2002-05-09 14:04:43 +00:00
sr.h style(9) 2002-02-18 06:24:55 +00:00
stdarg.h Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
trap.h Update to newer trap code from NetBSD. 2002-05-09 14:22:55 +00:00
types.h style(9) 2001-12-09 19:12:07 +00:00
ucontext.h
varargs.h Gcc 3.1 varargs support. 2002-05-10 02:12:04 +00:00
vmparam.h