NetBSD/sys/sys
dyoung 64311e1f9d Introduce a couple of new constants, VMEM_ADDR_MIN (the least possible
address in a vmem(9) arena, 0) and VMEM_ADDR_MAX (the maximum possible
address, currently 0xFFFFFFFF).  Modify several boundary conditions so
that a vmem(9) arena can allocate ranges including VMEM_ADDR_MAX.
Update documentation and tests.

These changes pass the tests in sys/kern/subr_vmem.c.  To compile the
and run the test program, run "cd sys/kern/ && gcc -DVMEM_SANITY -o
subr_vmem ./subr_vmem.c && ./subr_vmem".
2011-08-23 22:00:57 +00:00
..
Makefile Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel. 2011-08-07 13:33:01 +00:00
acct.h
agpio.h add AGP v3 support to agp_generic_enable from FreeBSD 2011-02-15 08:57:01 +00:00
aio.h
ansi.h Retire varargs.h support. Move machine/stdarg.h logic into MI 2011-07-17 20:54:30 +00:00
aout_mids.h
ataio.h
atomic.h
audioio.h
bitops.h add a cast (for _LP64), and mark a variable unused. 2011-07-30 16:35:58 +00:00
blist.h
boot_flag.h
bootblock.h Support booting from GPT-partioned disks on PC-BIOS-compatible systems. 2011-01-06 01:08:48 +00:00
bswap.h
buf.h Remove no longer needed flag BC_SCANNED /* Block already pushed during sync */. 2011-04-27 09:47:25 +00:00
bufq.h
bufq_impl.h
bus.h Put back bus_space_handle_is_equal() and bus_space_is_equal() in 2011-08-20 06:00:14 +00:00
bus_proto.h Add missing prototypes for bus_*_is_equal functions. 2011-08-17 10:46:38 +00:00
callback.h
callout.h
cctr.h
cdefs.h Add __strict_weak_alias(), the type-safe alternative to __weak_alias(). 2011-08-16 23:30:24 +00:00
cdefs_aout.h
cdefs_elf.h use a comma in attribute list; from from gcc.info (5.25 Attribute Syntax): 2011-03-24 07:28:28 +00:00
cdio.h
chio.h
clockctl.h
condvar.h
conf.h Welcome to 5.99.53! Merge rmind-uvmplock branch: 2011-06-12 03:35:36 +00:00
core.h
cpu.h Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel. 2011-08-07 13:33:01 +00:00
cpu_data.h Add PCU (Per-CPU Unit) - an interface to manage synchronization of any 2011-02-17 18:32:29 +00:00
cpuio.h
ctype_bits.h Prefix ctype bitmask macros with _CTYPE 2010-12-14 02:28:57 +00:00
ctype_inline.h Prefix ctype bitmask macros with _CTYPE 2010-12-14 02:28:57 +00:00
debug.h
device.h - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
device_if.h A pointer typedef entails trading too much flexibility to declare const 2010-02-24 22:37:54 +00:00
devmon.h
dir.h
dirent.h __typeof__, not __typeof, to avoid confusing passersby. 2011-08-09 20:05:04 +00:00
dirhash.h
disk.h
disklabel.h 7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8). 2011-06-27 11:52:22 +00:00
disklabel_acorn.h
disklabel_gpt.h #define is followed by tab, not space. 2011-08-16 14:04:26 +00:00
disklabel_rdb.h Add definition for MSD(FAT) and SFS(Smart FS). 2010-06-19 08:45:25 +00:00
dkbad.h
dkio.h Make struct disklabel 8 byte aligned. This increases its size by 4 bytes 2011-01-18 19:52:23 +00:00
dkstat.h
domain.h * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
drvctlio.h
dtrace_bsd.h kdtrace_{pro,thread}c_ctor: use kmem_zalloc(), instead of manual memset(). 2010-06-04 23:17:28 +00:00
dvdio.h
endian.h
envsys.h Move definitions of internal data structures and flag bits to avoid 2010-02-28 20:04:04 +00:00
errno.h
evcnt.h Add EVCNT_TYPE_ANY for sysctl. Fix EVCNT_STRING_MAX fencepost error. 2011-01-29 18:21:22 +00:00
event.h * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
eventvar.h
exec.h Refactor ps_strings access. Based on PK_32, write either the normal 2011-03-04 22:25:24 +00:00
exec_aout.h
exec_coff.h
exec_ecoff.h Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly 2009-12-10 14:13:48 +00:00
exec_elf.h Replace the word `NetBSD' with `SuSE' in the rest of comments 2011-08-03 00:22:05 +00:00
exec_script.h
extattr.h Make cp -p and mv preverve extended attributes, and complain if they cannot. 2011-08-03 04:11:15 +00:00
extent.h
fcntl.h improve comment about AT_* defines: they are not only used by linkat(2) 2011-08-09 04:19:17 +00:00
fd_set.h Cast FD_* argument to unsiged, shut ups lint. 2010-07-08 18:56:17 +00:00
fdio.h
featuretest.h
file.h - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
fileassoc.h
filedesc.h * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
filio.h
flashio.h add flash_addr_t 2011-06-28 20:49:43 +00:00
float_ieee754.h Use a builtin __FOO__ for FOO if >= GCC 3.3 2011-07-07 18:23:18 +00:00
fstrans.h
fstypes.h Add mount -o extattr option to enable extended attributs (corrently only 2011-06-17 14:23:50 +00:00
gcq.h
gennameih.awk Print pathnames for created files. No change to generated files. 2009-12-23 14:17:19 +00:00
gmon.h
gpio.h Add GPIO_PIN_INTR and GPIO_PIN_INTR_HIGH (placeholders for now). 2011-06-23 00:46:37 +00:00
hash.h
idle.h
ieee754.h
intr.h
inttypes.h
ioccom.h
ioctl.h
ioctl_compat.h
iostat.h
ipc.h Remove clause 3 (UCB advertising clause) from the University of Utah 2011-02-08 20:20:06 +00:00
joystick.h
kauth.h Rename KAUTH_GENERIC_CANSEE to KAUTH_GENERIC_UNUSED1 and remove handling for 2009-12-24 19:02:07 +00:00
kcore.h Add a structure tag for phys_ram_seg_t. 2011-01-18 08:17:39 +00:00
kcpuset.h #include <sys/sched.h> since it's a dependency 2011-08-08 17:53:29 +00:00
kern_ctf.h DTrace: Add support for CTF sections in the netbsd elf image, load these 2010-03-12 21:43:10 +00:00
kernel.h
kernhist.h Protoize the inline to C89 and use const. 2011-06-10 14:59:35 +00:00
kgdb.h Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen. 2011-04-03 22:29:25 +00:00
kmem.h Add kmem_asprintf rotuine which allocates string accordingly to format 2010-02-11 23:13:46 +00:00
kobj.h Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
kobj_impl.h Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
kprintf.h Retire varargs.h support. Move machine/stdarg.h logic into MI 2011-07-17 20:54:30 +00:00
ksem.h
ksyms.h DTrace: include in opt_dtrace.h so it will build with DTrace. 2010-03-15 02:28:59 +00:00
kthread.h Rename slightly misleading KTHREAD_JOINABLE to KTHREAD_MUSTJOIN. 2011-08-07 14:03:15 +00:00
ktrace.h kern/42030 - tracking of file descriptors by ktrace/kdump 2011-06-01 21:24:59 +00:00
localedef.h
lock.h Remove vlockmgr(). Generic vnode lock operations now use a rwlock located 2010-07-01 13:00:54 +00:00
lockdebug.h
lockf.h
lwp.h Remove LW_AFFINITY flag and fix some bugs affinity mask handling. 2011-08-07 21:13:05 +00:00
lwpctl.h
malloc.h Remove M_IOV (missed in previous commit) and M_1394DATA types. 2010-04-23 19:09:15 +00:00
mallocvar.h Follow christos' suggestions, and make ks_active a u_short, and 2010-04-05 08:03:41 +00:00
mbuf.h Miscellaneous mbuf changes: 2011-08-08 19:10:33 +00:00
md4.h
md5.h
midiio.h
mman.h
module.h Always provide a meaningful short name for the kobj in the error message, 2011-08-13 21:04:05 +00:00
mount.h 7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8). 2011-06-27 11:52:22 +00:00
mqueue.h - Move some checks into mqueue_get() and avoid some duplication. 2011-04-24 20:17:53 +00:00
msg.h
msgbuf.h
mtio.h
mutex.h Re-apply: 2010-02-08 09:54:27 +00:00
namei.h - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
namei.src - Replace few malloc(9) uses with kmem(9). 2011-04-24 18:46:22 +00:00
null.h Tack a public domain notice on this, albeit 10 years late, per request 2010-07-06 11:56:20 +00:00
once.h
optstr.h
param.h Change VOP_BWRITE() to take a vnode as its first argument like all other 2011-07-11 08:27:37 +00:00
pax.h
pcq.h
pcu.h Add some more MI hook points for PCU. Discard the PCU state at lwp_exit and 2011-06-06 22:04:34 +00:00
percpu.h
percpu_types.h
pipe.h If a multithreaded app closes an fd while another thread is blocked in 2009-12-20 09:36:05 +00:00
pmc.h
pmf.h A pointer typedef entails trading too much flexibility to declare const 2010-02-24 22:37:54 +00:00
poll.h
pool.h Report result of pool_reclaim() from pool_drain_end(). 2010-06-03 10:40:17 +00:00
power.h Include stdint(3) for user space. Fixes PR # 39744. 2011-04-06 08:15:44 +00:00
proc.h Forward-declare struct vmspace to reduce dependencies on uvm/uvm_extern.h. 2011-07-27 13:20:07 +00:00
prot.h
protosw.h
pserialize.h Add an implementation of passive serialization as described in expired 2011-07-30 17:01:04 +00:00
pset.h
ptrace.h Merge from matt-nb5-mips64 2009-12-14 00:47:10 +00:00
ptree.h since all the fields are unsigned, make the constants unsigned too. 2011-07-30 16:37:05 +00:00
pty.h
queue.h
quota.h Fix bad cut'n'paste in copyright. Pointed out by dyoung@ 2011-06-07 14:56:12 +00:00
radioio.h
radixtree.h fix _STANDALONE build 2011-04-14 15:31:20 +00:00
ras.h
rbtree.h Rename rb.h to rbtree.h, as it is more appropriate (c.f. ptree.h). Also 2010-09-25 01:42:38 +00:00
reboot.h
resource.h - Sprinkle __read_mostly, consitify maxdmap and maxsmap. 2011-05-14 17:57:05 +00:00
resourcevar.h Revert maxdmap/maxsmap constification, as it causes problems on some 2011-06-03 17:58:18 +00:00
rmd160.h
rnd.h
rpst.h fix _STANDALONE build 2011-04-14 15:31:20 +00:00
rwlock.h Re-apply: 2010-02-08 09:54:27 +00:00
sa.h
satypes.h
savar.h
scanio.h
sched.h Add kcpuset(9) - a reworked dynamic CPU set implementation for kernel. 2011-08-07 13:33:01 +00:00
scsiio.h
sdt.h DTrace: Add an SDT (Statically Defined Tracing) provider framework, and 2010-03-01 21:10:13 +00:00
select.h
selinfo.h Implement direct select/poll support, currently effective for socket and 2010-07-08 12:23:31 +00:00
sem.h
sha1.h
sha2.h
shm.h
siginfo.h revert previous. breaks things in subtle ways (ntpdate gets stuck on boot, 2011-04-10 14:37:20 +00:00
signal.h namespace protect sigqueue and sigqueueinfo 2011-01-10 13:56:44 +00:00
signalvar.h If a signal did not fire, restore the original signal mask for pselect/pollts 2011-05-28 15:33:40 +00:00
sigtypes.h
simplelock.h
sleepq.h - Fix a few possible locking issues in execve1() and exit1(). Add a note 2010-12-18 01:36:19 +00:00
socket.h * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
socketvar.h Fix kern/45093 as discussed on tech-kern@: 2011-07-02 17:53:50 +00:00
sockio.h Implement ifconfig linkstr as proposed on tech-net. 2010-11-15 22:42:36 +00:00
specificdata.h
spl.h
spldebug.h
stat.h Add futimens(2) and part utimensat(2) 2011-08-17 07:25:30 +00:00
statvfs.h Add mount -o extattr option to enable extended attributs (corrently only 2011-06-17 14:23:50 +00:00
stdarg.h Retire varargs.h support. Move machine/stdarg.h logic into MI 2011-07-17 20:54:30 +00:00
stdint.h
swap.h
syncobj.h
syscall.h regen 2011-08-17 07:26:16 +00:00
syscall_stats.h
syscallargs.h regen 2011-08-17 07:26:16 +00:00
syscallvar.h
sysctl.h Kill CTL_EMUL_NAMES. 2011-04-26 21:27:44 +00:00
syslimits.h
syslog.h Retire varargs.h support. Move machine/stdarg.h logic into MI 2011-07-17 20:54:30 +00:00
systm.h Retire varargs.h support. Move machine/stdarg.h logic into MI 2011-07-17 20:54:30 +00:00
tape.h
termios.h s/SIGINTR/SIGINT/ here as well as termios.4. from jmc@openbsd. 2009-12-26 19:31:34 +00:00
time.h
timeb.h
timepps.h
times.h
timetc.h
timevar.h Add a new clock_gettime1() function that holds most of the 2010-04-08 11:51:13 +00:00
timex.h
tls.h Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports 2011-03-09 23:10:05 +00:00
tprintf.h
trace.h
tree.h
tty.h stop using lbolt in tty 2011-07-26 13:14:17 +00:00
ttychars.h
ttycom.h
ttydefaults.h
ttydev.h
types.h Retire struct user, remove sys/user.h inclusions. Note sys/user.h header 2011-01-14 02:06:22 +00:00
ucontext.h Fix ucontext32_t on AMD64. Add optional compile time assertions for 2011-02-23 02:58:38 +00:00
ucred.h Use NGROUPS_MAX (which is posix) instead of the old NGROUPS. 2010-05-29 23:18:39 +00:00
uidinfo.h
uio.h Forward-declare struct vmspace to reduce dependencies on uvm/uvm_extern.h. 2011-07-27 13:20:07 +00:00
un.h * Arrange for interfaces that create new file descriptors to be able to 2011-06-26 16:42:39 +00:00
unistd.h
unpcb.h
user.h Retire struct user, remove sys/user.h inclusions. Note sys/user.h header 2011-01-14 02:06:22 +00:00
userconf.h Don't use the C preprocessor to configure USERCONF. Instead, either do 2011-05-31 23:28:52 +00:00
userret.h #include <sys/proc.h> before using struct proc.p_timerpend 2011-06-21 07:20:56 +00:00
utsname.h
uuid.h
vadvise.h
verified_exec.h Introduce struct pathbuf. This is an abstraction to hold a pathname 2010-11-19 06:44:33 +00:00
vfs_syscalls.h Missing bit in previous commit: do_sys_utimens prototype in the right 2011-08-17 09:29:59 +00:00
videoio.h Restore binary compatibility with NetBSD 5 binaries that utilize video(4). 2011-08-13 02:49:06 +00:00
vmem.h Introduce a couple of new constants, VMEM_ADDR_MIN (the least possible 2011-08-23 22:00:57 +00:00
vmmeter.h
vnode.h 7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8). 2011-06-27 11:52:22 +00:00
vnode_if.h regen 2011-08-08 12:17:27 +00:00
wait.h
wapbl.h Reduce #ifdef spew by attaching wapbl as a module. 2010-04-21 16:51:24 +00:00
wapbl_replay.h
wdog.h
workqueue.h
xattr.h make the data arguments of *setxattr(2) const, as in Linux 2011-07-18 11:28:24 +00:00
xcall.h Implement high priority (XC_HIGHPRI) xcall(9) mechanism - a facility 2010-06-22 18:29:01 +00:00