OpenGrok
Cross Reference: machdep.h
xref
: /
src
/
sys
/
arch
/
usermode
/
include
/
machdep.h
Home
|
History
|
Annotate
|
Download
|
only in
include
History log of
/src/sys/arch/usermode/include/machdep.h
Revision
Date
Author
Comments
1.8
14-Jan-2012
reinoud
Add md_get_sp() for MI stack frame manipulation. Note that NetBSD/usermode
only works on decending stacks for now!
1.7
03-Jan-2012
reinoud
Fix logic that checks if its the kernel or a userland process that causes the
trap. Signal sending still needs to be addressed.
1.6
14-Dec-2011
reinoud
Remove the need for a siginfo structure in illegal instruction handling.
1.5
14-Dec-2011
jmcneill
need to sigaltstack for each lwp
1.4
27-Nov-2011
reinoud
branches: 1.4.2;
Big patch that changes the signal stack usage of urkel significantly.
Formerly, all signals came on the signal stack and the two important ones were
then forwared to either the system call or the pagefault handler. This worked
fine but the signal stack remains that, a stack. When we go multi-process this
stack gets corrupted and out-of-order with all kind of nastyness since a
userland process switch can occure when a system call is called or when a
process gets a page fault.
The new scheme only uses the signal stack as a jumpboard. It swaps states and
then returns from the signal, clearing the stack but instead of returning to
the code it now jumpt to the handler and that handler then returns to the code
when its finished.
1.3
09-Sep-2011
reinoud
branches: 1.3.2;
machdep.c: Cleanup the machine dependent code and set the carry flag on error
out. While here also clean up register printing.
syscall.c: Add debug syscall printing code to track basic syscalls being
taken.
1.2
08-Sep-2011
reinoud
Implement a working(!) syscall! well, it can call a number of syscalls without
dying ;)
1.1
08-Sep-2011
reinoud
Add a machdep protoype header file to coder all prototypes in machdep.c
1.3.2.1
17-Apr-2012
yamt
sync with head
1.4.2.1
18-Feb-2012
mrg
merge to -current.
Indexes created Sat Oct 18 17:09:52 GMT 2025