freebsd-nq/sys/amd64
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 FreeBSD-specific OSD (operating system dependant) modules for the Intel 2000-10-28 06:56:15 +00:00
amd64 The p_md.md_regs member of proc is used in signal handling to reference 2001-02-22 19:35:20 +00:00
conf Clean up some leftovers from the root mount cleanup that was done some 2001-02-04 15:35:10 +00:00
include GC unused and now obsolete assertion macros. 2001-02-22 15:45:49 +00:00
isa - Add a new ithread_schedule() function to do the bulk of the work of 2001-02-20 10:25:29 +00:00
pci Free the memory we get from devclass_get_devices and device_get_children. 2001-02-08 20:44:49 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00