summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-17 00:34:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-06-17 00:34:59 +0000
commitf2fefc2ff94cd97b8c8f0ec6c661bb43fbc000a1 (patch)
treec76a0e28c09a5f43cd011b17efb328f4ad1d160c /sys/arch/hppa
parentf155c5c97c1ba3f46dff145a5abb408e5506a4e7 (diff)
ldcw does a store too
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/include/db_machdep.h9
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 ||