opnsense-src/sys
Marcel Moolenaar fe4723c884 Fix the most significant KSE breakage caused by not restoring the
restart instruction bits in the PSR. As such, we were returning
from interrupt to the instruction in the bundle that caused us
to enter the kernel, only now we're returning to a completely
different bundle.

While close here: add two KASSERTs to make sure that we restore
sync contexts only when entered the kernel through a syscall and
restore an async context only when entered the kernel through an
interrupt, trap or fault.

While not exactly here, but close enough: use suword64() when we
copy the dirty registers from the kernel stack to the user stack.
The code was intended to be be replaced shortly after being added,
but that was a couple of weeks ago. I might as well avoid that it
is a source for panics until it's replaced.
2003-09-19 22:51:26 +00:00
..
alpha Mention the puc(4) glue driver in a commented-out example so the user 2003-09-19 20:04:55 +00:00
amd64 Mention the puc(4) glue driver in a commented-out example so the user 2003-09-19 20:04:55 +00:00
arm Style sync. 2003-08-03 07:50:19 +00:00
boot Don't repeat selected defines from ns16550.h or sioreg.h. Just 2003-09-16 11:24:23 +00:00
cam I forgot whom I got this from- only set single initiator buffered mode 2003-09-13 02:01:56 +00:00
coda Move an overly verbose message under #ifdef CODA_VERBOSE. 2003-09-13 01:13:56 +00:00
compat Fix some broken comments. 2003-09-09 19:22:55 +00:00
conf Document MUTEX_NOINLINE. 2003-09-19 19:04:30 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r120239, 2003-09-19 19:08:55 +00:00
crypto one more opossite conditiion. 2003-09-18 17:26:56 +00:00
ddb Label the uarea address as such in DDB's ps output 2003-08-30 19:06:57 +00:00
dev Add HP 4400C, Belkin F5U208 VideoBusII 2003-09-19 22:42:51 +00:00
fs Move an overly verbose message under #ifdef CODA_VERBOSE. 2003-09-13 01:13:56 +00:00
geom Reorder a couple of KASSERTS to give more sensible messages. 2003-09-11 00:49:02 +00:00
gnu - Clean-up comments that refer to the use of B_LOCKED. 2003-08-28 00:56:39 +00:00
i4b Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
i386 Mention the puc(4) glue driver in a commented-out example so the user 2003-09-19 20:04:55 +00:00
ia64 Fix the most significant KSE breakage caused by not restoring the 2003-09-19 22:51:26 +00:00
isa Pick up softc from dev_t rathern than through newbus gymnastics. 2003-09-17 07:40:00 +00:00
isofs/cd9660 Do not call VOP_BMAP() on our own vnodes. 2003-08-17 23:00:30 +00:00
kern Eliminate one case of VI_UNLOCK followed by an immediate 2003-09-19 19:13:54 +00:00
libkern Lock down arc4random so it can be safely called w/o Giant. 2003-08-15 06:34:47 +00:00
modules Only build the ebus driver on sparc64. It includes a header directly 2003-09-17 03:00:08 +00:00
net fix build on 64-bit platforms 2003-09-17 18:14:49 +00:00
net80211 Generalize the per-node RSSI data so drivers can do more interesting 2003-09-15 22:28:07 +00:00
netatalk More checking of M_PREPEND() return values: pass through link-layer 2003-08-29 19:27:09 +00:00
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph Add Protocol Independent Multicast protocol. 2003-08-20 22:11:58 +00:00
netinet Bandaid locking change: mark static rule mutex recursive so re-entry when 2003-09-17 22:06:47 +00:00
netinet6 Enable IPv6 for Token Ring. 2003-09-14 02:32:31 +00:00
netipsec Locking and misc cleanups; most of which I've been running for >4 months: 2003-09-01 05:35:55 +00:00
netipx Fix a bunch of off-by-one errors in the range checking code. 2003-09-11 21:40:21 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Remove the last vestiges of ATM raw mode. This has not been useful for a 2003-08-06 14:34:38 +00:00
netncp size_t != int. Make this compile on 64 bit platforms (eg: amd64). 2003-07-24 01:59:18 +00:00
netsmb Rewrite the code that uses the try/catch paradigm implemented by 2003-08-23 21:43:33 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient Name the vnode method vectors consistently with the rest of the filesystems. 2003-09-12 16:44:40 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 Merged from sys/isa/fd.c revisions 1.259 and 1.260. 2003-09-18 09:49:08 +00:00
pccard More debug under boot verbose. 2003-08-29 23:25:00 +00:00
pci Remove jumbo buffer #defines that I ended up not needing. 2003-09-19 02:35:03 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc Standardize idempotentcy ifdefs. Consistently use _MACHINE_VARARGS_H_ 2003-09-01 03:01:45 +00:00
rpc
security Remove extra tabs indenting MAC library calls; they were there to 2003-08-29 02:43:57 +00:00
sparc64 Handle ISA devices in OF_decode_addr(), with the same code that is 2003-09-12 20:04:29 +00:00
sys revert rev 1.64; this is not needed with rev 1.49 of lock.h 2003-09-19 22:03:59 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs - Several of the callers to getdirtybuf() were erroneously changed to pass 2003-09-03 04:08:15 +00:00
vm - There are an endless stream of style(9) errors in this file. Fix a few. 2003-09-19 22:31:45 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00