diff options
author | 2004-06-17 00:34:58 +0000 | |
---|---|---|
committer | 2004-06-17 00:34:58 +0000 | |
commit | ffb505077d3416de32698d7e40dbdab8053c3594 (patch) | |
tree | 580e5beed072de4bda56f9991275d38ba275a5b8 | |
parent | use local var copy of frame->tf_iir everywhere and fix one panic (diff) | |
download | wireguard-openbsd-ffb505077d3416de32698d7e40dbdab8053c3594.tar.xz wireguard-openbsd-ffb505077d3416de32698d7e40dbdab8053c3594.zip |
ldcw does a store too
-rw-r--r-- | sys/arch/hppa/include/db_machdep.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/include/db_machdep.h b/sys/arch/hppa/include/db_machdep.h index b3f885e7f1d..1b2fe787c40 100644 --- a/sys/arch/hppa/include/db_machdep.h +++ b/sys/arch/hppa/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.10 2004/04/07 18:24:19 mickey Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.11 2004/06/17 00:34:58 mickey Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -75,9 +75,10 @@ static __inline int inst_load(u_int ins) { (ins & 0xfc001fc0) != 0x0c0011c0; } static __inline int inst_store(u_int ins) { - return (ins & 0xf0000000) == 0x60000000 || - (ins & 0xf4000200) == 0x24000200 || - (ins & 0xfc000200) == 0x0c000200; + return (ins & 0xf0000000) == 0x60000000 || /* st */ + (ins & 0xf4000200) == 0x24000200 || /* fst/cst */ + (ins & 0xfc000200) == 0x0c000200 || /* stby */ + (ins & 0xfc0003c0) == 0x0c0001c0; /* ldcw */ } static __inline int inst_return(u_int ins) { return (ins & 0xfc00e000) == 0xe800c000 || |