summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 08:56:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 08:56:12 +0000
commitb911f897b8df90cc1c0fd801566642faefcda9b4 (patch)
treee8fe1a91598a5f2a7a4e1759b806c75597dd9c61 /sys/arch
parent2a66f999f818870b4d06cdbc9a26d38b16b55f9f (diff)
have to set p_md as well, used to shoot clouds before
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/locore.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index 69c5857e7c4..a5bb5bcc19d 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.55 2002/03/08 08:34:03 mickey Exp $ */
+/* $OpenBSD: locore.S,v 1.56 2002/03/08 08:56:11 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -195,6 +195,8 @@ $start_zero_tf
stw arg3, R%proc0paddr(t1)
ldil L%proc0, t2
stw arg3, R%proc0+P_ADDR(t2)
+ ldo -TRAPFRAME_SIZEOF(sp), t3
+ stw t3, R%proc0+P_MD(t2)
ldil L%TFF_LAST, t1
stw t1, TF_FLAGS-TRAPFRAME_SIZEOF(sp)