Module Name: src
Committed By: reinoud
Date: Sat Jan 14 17:31:09 UTC 2012
Modified Files:
src/sys/arch/usermode/include: machdep.h
Log Message:
Add md_get_sp() for MI stack frame manipulation. Note that NetBSD/usermode
only works on decending stacks for now!
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/include/machdep.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/include/machdep.h
diff -u src/sys/arch/usermode/include/machdep.h:1.7 src/sys/arch/usermode/include/machdep.h:1.8
--- src/sys/arch/usermode/include/machdep.h:1.7 Tue Jan 3 10:53:46 2012
+++ src/sys/arch/usermode/include/machdep.h Sat Jan 14 17:31:09 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.h,v 1.7 2012/01/03 10:53:46 reinoud Exp $ */
+/* $NetBSD: machdep.h,v 1.8 2012/01/14 17:31:09 reinoud Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <[email protected]>
@@ -36,10 +36,7 @@ void md_syscall_set_returnargs(lwp_t *l,
void md_syscall_inc_pc(ucontext_t *ucp, uint32_t opcode);
void md_syscall_dec_pc(ucontext_t *ucp, uint32_t opcode);
register_t md_get_pc(ucontext_t *ucp);
+register_t md_get_sp(ucontext_t *ucp);
/* handlers */
void syscall(void);
-void pagefault(void);
-
-/* signal stack */
-stack_t *usermode_signal_stack(void);