Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Add an extra bitfield in MIPS_COP_0_EB...



details:   https://anonhg.NetBSD.org/src/rev/def0b70070f1
branches:  trunk
changeset: 936147:def0b70070f1
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Jul 20 01:10:38 2020 +0000

description:
Add an extra bitfield in MIPS_COP_0_EBASE.

diffstat:

 sys/arch/mips/include/cpuregs.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 04b676ce6ef6 -r def0b70070f1 sys/arch/mips/include/cpuregs.h
--- a/sys/arch/mips/include/cpuregs.h   Mon Jul 20 01:06:33 2020 +0000
+++ b/sys/arch/mips/include/cpuregs.h   Mon Jul 20 01:10:38 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuregs.h,v 1.100 2020/07/13 09:00:40 simonb Exp $     */
+/*     $NetBSD: cpuregs.h,v 1.101 2020/07/20 01:10:38 simonb Exp $     */
 
 /*
  * Copyright (c) 2009 Miodrag Vallat.
@@ -833,6 +833,8 @@
 /*
  * Bits defined for EBASE (CP0 register 15, select 1).
  */
+#define        MIPS_EBASE_EXC_BASE_SHIFT       12
+#define        MIPS_EBASE_EXC_BASE             __BITS(29, MIPS_EBASE_EXC_BASE_SHIFT)
 #define        MIPS_EBASE_CPUNUM               __BITS(9, 0)
 
 /*



Home | Main Index | Thread Index | Old Index