Module Name:    src
Committed By:   simonb
Date:           Mon Jul 20 03:17:44 UTC 2020

Modified Files:
        src/sys/arch/mips/include: cpuregs.h

Log Message:
Expose the width of the MIPS_EBASE_CPUNUM bitfield for asm code.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/mips/include/cpuregs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/include/cpuregs.h
diff -u src/sys/arch/mips/include/cpuregs.h:1.101 src/sys/arch/mips/include/cpuregs.h:1.102
--- src/sys/arch/mips/include/cpuregs.h:1.101	Mon Jul 20 01:10:38 2020
+++ src/sys/arch/mips/include/cpuregs.h	Mon Jul 20 03:17:44 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpuregs.h,v 1.101 2020/07/20 01:10:38 simonb Exp $	*/
+/*	$NetBSD: cpuregs.h,v 1.102 2020/07/20 03:17:44 simonb Exp $	*/
 
 /*
  * Copyright (c) 2009 Miodrag Vallat.
@@ -836,6 +836,7 @@
 #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)
+#define	MIPS_EBASE_CPUNUM_WIDTH		10	/* used by asm code */
 
 /*
  * Hints for the prefetch instruction

Reply via email to