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 Note some hard-coded capabilties that ...
details: https://anonhg.NetBSD.org/src/rev/b6558bc3129c
branches: trunk
changeset: 934483:b6558bc3129c
user: simonb <simonb%NetBSD.org@localhost>
date: Sat Jun 13 14:26:33 2020 +0000
description:
Note some hard-coded capabilties that can be probed.
XXX: Fix this and CPU table in mips/mips_machdep.c one day...
diffstat:
sys/arch/mips/include/locore.h | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (38 lines):
diff -r 4d5925dd3da6 -r b6558bc3129c sys/arch/mips/include/locore.h
--- a/sys/arch/mips/include/locore.h Sat Jun 13 13:45:06 2020 +0000
+++ b/sys/arch/mips/include/locore.h Sat Jun 13 14:26:33 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.h,v 1.105 2020/05/24 07:15:24 simonb Exp $ */
+/* $NetBSD: locore.h,v 1.106 2020/06/13 14:26:33 simonb Exp $ */
/*
* This file should not be included by MI code!!!
@@ -857,17 +857,17 @@
#define MIPS_CP0FL_CACHE_ERR __BIT(2)
#define MIPS_CP0FL_EIRR __BIT(3)
#define MIPS_CP0FL_EIMR __BIT(4)
-#define MIPS_CP0FL_EBASE __BIT(5)
-#define MIPS_CP0FL_CONFIG __BIT(6)
-#define MIPS_CP0FL_CONFIG1 __BIT(7)
-#define MIPS_CP0FL_CONFIG2 __BIT(8)
-#define MIPS_CP0FL_CONFIG3 __BIT(9)
-#define MIPS_CP0FL_CONFIG4 __BIT(10)
-#define MIPS_CP0FL_CONFIG5 __BIT(11)
-#define MIPS_CP0FL_CONFIG6 __BIT(12)
-#define MIPS_CP0FL_CONFIG7 __BIT(13)
-#define MIPS_CP0FL_USERLOCAL __BIT(14)
-#define MIPS_CP0FL_HWRENA __BIT(15)
+#define MIPS_CP0FL_EBASE __BIT(5) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG __BIT(6) /* XXX defined - doesn't need to be hard coded */
+#define MIPS_CP0FL_CONFIG1 __BIT(7) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG2 __BIT(8) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG3 __BIT(9) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG4 __BIT(10) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG5 __BIT(11) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG6 __BIT(12) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_CONFIG7 __BIT(13) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_USERLOCAL __BIT(14) /* XXX probeable - shouldn't be hard coded */
+#define MIPS_CP0FL_HWRENA __BIT(15) /* XXX probeable - shouldn't be hard coded */
/*
* cpu_cidflags defines, by company
Home |
Main Index |
Thread Index |
Old Index