summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ||