summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2021-04-29 12:49:20 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2021-04-29 12:49:20 +0000
commit4f98bef834840d1f70402cf0c2acf24dce323532 (patch)
tree6607aad7b3a610f3c54639d9d8a981266b4adc7b /sys/arch/mips64/include
parentfce97885af0047ae2321266684983d609fde58f7 (diff)
Remove unused RM7000 ICR handling.
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/frame.h4
-rw-r--r--sys/arch/mips64/include/pcb.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mips64/include/frame.h b/sys/arch/mips64/include/frame.h
index ab32612e8ee..23f90dbec51 100644
--- a/sys/arch/mips64/include/frame.h
+++ b/sys/arch/mips64/include/frame.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: frame.h,v 1.7 2016/03/06 19:42:27 mpi Exp $ */
+/* $OpenBSD: frame.h,v 1.8 2021/04/29 12:49:19 visa Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -71,7 +71,7 @@ struct trapframe {
register_t badvaddr;
register_t cause;
register_t pc;
- register_t ic;
+ register_t ic; /* unused, was RM7000 ICR */
register_t ipl;
/* From here and on, only saved user processes. */
diff --git a/sys/arch/mips64/include/pcb.h b/sys/arch/mips64/include/pcb.h
index b16749101d9..aa0f1261039 100644
--- a/sys/arch/mips64/include/pcb.h
+++ b/sys/arch/mips64/include/pcb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcb.h,v 1.8 2016/03/06 19:42:27 mpi Exp $ */
+/* $OpenBSD: pcb.h,v 1.9 2021/04/29 12:49:19 visa Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -48,6 +48,7 @@
struct pcb {
struct trapframe pcb_regs; /* saved CPU and registers */
struct {
+ /* val[12] is unused, was RM7000 ICR */
register_t val[13];
} pcb_context; /* kernel context for resume */
int pcb_onfault; /* for copyin/copyout faults */