NetBSD/sys/sys
mbalmer 8964d40bc5 Rework the GPIO framework. Tie it to the kauth(9) framework to control
access to the GPIO pins.  Device drivers using GPIO pins can now be
attached and detached at runtime.  GPIO pins can be named for easier
reference from userland programs.  Introduce a new gpiosim(4) driver,
which is used for development.

Reviewed by many.
2009-07-25 16:17:10 +00:00
..
acct.h merge christos-time_t 2009-01-11 02:45:45 +00:00
agpio.h
aio.h merge christos-time_t 2009-01-11 02:45:45 +00:00
ansi.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
ataio.h
atomic.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
audioio.h
bitops.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
blist.h
boot_flag.h Recognise the RB_MD flags. 2008-04-29 19:16:08 +00:00
bootblock.h fix sign-compare issue 2009-04-01 10:17:04 +00:00
bswap.h Use __constfunc instead of __attribute__((__const__)). 2009-07-20 18:45:27 +00:00
buf.h Include some debug print routines if DEBUGPRINT is defined. This 2009-05-03 16:52:54 +00:00
bufq_impl.h malloc -> kmem_alloc 2009-01-19 14:54:28 +00:00
bufq.h g/c BUFQ_FOO() macros and use bufq_foo() directly. 2009-01-13 13:33:58 +00:00
bus_proto.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
bus.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
callback.h
callout.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
cctr.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
cdefs_aout.h
cdefs_elf.h Switch __COPYRIGHT() to using __SECTIONSTRING() now that userland 2008-07-21 15:22:19 +00:00
cdefs.h Add __constfunc and explain how it differs from __pure. 2009-07-20 17:46:04 +00:00
cdio.h Fix flagbits for MMC_TRACKINFO flags printing; it had an illegal escape code 2009-01-29 19:36:28 +00:00
chio.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
clockctl.h merge christos-time_t 2009-01-11 02:45:45 +00:00
condvar.h Make condvars really opaque -- hide the wait message member from consumers 2008-12-19 07:57:28 +00:00
conf.h add a workaround for drm: 2009-06-20 19:24:27 +00:00
core.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
cpu_data.h vfs_cache: 2008-06-03 15:50:22 +00:00
cpu.h cpuctl: 2009-04-19 14:11:36 +00:00
cpuio.h cpuctl: 2009-04-19 14:11:36 +00:00
debug.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
device.h Switch to kmem(9). 2009-06-26 19:30:45 +00:00
devmon.h Add DRVGETEVENT support for /dev/drvctl, based on devmon support by 2008-05-25 12:30:40 +00:00
dir.h
dirent.h Update alignment comment. 2008-03-15 19:02:49 +00:00
dirhash.h No need to name arguments in function prototypes; and a bit of cosmetics. 2008-10-30 23:02:12 +00:00
disk.h On second thought, let's call disk_predetach() disk_begindetach(). 2009-05-20 03:26:21 +00:00
disklabel_acorn.h
disklabel_gpt.h Don't use sizeof(struct gpt_hdr). It will pad the structure on x86-64, 2008-11-12 22:50:22 +00:00
disklabel.h Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been 2009-07-18 16:31:41 +00:00
dkbad.h
dkio.h
dkstat.h
domain.h Make domaininit() take an argument which determines if it should 2009-05-27 23:44:35 +00:00
drvctlio.h Change DRVSUSPENDDEV ioctl number. Fixes PR kern/38740. 2008-05-31 13:24:57 +00:00
dvdio.h
endian.h Use __constfunc instead of __attribute__((__const__)). 2009-07-20 18:45:27 +00:00
envsys.h Add capability to send sensor limit values to the driver so they can 2009-06-13 16:08:25 +00:00
errno.h
evcnt.h Make 'show event', 'dmesg' work with crash(8). 2009-03-21 13:06:39 +00:00
event.h merge christos-time_t 2009-01-11 02:45:45 +00:00
eventvar.h File descriptor changes, discussed on tech-kern: 2008-03-21 21:53:35 +00:00
exec_aout.h
exec_coff.h
exec_ecoff.h Remove all the __P() from sys (excluding sys/dist) 2009-03-14 14:45:51 +00:00
exec_elf.h Add a signed offset type 2009-05-22 21:44:50 +00:00
exec_macho.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
exec_script.h
exec.h Make the emulations, exec formats, coredump, NFS, and the NFS server 2008-11-19 18:35:57 +00:00
extattr.h
extent.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
fcntl.h completely rework the way that orphaned sockets that are being fdpassed 2009-03-11 06:05:29 +00:00
fd_set.h
fdio.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
featuretest.h Mention POSIX.1-2008 (_POSIX_C_SOURCE == 200809L) and 2009-05-04 16:44:14 +00:00
file.h remove FILE_LOCK and FILE_UNLOCK. 2009-05-17 05:54:42 +00:00
fileassoc.h
filedesc.h remove prototypes of unexistent functions. (fd_clear, fd_remove) 2009-05-25 03:59:45 +00:00
filio.h
float_ieee754.h
fstrans.h Don't use do {} while(0) for a single function call. 2008-11-07 00:15:42 +00:00
fstypes.h Structures with incomplete members is an obscure gcc extension. Replace the 2008-09-03 23:43:06 +00:00
gcq.h
gennameih.awk Silence awk error. 2008-12-03 10:54:27 +00:00
gmon.h
gpio.h Rework the GPIO framework. Tie it to the kauth(9) framework to control 2009-07-25 16:17:10 +00:00
hash.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
idle.h PR kern/38707 scheduler related deadlock during build.sh 2008-05-27 14:48:52 +00:00
ieee754.h
intr.h softint_disestablish: the soft interrupt could still be running on a CPU 2008-12-13 21:13:30 +00:00
inttypes.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
ioccom.h use symbolic constants and parenthesize the macro args everywhere. 2009-05-19 21:59:10 +00:00
ioctl_compat.h
ioctl.h Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h" 2009-02-13 22:41:00 +00:00
iostat.h Add disk_isbusy(), iostat_isbusy(). 2009-04-04 07:30:09 +00:00
ipc.h Provide compatibility for pre-christos-time_t sysv sysctls. 2009-01-19 19:39:41 +00:00
joystick.h
kauth.h Extend the existing security models for upcoming gpio(4) changes. 2009-07-25 16:08:02 +00:00
kcore.h
kernel.h merge christos-time_t 2009-01-11 02:45:45 +00:00
kgdb.h make kgdb_dev a dev_t 2009-01-11 10:20:53 +00:00
kmem.h
kobj_impl.h Split out kobj structures so crash/ddb can get at them. 2009-05-24 15:00:24 +00:00
kobj.h Make kobj_stat() return ENOSYS instead of panicking ("not modular") 2009-06-17 21:04:25 +00:00
kprintf.h * unexpose kprintf locking internals 2009-01-01 15:10:20 +00:00
ksem.h Replace semid_t with intptr_t. No function change. This is a libc/kernel 2008-11-14 15:49:20 +00:00
ksyms.h Expose more stuff if _KMEMUSER is defined. 2009-03-07 21:59:25 +00:00
kthread.h - Allow creating timeshard kthreads. To be used to fix the RAIDframe 2009-01-29 22:00:26 +00:00
ktrace.h merge christos-time_t 2009-01-11 02:45:45 +00:00
localedef.h Add support for additional locale categories: LC_MESSAGES, LC_MONETARY, 2008-05-17 03:49:54 +00:00
lock.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
lockdebug.h Expose more stuff if _KMEMUSER is defined. 2009-03-07 21:59:25 +00:00
lockf.h Bring in vnode.h 2008-11-19 13:34:11 +00:00
lwp.h Ephemeral mapping (emap) implementation. Concept is based on the idea that 2009-06-28 15:18:50 +00:00
lwpctl.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
Makefile Move the specification of the on-disk journal format into a separate 2008-11-24 16:05:21 +00:00
malloc.h Missed realloc in previous. Ride 5.99.6 bump. 2009-01-07 21:06:31 +00:00
mallocvar.h
mbuf.h Constify m_length(). Reserve a packet tag for use later. 2008-10-24 22:31:40 +00:00
md4.h
md5.h
midiio.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
mman.h Put mremap into the _NETBSD_SOURCE section. 2008-11-18 22:13:49 +00:00
module.h Add the MODCTL_NO_PROP flag to tell the kernel to ignore <module>.prop. 2009-06-09 20:35:02 +00:00
mount.h Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been 2009-07-18 16:31:41 +00:00
mqueue.h Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
msg.h Provide compatibility for pre-christos-time_t sysv sysctls. 2009-01-19 19:39:41 +00:00
msgbuf.h
mtio.h
mutex.h Obsolete comment. 2009-05-11 22:37:21 +00:00
namei.h regen 2009-06-29 05:03:12 +00:00
namei.src Add namei_simple_kernel and namei_simple_user. These provide the common 2009-06-29 05:00:14 +00:00
null.h
once.h Rewrite once to use global locks and atomic ops to get rid of the 2008-10-09 10:48:21 +00:00
optstr.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
param.h Time for 5.99.15: newly compiled fs modules won't work with an older kernel. 2009-06-29 05:47:35 +00:00
pax.h
pcq.h Add generic producer/consumer queue code. 2008-11-11 20:17:27 +00:00
percpu_types.h
percpu.h Make the percpu API a little more friendly: 2008-04-09 05:11:20 +00:00
pipe.h Ephemeral mapping (emap) implementation. Concept is based on the idea that 2009-06-28 15:18:50 +00:00
pmc.h
pmf.h During shutdown, detach devices in an orderly fashion. 2009-04-02 00:09:32 +00:00
poll.h Move the internal poll/select related API's to use timespec instead 2009-03-29 19:21:19 +00:00
pool.h - Keep cache locked while allocating a cache group - later we might want 2008-07-04 16:38:59 +00:00
power.h General clean-up and some restructuring of event handling. This is a 2009-06-08 00:55:35 +00:00
proc.h add comments on KSTACK_LOWEST_ADDR/KSTACK_SIZE. 2009-05-27 12:15:11 +00:00
prot.h Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
protosw.h Convert socket options code to use a sockopt structure 2008-08-06 15:01:23 +00:00
pset.h Adjust and thus unify my license. 2008-05-26 17:45:51 +00:00
ptrace.h
ptree.h -#ifndef _KERNEL 2008-11-25 15:13:47 +00:00
pty.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
queue.h Add queue macros SLIST_FOREACH_SAFE, STAILQ_FOREACH_SAFE, STAILQ_LAST, 2009-04-20 09:56:07 +00:00
radioio.h
ras.h Allow the asm line separator (default ';') to be overridden in the 2008-08-11 21:51:14 +00:00
rb.h RBSMALL is dead. 2008-08-05 04:12:09 +00:00
reboot.h
resource.h - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total 2009-03-29 01:02:48 +00:00
resourcevar.h merge christos-time_t 2009-01-11 02:45:45 +00:00
rmd160.h
rnd.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
rpst.h maintain parent node pointers to speed up search and node removal. 2009-05-25 14:54:06 +00:00
rwlock.h Add rw_obj_*() functions to mirror the existing mutex functions. 2009-04-19 08:36:04 +00:00
sa.h Declare sa_system_disabled with extern. 2008-10-20 16:16:27 +00:00
satypes.h Merge wrstuden-revivesa into HEAD. Catch some files that I forgot 2008-10-15 06:52:38 +00:00
savar.h add struct lwp fwd declaration make to this header standalone 2008-10-17 08:16:57 +00:00
scanio.h
sched.h - Add kcpuset_iszero(). 2009-04-25 19:38:25 +00:00
scsiio.h
select.h Move the internal poll/select related API's to use timespec instead 2009-03-29 19:21:19 +00:00
selinfo.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sem.h Provide compatibility for pre-christos-time_t sysv sysctls. 2009-01-19 19:39:41 +00:00
sha1.h
sha2.h Add SHA224 implementation to libc. 2009-05-26 08:04:11 +00:00
shm.h Provide compatibility for pre-christos-time_t sysv sysctls. 2009-01-19 19:39:41 +00:00
siginfo.h namespace sanity: SI_LWP and SI_NOINFO are _NETBSD_SOURCE only 2009-03-27 11:05:43 +00:00
signal.h
signalvar.h merge christos-time_t 2009-01-11 02:45:45 +00:00
sigtypes.h Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
simplelock.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
sleepq.h Allocate sleep queue locks with mutex_obj_alloc. Reduces memory usage 2009-03-21 13:11:14 +00:00
socket.h Extract sockaddr_any_by_family() from sockaddr_any() for looking up a 2009-04-28 20:54:50 +00:00
socketvar.h Add fileops::fo_drain(), to be called from fd_close() when there is more 2009-04-04 10:12:51 +00:00
sockio.h merge christos-time_t 2009-01-11 02:45:45 +00:00
specificdata.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
spl.h Expose more stuff if _KMEMUSER is defined. 2009-03-07 21:59:25 +00:00
stat.h merge christos-time_t 2009-01-11 02:45:45 +00:00
statvfs.h Merge the simonb-wapbl branch. From the original branch commit: 2008-07-31 05:38:04 +00:00
stdint.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
swap.h catch up with dev_t becoming 64 bit: 2009-01-14 02:20:45 +00:00
syncobj.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
syscall_stats.h Remove LKMs and switch to the module framework, pass 1. 2008-11-12 12:35:50 +00:00
syscall.h Regen. 2009-07-19 02:54:21 +00:00
syscallargs.h Regen. 2009-07-19 02:54:21 +00:00
syscallvar.h Declare extern syscallnames in a header. 2009-06-02 23:21:37 +00:00
sysctl.h Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to 2009-07-22 22:53:41 +00:00
syslimits.h
syslog.h Import syslogd SoC project by Martin Schuette: 2008-10-31 16:12:18 +00:00
systm.h Add a cental banner() function to print the copyright and version info. 2009-03-29 10:58:28 +00:00
tape.h
termios.h
time.h namespace sanity: TIMER_RELTIME is _NETBSD_SOURCE only 2009-03-27 11:06:26 +00:00
timeb.h
timepps.h Make PPS work with fast time counters (> 2GHz) 2009-06-14 13:16:32 +00:00
times.h
timetc.h merge christos-time_t 2009-01-11 02:45:45 +00:00
timevar.h Move the internal poll/select related API's to use timespec instead 2009-03-29 19:21:19 +00:00
timex.h PR/41144: ntpd dies when syncing, use octal format to avoid \xcCLOCK to be 2009-04-05 19:59:26 +00:00
tprintf.h
trace.h
tree.h Add PB_PREV(), RB_FOREACH_REVERSE(). From FreeBSD. 2008-03-21 13:07:15 +00:00
tty.h Avoid deadlock in tty code if a terminal emulation responds to 2009-01-22 20:40:20 +00:00
ttychars.h
ttycom.h
ttydefaults.h use designated initializers for ttydefchars. 2008-05-24 14:06:39 +00:00
ttydev.h
types.h Expose more stuff if _KMEMUSER is defined. 2009-03-07 21:59:25 +00:00
ucontext.h Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
ucred.h
uidinfo.h Redo kern_resource.c:1.146 by pooka@: change ui_sbsize to a u_long. 2008-10-14 09:16:32 +00:00
uio.h
un.h completely rework the way that orphaned sockets that are being fdpassed 2009-03-11 06:05:29 +00:00
unistd.h explicitly define constants to 1, from Andy Shevchenko 2008-08-27 08:58:16 +00:00
unpcb.h Merge the socket locking patch: 2008-04-24 11:38:36 +00:00
user.h
userconf.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
userret.h Remove outdated comment: vax does now user mi_userret(). 2009-02-25 19:58:03 +00:00
utsname.h
uuid.h Make uuidgen available for the kernel. 2008-11-18 14:01:03 +00:00
vadvise.h
verified_exec.h
vfs_syscalls.h slap a run-of-the-mill tnf copyright here 2009-07-02 12:56:40 +00:00
videoio.h Update V4L2_CAP_BITMASK to enable all known bits. 2009-06-13 10:05:55 +00:00
vmem.h - fix vmem unittest. rename VMEM_DEBUG so that it won't be abused again. 2009-02-18 13:31:59 +00:00
vmmeter.h
vnode_if.h reregen to get those most important rcsids right 2008-11-17 08:59:33 +00:00
vnode.h Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been 2009-07-18 16:31:41 +00:00
wait.h merge christos-time_t 2009-01-11 02:45:45 +00:00
wapbl_replay.h Move the specification of the on-disk journal format into a separate 2008-11-24 16:05:21 +00:00
wapbl.h Remove ref to WAPBL_DEBUG_SERIALIZE. 2009-04-10 21:14:14 +00:00
wdog.h
workqueue.h
xattr.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
xcall.h Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00