freebsd-skq/sys/sys
jhibbits 859fb3bb22 Add hwpmc(4) support for the PowerPC 970 class processors, direct events.
This also fixes asserts on removal of the module for the mpc74xx.

The PowerPC 970 processors have two different types of events: direct events
and indirect events.  Thus far only direct events are supported.  I included
some documentation in the driver on how indirect events work, but support is
for the future.

MFC after:	1 month
2014-02-01 02:03:50 +00:00
..
_bitset.h Generalize the bitset operations, present in cpuset and offer a KPI to 2013-05-09 00:04:59 +00:00
_bus_dma.h
_callout.h - Make callout(9) tickless, relying on eventtimers(4) as backend for 2013-03-04 11:09:56 +00:00
_cpuset.h Generalize the bitset operations, present in cpuset and offer a KPI to 2013-05-09 00:04:59 +00:00
_ffcounter.h Core structure and functions to support a feed-forward clock within the kernel. 2011-11-19 14:10:16 +00:00
_iovec.h
_kstack_cache.h Move kstack_cache_entry into the private header, and make the 2011-12-16 10:56:16 +00:00
_lock.h
_lockmgr.h
_mutex.h Tweak comments. 2012-11-11 23:25:47 +00:00
_null.h Define NULL to nullptr in C++11 mode (not strictly required, but it makes 2011-12-27 21:36:31 +00:00
_pctrie.h - Add a new general purpose path-compressed radix trie which can be used 2013-05-12 04:05:01 +00:00
_pthreadtypes.h
_rmlock.h Several improvements to rmlock(9). Many of these are based on patches 2013-06-25 18:44:15 +00:00
_rwlock.h Tweak comments. 2012-11-11 23:25:47 +00:00
_semaphore.h
_sigset.h
_sockaddr_storage.h
_stack.h
_stdint.h Fix by hand files that aren't added automatically by svn. 2011-05-09 22:13:07 +00:00
_sx.h
_task.h Revert r256587. 2013-10-18 11:25:08 +00:00
_termios.h
_timespec.h
_timeval.h
_types.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
_umtx.h In revision 231989, we pass a 16-bit clock ID into kernel, however 2012-02-25 02:12:17 +00:00
_unrhdr.h Move the definition of the struct unrhdr into a separate header file, 2013-08-30 07:37:45 +00:00
aac_ioctl.h Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
acct.h
acl.h Make it possible to use permission sets (full_set, modify_set, read_set 2011-04-09 07:42:25 +00:00
agpio.h A rewrite of the i810 bits of the agp(4) driver. New driver supports 2012-05-22 10:59:26 +00:00
aio.h Add new system call - aio_mlock(). The name speaks for itself. It allows 2013-06-08 13:27:57 +00:00
alq.h
apm.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
assym.h
ata.h Improve ZFS N-way mirror read performance by using load and locality 2013-10-23 09:54:58 +00:00
bio.h Be more explicit about what each bio_cmd & bio_flags value means. 2013-03-23 16:55:07 +00:00
bitset.h Add BIT_AND_ATOMIC() and CPU_AND_ATOMIC(). 2013-08-30 07:43:34 +00:00
bitstring.h
blist.h
buf_ring.h This fixes a out-of-order problem with several 2013-02-07 15:20:54 +00:00
buf.h Both cluster_rbuild() and cluster_wbuild() sometimes set the pages 2013-08-22 18:26:45 +00:00
bufobj.h Fix comment after r250551. 2013-11-20 13:22:22 +00:00
bus_dma.h Add bus_dmamap_load_ma() function to load map with the array of 2013-10-27 21:39:16 +00:00
bus.h Make detaching drivers from PCI devices more robust. While here, fix a 2013-06-27 20:21:54 +00:00
busdma_bufalloc.h Create an architecture-agnostic buffer pool manager that uses uma(9) to 2012-12-20 00:34:54 +00:00
callout.h Fix the build and fix style. 2013-08-23 14:40:17 +00:00
capability.h Replace CAP_POLL_EVENT and CAP_POST_EVENT capability rights (which I had 2013-11-15 19:55:35 +00:00
caprights.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
cdefs.h Move _Atomic() into <sys/cdefs.h>. 2013-06-16 10:48:47 +00:00
cdio.h
cdrio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
cfictl.h
chio.h Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
clock.h
condvar.h MFcalloutng: 2013-03-04 12:20:48 +00:00
conf.h Add support to physio(9) for devices that don't want I/O split and 2013-08-24 04:52:22 +00:00
cons.h move GETS_*ECHO* defintions from libkern.h to cons.h 2011-12-17 15:39:14 +00:00
consio.h Support double-width characters in vt(9) 2013-12-21 13:58:55 +00:00
copyright.h Bump copyright year. 2013-12-31 12:18:10 +00:00
counter.h - While we are spreading the counter(9) across network stack, more userland 2013-10-15 10:05:37 +00:00
cpu.h
cpuctl.h
cpuset.h Add BIT_AND_ATOMIC() and CPU_AND_ATOMIC(). 2013-08-30 07:43:34 +00:00
ctype.h
dataacq.h
devicestat.h MFprojects/camlock r254905: 2013-10-16 09:12:40 +00:00
digiio.h
dir.h
dirent.h
disk.h Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
disklabel.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
diskmbr.h Support the FAT16 partition type in gpart(8) 2013-03-07 22:32:41 +00:00
diskpc98.h Change <sys/diskpc98.h> to not redefine the same symbols that are 2013-08-07 00:00:48 +00:00
dkstat.h
domain.h Implement SOCK_CLOEXEC, SOCK_NONBLOCK and MSG_CMSG_CLOEXEC. 2013-03-19 20:58:17 +00:00
dtrace_bsd.h Remove some unneeded declarations which should have been removed in r257037. 2013-12-26 03:19:08 +00:00
dvdio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
elf32.h
elf64.h
elf_common.h Define SHT_GNU_LIBLIST and R_MIPS_64, which is needed for libelf and 2014-01-16 21:50:26 +00:00
elf_generic.h
elf.h
endian.h
errno.h POSIX 1003.1-2008: add ENOTRECOVERABLE, EOWNERDEAD errnos. 2013-05-04 19:07:22 +00:00
eui64.h
event.h Reserve an event type for the upcoming EVENT_SENDFILE and 2014-01-07 20:24:25 +00:00
eventhandler.h MFC @r257698. 2013-11-05 12:55:28 +00:00
eventvar.h Add a resource limit for the total number of kqueues available to the 2013-10-21 16:44:53 +00:00
exec.h
extattr.h Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
fail.h Initialize fp_location for explicitly managed fail points, and push 2010-12-21 18:23:03 +00:00
fbio.h o Add virtual terminal mmap request handler. 2013-12-23 18:09:10 +00:00
fcntl.h Fix fcntl F_GETFL F_SETFL for files opened execute-only (O_EXEC). 2013-08-25 21:52:04 +00:00
fdcio.h
file.h Migrate the sendfile_sync structure into a public(ish) API in preparation 2013-12-01 03:53:21 +00:00
filedesc.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
filio.h
firmware.h
fnv_hash.h Add an #include guard to the sys/fnv_hash.h. 2012-12-14 12:37:35 +00:00
gmon.h
gpio.h
gpt.h Fixing build bustage. 2013-12-27 07:02:07 +00:00
hash.h - Move jenkins.h to jenkins_hash.c 2012-09-04 12:07:33 +00:00
hhook.h Internalise handling of virtualised hook points inside 2013-06-15 04:03:40 +00:00
iconv.h Fix improper handling of variadic args with ICDEBUG 2012-05-21 02:30:22 +00:00
imgact_aout.h Turns out the emulators still need/want a_magic, so put it back here. 2012-06-28 07:37:46 +00:00
imgact_elf.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
imgact.h Create shared (readonly) page. Each ABI may specify the use of page by 2011-01-08 16:13:44 +00:00
inflate.h
interrupt.h - Remove the eintrcnt/eintrnames usage and introduce the concept of 2011-07-18 15:19:40 +00:00
ioccom.h
ioctl_compat.h
ioctl.h
ipc.h Fix build if COMPAT_43 is defined without one of 2012-10-22 02:59:55 +00:00
ipmi.h
jail.h Back out r261266 pending security buy-in. 2014-01-31 17:39:51 +00:00
joystick.h
kbio.h Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP. 2011-07-17 08:19:19 +00:00
kdb.h Add constant missed in r244099 2012-12-10 23:12:51 +00:00
kenv.h
kernel.h Implement vector callback for PVHVM and unify event channel implementations 2013-08-29 19:52:18 +00:00
kerneldump.h
khelp.h Use the full and proper company name for Swinburne University of Technology 2011-04-12 08:13:18 +00:00
kobj.h As it turns out, r186347 actually is insufficient to avoid the use of the 2011-11-15 20:11:03 +00:00
ksem.h Similar to 233760 and 236717, export some more useful info about the 2013-05-03 21:11:57 +00:00
ksyms.h
kthread.h
ktr_class.h Right now LOCK_DEBUG is enabled if KTR is on. 2013-12-02 22:34:47 +00:00
ktr.h Right now LOCK_DEBUG is enabled if KTR is on. 2013-12-02 22:34:47 +00:00
ktrace.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
libkern.h Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
limits.h POSIX.1-2008 moved some constants from the XSI option to the Base. 2011-03-04 19:28:27 +00:00
link_aout.h
link_elf.h In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
linker_set.h
linker.h Remove some unused fields from struct linker_file. They were added in 2013-08-13 03:09:00 +00:00
lock_profile.h
lock.h fix spelling of lock_initialized.. jhb approved.. 2014-01-28 17:27:54 +00:00
lockf.h
lockmgr.h Add LK_TRYUPGRADE operation for lockmgr(9), which attempts to 2013-09-29 18:02:23 +00:00
lockstat.h Revert the approach for skipping lockstat_probe_func call when doing 2011-12-12 23:29:32 +00:00
loginclass.h Add racct. It's an API to keep per-process, per-jail, per-loginclass 2011-03-29 17:47:25 +00:00
mac.h
malloc.h - Add a general purpose resource allocator, vmem, from NetBSD. It was 2013-06-28 03:51:20 +00:00
mbpool.h Give (*ext_free) an int return value allowing for very sophisticated 2013-08-25 10:57:09 +00:00
mbuf.h Simplify wait/nowait code, eventually killing last remnant of 2014-01-16 13:45:41 +00:00
mchain.h Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
md4.h
md5.h
mdioctl.h Add "null" backend to mdconfig(8). This does exactly what the name 2013-12-04 07:38:23 +00:00
memdesc.h Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
memrange.h Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
mman.h Add a mmap flag (MAP_32BIT) on 64-bit platforms to request that a mapping use 2013-09-09 18:11:59 +00:00
module_khelp.h Now that the necessary infrastructure is in place to ensure hhook points which 2013-06-15 10:38:31 +00:00
module.h
mount.h Hide MNT_SHARED_WRITES() and MNT_EXTENDED_SHARED() under the #ifdef 2013-11-09 22:28:04 +00:00
mouse.h sys/mouse.h: Move members introduced in r255153 to end of struct synapticshw 2013-09-02 19:49:18 +00:00
mpt_ioctl.h
mqueue.h
msg.h Add ucred pointer to the SysV-related memory structures. This is required 2011-04-06 16:59:54 +00:00
msgbuf.h - Clean up timestamps in msgbuf code. The timestamps should now be 2012-03-19 00:36:32 +00:00
mtio.h
mutex.h fix spelling of lock_initialized.. jhb approved.. 2014-01-28 17:27:54 +00:00
namei.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
nlist_aout.h
osd.h - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
param.h Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
pciio.h MFH@260988. 2014-01-21 20:48:02 +00:00
pcpu.h Merge from projects/counters: 2013-04-08 19:19:10 +00:00
pctrie.h Mark unused static inline functions defined by the PCTRIE_DEFINE() macro 2013-12-28 21:31:58 +00:00
pioctl.h Fix typo. 2011-01-23 12:44:17 +00:00
pipe.h I am comparing current pipe code with the one in 8.3-STABLE r236165, 2012-07-31 05:48:35 +00:00
pmc.h Add hwpmc(4) support for the PowerPC 970 class processors, direct events. 2014-02-01 02:03:50 +00:00
pmckern.h Use __predict_false() on sensitive lock paths as most of the times, 2014-01-07 14:03:42 +00:00
pmclog.h Add software PMC support. 2012-03-28 20:58:30 +00:00
poll.h
posix4.h In order to maximize the re-usability of kernel code in user space this 2011-09-16 13:58:51 +00:00
power.h
priority.h MFC 2011-05-13 15:20:57 +00:00
priv.h Fix typo. 2013-08-03 13:38:56 +00:00
proc.h Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
procctl.h Extend the support for exempting processes from being killed when swap is 2013-09-19 18:53:42 +00:00
procdesc.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
procfs.h
protosw.h - Implement two new system calls: 2013-03-02 21:11:30 +00:00
ptio.h
ptrace.h The PTRACESTOP() macro is used only once. Inline the only use and remove 2012-02-11 14:49:25 +00:00
queue.h Add new FOREACH_FROM variants of the queue(3) FOREACH macros which can 2013-06-18 02:57:56 +00:00
racct.h Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu". 2012-10-26 16:01:08 +00:00
random.h Add very simple virtio_random(4) driver to harvest entropy from host 2014-01-18 06:14:38 +00:00
rangelock.h Change the queue of locks in kern_rangelock.c from holding lock requests in 2013-08-15 20:19:17 +00:00
rctl.h Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu". 2012-10-26 16:01:08 +00:00
reboot.h
refcount.h Add assertion for refcount overflow. 2012-07-27 09:16:48 +00:00
regression.h
resource.h Add a resource limit for the total number of kqueues available to the 2013-10-21 16:44:53 +00:00
resourcevar.h Add a resource limit for the total number of kqueues available to the 2013-10-21 16:44:53 +00:00
rman.h Typo. 2012-02-27 18:28:31 +00:00
rmlock.h Several improvements to rmlock(9). Many of these are based on patches 2013-06-25 18:44:15 +00:00
rtprio.h
runq.h
rwlock.h fix spelling of lock_initialized.. jhb approved.. 2014-01-28 17:27:54 +00:00
sbuf.h Add sbuf_start_section() and sbuf_end_section() functions, which can 2013-04-11 19:49:18 +00:00
sched.h rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
sdt.h sdt: add support for solaris/illumos style DTRACE_PROBE macros 2013-11-26 08:49:53 +00:00
select.h
selinfo.h Fix a deficiency in the selinfo interface: 2011-08-25 15:51:54 +00:00
sem.h Remove semaphore map entry count "semmap" field and its tuning 2011-07-14 14:18:14 +00:00
sema.h
serial.h
sf_base.h Implement a kqueue notification path for sendfile. 2014-01-17 05:26:55 +00:00
sf_buf.h - Create kern.ipc.sendfile namespace, and put the new "readhead" OID 2013-09-22 13:36:52 +00:00
sf_sync.h Implement a kqueue notification path for sendfile. 2014-01-17 05:26:55 +00:00
sglist.h Add sglist_append_bio(9) to append a struct bio's data to a sglist 2014-01-13 04:41:08 +00:00
shm.h Add ucred pointer to the SysV-related memory structures. This is required 2011-04-06 16:59:54 +00:00
sigio.h
signal.h Register signal 33 explicitly as reserved by real-time library, and 2012-03-26 19:12:09 +00:00
signalvar.h Partially revert r195702. Deferring stops is now implemented via a set of 2013-03-18 17:23:58 +00:00
sleepqueue.h Partially revert r195702. Deferring stops is now implemented via a set of 2013-03-18 17:23:58 +00:00
slicer.h Add a new geom class which allows to divide NAND Flash chip 2012-05-22 08:33:14 +00:00
smp.h Add support for suspend/resume/migration operations when running as a 2013-09-20 05:06:03 +00:00
snoop.h
sockbuf.h - Substitute sbdrop_internal() with sbcut_internal(). The latter doesn't free 2013-10-09 11:57:53 +00:00
socket.h Implement the extension api for sendfile to allow for kqueue notifications. 2014-01-17 05:13:08 +00:00
socketvar.h Remove zero-copy sockets code. It only worked for anonymous memory, 2013-09-16 06:25:54 +00:00
sockio.h Remove never used ioctls that originate from KAME. The proof 2013-11-11 05:39:42 +00:00
sockopt.h
sockstate.h
soundcard.h add SNDCTL_DSP_HALT specified by OSS 2011-06-29 08:32:37 +00:00
stack.h Constify stack argument for functions that don't modify it. 2011-11-16 19:06:55 +00:00
stat.h Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
statvfs.h
stdatomic.h Change the return type of the fallback implementation of the 2013-08-18 19:37:35 +00:00
stddef.h Guard ptrdiff_t. 2011-05-05 02:35:25 +00:00
stdint.h Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
sun_disklabel.h
sx.h - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
syscall.h Regen. 2013-09-19 18:56:00 +00:00
syscall.mk Regen. 2013-09-19 18:56:00 +00:00
syscallsubr.h Extend the support for exempting processes from being killed when swap is 2013-09-19 18:53:42 +00:00
sysctl.h Add an kinfo sysctl to retrieve signal trampoline location for the 2013-11-26 19:47:09 +00:00
sysent.h Remove no longer needed forward declaration for struct sf_buf. 2012-06-23 10:14:51 +00:00
syslimits.h
syslog.h Add static/const keywords to the arrays. 2013-04-09 16:16:34 +00:00
sysproto.h Regen. 2013-09-19 18:56:00 +00:00
systm.h Implement generic support for early printf. Thought I can't find the 2014-01-22 21:20:08 +00:00
taskqueue.h add taskqueue_drain_all 2013-11-28 18:56:34 +00:00
terminal.h o Add virtual terminal mmap request handler. 2013-12-23 18:09:10 +00:00
termios.h
thr.h
tiio.h
time.h Revert addition of sbintime and getsbintime that crept into r256963. 2013-10-23 14:28:42 +00:00
timeb.h
timeet.h MFcalloutng: 2013-02-28 13:46:03 +00:00
timeffc.h Introduce the sysclock_getsnapshot() and sysclock_snap2bintime() KPIs. The 2011-12-24 01:32:01 +00:00
timepps.h - Add Pulse-Per-Second timestamping using raw ffcounter and corresponding 2011-11-21 13:34:29 +00:00
timers.h
times.h
timespec.h
timetc.h Add support for suspend/resume/migration operations when running as a 2013-09-20 05:06:03 +00:00
timex.h Add proper prerequisites for even two more headers. 2013-05-21 21:50:11 +00:00
tree.h
tty.h - Rename tty_makedev() into tty_makedevf() and make it capable 2013-12-18 12:50:43 +00:00
ttycom.h Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
ttydefaults.h Add static/const keywords to the arrays. 2013-04-09 16:16:34 +00:00
ttydevsw.h Reintroduce the cioctl() hook in the TTY layer for digi(4). 2011-07-02 13:54:20 +00:00
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h Tighten up some of the comments describing turnstiles and sleepqueues. 2010-12-13 23:53:55 +00:00
types.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
ucontext.h The getcontext() from the __fillcontextx() call in the 2013-05-28 04:54:16 +00:00
ucred.h Add two new system calls, setloginclass(2) and getloginclass(2). This makes 2011-03-05 12:40:35 +00:00
uio.h Remove zero-copy sockets code. It only worked for anonymous memory, 2013-09-16 06:25:54 +00:00
umtx.h umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accesses 2012-04-05 02:24:08 +00:00
un.h Add placeholder constants to reserve a portion of the socket option 2013-02-01 15:32:20 +00:00
unistd.h Implement syscall clock_getcpuclockid2, so we can get a clock id 2012-08-17 02:26:31 +00:00
unpcb.h
user.h Bring back the old size of the kinfo_file structure to preserve ABI. 2014-01-04 21:55:06 +00:00
utsname.h
uuid.h Decouple the UUID generator from network interfaces by having MAC 2013-07-24 04:24:21 +00:00
vdso.h Rework the __vdso_* symbols attributes to only make the symbols weak, 2013-01-30 12:48:16 +00:00
vmem.h - Add a general purpose resource allocator, vmem, from NetBSD. It was 2013-06-28 03:51:20 +00:00
vmmeter.h Improve pageout flow control to wakeup more frequently and do less work while 2013-08-13 21:56:16 +00:00
vnode.h There are several code sequences like 2013-07-09 20:49:32 +00:00
vtoc.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
wait.h wait: Make sure WIFSIGNALED(s) is false if WIFCONTINUED(s) is true. 2013-08-11 14:15:01 +00:00
watchdog.h watchdogd(8) and watchdog(4) enhancements. 2013-02-27 19:03:31 +00:00