Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/include Update trapframe and pcb
details: https://anonhg.NetBSD.org/src/rev/b6b0ae286f7f
branches: trunk
changeset: 768901:b6b0ae286f7f
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sun Aug 28 19:40:26 2011 +0000
description:
Update trapframe and pcb
diffstat:
sys/arch/usermode/include/pcb.h | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r a87ad57825ea -r b6b0ae286f7f sys/arch/usermode/include/pcb.h
--- a/sys/arch/usermode/include/pcb.h Sun Aug 28 19:39:42 2011 +0000
+++ b/sys/arch/usermode/include/pcb.h Sun Aug 28 19:40:26 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.4 2011/08/25 14:24:48 reinoud Exp $ */
+/* $NetBSD: pcb.h,v 1.5 2011/08/28 19:40:26 reinoud Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -38,17 +38,17 @@
*/
typedef struct trapframe {
- int tf_reason; /* XXX unused */
- vaddr_t tf_pc; /* return address */
- uintptr_t tf_out[8]; /* to transport info */
+ int (*tf_syscall)(void *); /* address to call for syscalls */
+ int tf_reason; /* XXX unused */
+ uintptr_t tf_io[8]; /* to transport info */
} trapframe_t;
struct pcb {
- ucontext_t pcb_ucp;
- bool pcb_needfree;
- struct trapframe *pcb_tf; /* XXX */
- void * pcb_onfault; /* on fault handler */
+ ucontext_t pcb_ucp;
+ bool pcb_needfree;
+ struct trapframe pcb_tf; /* XXX */
+ void * pcb_onfault; /* on fault handler */
};
#endif /* !_ARCH_USERMODE_INCLUDE_PCB_H */
Home |
Main Index |
Thread Index |
Old Index