1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/alpha/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
..
pc
_inttypes.h
_limits.h
alpha_cpu.h
ansi.h Opps, remove added bogon. 2002-05-10 02:21:05 +00:00
asm.h ASM versions of __FBSDID. 2002-03-23 02:01:27 +00:00
atomic.h - Apparently, the Alpha ABI mandates that arguments be passed sign-extended 2002-05-17 05:45:39 +00:00
bootinfo.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
bus_memio.h
bus_pio.h
bus.h
bwx.h
chipset.h
clock.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
clockvar.h
cpu.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
cpuconf.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
cpufunc.h Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +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(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +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 Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
floatingpoint.h
fpu.h
frame.h
ieee.h
ieeefp.h
in_cksum.h
inst.h
intr.h
intrcnt.h
ioctl_bt848.h
ioctl_meteor.h
limits.h
md_var.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
mutex.h
pal.h
param.h Move MI stuff out of MD param.h files. 2002-05-14 20:35:29 +00:00
pcb.h
pcpu.h
pmap.h Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
proc.h Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
profile.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
prom.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
psl.h
pte.h
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(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
reloc.h
resource.h
rpb.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
sgmap.h
sigframe.h
signal.h
smp.h
stdarg.h Gcc 3.1 varargs support. 2002-05-10 02:02:54 +00:00
swiz.h
sysarch.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
types.h
ucontext.h
varargs.h Gcc 3.1 varargs support. 2002-05-10 02:02:54 +00:00
vmparam.h