1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00
freebsd/sys
Bruce Evans 8b530941f4 Fix single-stepping of instructions emulated by vm86.
In vm86.c, fix 2 (rarely used) cases where the return code lost the
single-step indicator.  While here, fix 2 misspellings of PSL_T as
PSL_TF (TF is the CPU manufacturer's spelling, but we use T).

In trap.c, turn T_PROTFLT and T_STKFLT into T_TRCTRAP if
vm86_emulate() asked for this (it does this when the instruction is
being traced and was successully emulated).  In the kernel case, we
used to deliver the trap as SIGTRAP to the process, where it always
terminated the process; now we deliver the trap as T_TRCTRAP to kdb,
where it normally gives single-stepping.  In the user case, the only
difference is that we now clear PSL_T and initialize ucode properly.

Reviewed by:	kib
2016-09-08 14:43:39 +00:00
..
amd64 work around AMD erratum 793 for family 16h, models 00h-0Fh 2016-09-07 14:24:29 +00:00
arm Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
arm64 Trap msr/mrs instructions. These are privileged arm64 instructions and 2016-09-08 12:53:01 +00:00
boot pxeboot: Add nfs.read_size tunable. 2016-09-08 09:11:13 +00:00
bsm
cam Don't report to devd statuses that CAM doesn't consider errors. 2016-09-08 13:33:33 +00:00
cddl MFV r305562: 7259 DS_FIELD_LARGE_BLOCKS is unused 2016-09-07 20:09:24 +00:00
compat Remove a pointless translation of struct ioc_toc_header. 2016-09-08 00:38:50 +00:00
conf Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
contrib Update Annapurna Alpine HAL to a newer version. 2016-09-06 14:59:13 +00:00
crypto Fix typo in skein amd64 assembly 2016-09-08 02:38:55 +00:00
ddb Expand error messages: print symbol names, parentheses and shift tokens, 2016-08-28 19:33:09 +00:00
dev intpm: make sure to register smbus driver before intpm driver 2016-09-08 12:43:24 +00:00
fs nullfs: stop special-casing directories in null_vptocnp 2016-09-06 21:22:03 +00:00
gdb
geom Don't treat an error from g_mirror_clear_metadata() as fatal. 2016-09-06 23:42:59 +00:00
gnu
i386 Fix single-stepping of instructions emulated by vm86. 2016-09-08 14:43:39 +00:00
isa
kern Update capabilities.conf comment 2016-09-08 14:04:04 +00:00
kgssapi
libkern
mips Fix MIPS INTRNG (both FDT and non-FDT) behaviour broken by r304459 2016-09-07 09:31:10 +00:00
modules Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
net hyperv/hn: Stringent RNDIS packet message length/offset check. 2016-09-06 03:20:06 +00:00
net80211
netgraph
netinet With clang 3.9.0, compiling sys/netinet/igmp.c results in the following 2016-09-04 17:23:10 +00:00
netinet6
netipsec Remove redundant sanity checks from ipsec[46]_common_input_cb(). 2016-08-31 11:51:52 +00:00
netnatm
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Do not free an uninitialized pointer on soaccept failure in the iWARP 2016-08-26 08:25:28 +00:00
opencrypto
pc98
powerpc Chelsio T4/T5 VF driver. 2016-09-07 18:13:57 +00:00
riscv Remove support for idle page zeroing. 2016-09-03 20:38:13 +00:00
rpc
security
sparc64 Disable vt(4) by default on sparc64 as creator_vt(4) and vt_ofwfb(4) 2016-09-06 22:18:08 +00:00
sys Resolve deadlock between device_detach() and usbd_do_request_flags() 2016-09-05 15:35:58 +00:00
teken
tests
tools
ufs On rename, do not perform truncation of dirhash if the vnode 2016-09-08 12:09:34 +00:00
vm Respect the caller's hints when performing swap readahead. 2016-09-04 00:25:49 +00:00
x86 Remove remnants of PERFMON and I586_PMC_GUPROF from amd64. 2016-09-06 19:25:32 +00:00
xdr
xen
Makefile