diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-06-08 22:00:26 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-06-08 22:00:26 +0000 |
commit | d0908d395d6af71775d2da9a48a1f5fb7dd912a5 (patch) | |
tree | 0cae3c68b2d5a5a6e14a914edd5155df273d714a /sys/arch/hppa/include | |
parent | 22bb92adea4e8ab5ea342fc914a4533d54095e68 (diff) |
always create a stack frame in cpu_switch() and put a stub
for doing page idle zeroing.
store the kernele stack pointer into pcb instead of trapframe
for debuggers doing stack traces; from kettenis@
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/pcb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/pcb.h b/sys/arch/hppa/include/pcb.h index 7d2c62bb708..16da7dd0053 100644 --- a/sys/arch/hppa/include/pcb.h +++ b/sys/arch/hppa/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.8 2004/04/07 18:24:19 mickey Exp $ */ +/* $OpenBSD: pcb.h,v 1.9 2004/06/08 22:00:25 mickey Exp $ */ /* * Copyright (c) 1999-2004 Michael Shalayeff @@ -37,6 +37,7 @@ struct pcb { u_int pcb_onfault; /* SW copy fault handler */ pa_space_t pcb_space; /* copy pmap_space, for asm's sake */ vaddr_t pcb_uva; /* KVA for U-area */ + u_int pcb_ksp; /* kernel sp for ctxsw */ }; struct md_coredump { |