freebsd-nq/sys/i386
John Baldwin feb43c5f37 The p_md.md_regs member of proc is used in signal handling to reference
the the original trapframe of the syscall, trap, or interrupt that entered
the kernel.  Before SMPng, ast's were handled via a psuedo trap at the
end of doerti.  With the SMPng commit, ast's were broken out into a
separate ast() function that was called from doreti to match the behavior
of other architectures.  Unfortunately, when this was done, the
p_md.md_regs member of curproc was not updateda in ast(), thus when
signals are handled by userret() after an interrupt that returns to
userland, we end up using a stale trapframe that will result in the
registers from the old trapframe overwriting the real trapframe and
smashing all the registers right before we return to usermode.  The saved
%cs:%eip from where we were in usermode are saved in the trapframe for
example.
2001-02-22 19:35:20 +00:00
..
acpica
apm select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
bios select() DKI is now in <sys/selinfo.h>. 2001-01-09 04:33:49 +00:00
conf Now that zerror() and SPLASSERT() have been laid to rest, INVARIANT_SUPPORT 2001-02-22 10:03:05 +00:00
i386 The p_md.md_regs member of proc is used in signal handling to reference 2001-02-22 19:35:20 +00:00
ibcs2 Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
include GC unused and now obsolete assertion macros. 2001-02-22 15:45:49 +00:00
isa - Change ast() to take a pointer to a trapframe like other architectures. 2001-02-22 18:05:15 +00:00
linux Allow debugging output to be controlled on a per-syscall granularity. 2001-02-16 16:40:43 +00:00
pci Free the memory we get from devclass_get_devices and device_get_children. 2001-02-08 20:44:49 +00:00
svr4 - Proc locking. 2001-01-24 00:24:57 +00:00
Makefile