1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/sys
Marcel Moolenaar 871f1ddd46 Restore the value of ar.rnat after the assignment to ar.bspstore.
The SDM states that writing to ar.bspstore invalidates the ar.rnat
register as a side-effect. This was interpreted as "bits in the
ar.rnat register that correspond to registers whose value is on
the stack are undefined'. Since we keep the kernel stack NaT-
aligned with the user stack (i.e. the lower 9 bits of the backing
store pointer remain unchanged when we switch to the kernel stack)
bits that need preserving would be preserved.

That interpretation is questionable. So, now, the interpretation
is more absolute: ar.rnat is undefined after writing to ar.bspstore.
As such, we write the saved value of ar.rnat back to ar.rnat after
writing to ar.bspstore.

Discussed with: christian.kandeler@hob.de
Approved by: re (kensmith)
2007-07-16 16:47:35 +00:00
..
amd64 Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
arm The iop34x has 128 interrupts. 2007-06-16 15:03:33 +00:00
boot MFp4: 2007-07-13 14:27:05 +00:00
bsm Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded 2007-04-17 12:27:08 +00:00
cam After talking with njl@, change this wildcard entry to be a bit less wild. 2007-07-01 17:42:07 +00:00
cddl Correct a reference-counting mistake in the ZFS code which led to abnormal 2007-07-09 09:03:49 +00:00
compat Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
conf Disconnect netatm from the build as it is not MPSAFE and relies on 2007-07-14 21:49:24 +00:00
contrib Fix a bug where the callout might not be initialized before being used. 2007-07-12 17:00:51 +00:00
crypto Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
ddb
dev Improve acquisition of transaction labels. 2007-07-15 13:00:29 +00:00
fs Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00
gdb Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
geom Have gpart synthesize a disk geometry if the underlying provider 2007-06-17 22:19:19 +00:00
gnu The last entry in the ext2_opts array must be NULL, 2007-07-14 21:18:19 +00:00
i4b I4B header files were repo-copied from sys/i386/include/ to 2007-07-06 07:17:22 +00:00
i386 Remove the internal use of __packed and put it on the structures 2007-07-11 22:34:34 +00:00
ia64 Restore the value of ar.rnat after the assignment to ar.bspstore. 2007-07-16 16:47:35 +00:00
isa Prototype (but functional) Linux-ish /dev/nvram interface to the extra 2007-06-15 22:58:14 +00:00
kern Revert previous commits which I committed by mistake. 2007-07-14 21:23:31 +00:00
libkern Unbreak high resolution profiling a little: use dummy asms to prevent 2007-06-13 06:17:48 +00:00
modules Disconnect netatm from the build as it is not MPSAFE and relies on 2007-07-14 21:49:24 +00:00
net Allow the LACP state to be queried from userland which at the moment is the 2007-07-05 09:18:57 +00:00
net80211 revert handling of ssid and bssid to be manadatory instead of advisory 2007-07-12 17:22:43 +00:00
netatalk Mark wire data structures in netatalk as __packed so that they are 2007-06-28 12:54:58 +00:00
netatm Disconnect netatm from the build as it is not MPSAFE and relies on 2007-07-14 21:49:24 +00:00
netgraph Mark ng_h4(4) as not MPSAFE and disconnect it from the build for now. 2007-07-10 16:38:43 +00:00
netinet - Modular congestion control, with RFC2581 being the default. 2007-07-14 09:36:28 +00:00
netinet6 - Modular congestion control, with RFC2581 being the default. 2007-07-14 09:36:28 +00:00
netipsec Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
netipx Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
netnatm s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
netsmb Fixing the mount_smbfs(8) hanging by utilising the destroy_dev_sched() KPI. 2007-07-10 09:23:10 +00:00
nfs
nfs4client - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
nfsclient Fix for a race where out of order loading of NFS attrs into the 2007-07-03 18:31:47 +00:00
nfsserver Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
opencrypto Quiet warnings. These do not appear to be actually used uninitialized, 2007-07-05 06:59:14 +00:00
pc98 In the function pc98_check_if_type for the non-8251 case 2007-07-11 22:25:38 +00:00
pccard
pci Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
powerpc Cast the arguments to atomic_*_ptr() when mapping it to atomic_*_32() 2007-07-10 04:40:00 +00:00
rpc Check for a NULL return from rpcclnt_buildheader- it can fail if 2007-06-16 05:42:26 +00:00
security In preparation for 7.0 privilege cleanup, clean up style: 2007-07-05 13:16:04 +00:00
sparc64 - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
sun4v Fix warning - add missing #include 2007-07-06 00:41:53 +00:00
sys Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
tools Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
ufs Perform range check before allocating memory when reading 2007-07-13 18:51:08 +00:00
vm Eliminate two unused functions: vm_phys_alloc_pages() and 2007-07-14 21:21:17 +00:00
Makefile Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00