Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/riscv/include Add a md_tp member to mdlwp so that t...
details: https://anonhg.NetBSD.org/src/rev/1210ce55e2d4
branches: trunk
changeset: 337039:1210ce55e2d4
user: matt <matt%NetBSD.org@localhost>
date: Tue Mar 31 01:12:29 2015 +0000
description:
Add a md_tp member to mdlwp so that the exception handler can temporarily
store the user's thread pointer before saving it in the trapframe.
diffstat:
sys/arch/riscv/include/proc.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 0ecc74fff472 -r 1210ce55e2d4 sys/arch/riscv/include/proc.h
--- a/sys/arch/riscv/include/proc.h Tue Mar 31 01:11:41 2015 +0000
+++ b/sys/arch/riscv/include/proc.h Tue Mar 31 01:12:29 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.1 2014/09/19 17:36:26 matt Exp $ */
+/* $NetBSD: proc.h,v 1.2 2015/03/31 01:12:29 matt Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -46,6 +46,7 @@
struct trapframe *md_utf; /* trapframe from userspace */
struct trapframe *md_ktf; /* trapframe from userspace */
struct faultbuf *md_onfault; /* registers to store on fault */
+ register_t md_tp; /* for locore.S */
vaddr_t md_ss_addr; /* single step address for ptrace */
int md_ss_instr; /* single step instruction for ptrace */
volatile int md_astpending; /* AST pending on return to userland */
Home |
Main Index |
Thread Index |
Old Index