447b3772dc
in the original hardwired sysctl implementation. The buf size calculator still overflows an integer on machines with large KVA (eg: ia64) where the number of pages does not fit into an int. Use 'long' there. Change Maxmem and physmem and related variables to 'long', mostly for completeness. Machines are not likely to overflow 'int' pages in the near term, but then again, 640K ought to be enough for anybody. This comes for free on 32 bit machines, so why not? |
||
---|---|---|
.. | ||
_inttypes.h | ||
_limits.h | ||
_stdint.h | ||
_types.h | ||
ansi.h | ||
asm.h | ||
atomic.h | ||
bat.h | ||
bootinfo.h | ||
bus_memio.h | ||
bus_pio.h | ||
bus.h | ||
clock.h | ||
cpu.h | ||
cpufunc.h | ||
critical.h | ||
db_machdep.h | ||
elf.h | ||
endian.h | ||
exec.h | ||
float.h | ||
fpu.h | ||
frame.h | ||
ieeefp.h | ||
in_cksum.h | ||
interruptvar.h | ||
intr_machdep.h | ||
intr.h | ||
ipl.h | ||
kse.h | ||
limits.h | ||
md_var.h | ||
metadata.h | ||
mutex.h | ||
nexusvar.h | ||
ofw_machdep.h | ||
openpicreg.h | ||
openpicvar.h | ||
param.h | ||
pcb.h | ||
pcpu.h | ||
pio.h | ||
pmap.h | ||
powerpc.h | ||
proc.h | ||
psl.h | ||
pte.h | ||
ptrace.h | ||
reg.h | ||
reloc.h | ||
resource.h | ||
runq.h | ||
setjmp.h | ||
sigframe.h | ||
signal.h | ||
smp.h | ||
spr.h | ||
sr.h | ||
stdarg.h | ||
trap.h | ||
ucontext.h | ||
varargs.h | ||
vmparam.h |