Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/arch/mips/mips Pull up following revision(s) (request...
details: https://anonhg.NetBSD.org/src/rev/158e570c5bb6
branches: netbsd-9
changeset: 454281:158e570c5bb6
user: martin <martin%NetBSD.org@localhost>
date: Fri Sep 13 06:56:23 2019 +0000
description:
Pull up following revision(s) (requested by skrll in ticket #199):
sys/arch/mips/mips/locore.S: revision 1.220
Fix a maya fix so that cobalt boots again.
Set MIPS_COP_0_CAUSE to zero before the rest of the initialisation
diffstat:
sys/arch/mips/mips/locore.S | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r e4190c98da33 -r 158e570c5bb6 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S Fri Sep 13 06:54:09 2019 +0000
+++ b/sys/arch/mips/mips/locore.S Fri Sep 13 06:56:23 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.219 2018/09/07 21:14:45 macallan Exp $ */
+/* $NetBSD: locore.S,v 1.219.4.1 2019/09/13 06:56:23 martin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -63,7 +63,7 @@
#include <mips/trap.h>
#include <mips/locore.h>
-RCSID("$NetBSD: locore.S,v 1.219 2018/09/07 21:14:45 macallan Exp $")
+RCSID("$NetBSD: locore.S,v 1.219.4.1 2019/09/13 06:56:23 martin Exp $")
#include "assym.h"
@@ -73,10 +73,10 @@
.globl _C_LABEL(kernel_text) # libkvm refers this
start:
_C_LABEL(kernel_text):
+ /* First disable the interrupts only, for safety */
mfc0 k0, MIPS_COP_0_STATUS
MFC0_HAZARD
- /* First disable the interrupts only, for safety */
and k0, ~MIPS_SR_INT_IE
mtc0 k0, MIPS_COP_0_STATUS
COP0_SYNC
@@ -85,6 +85,7 @@
/* Leaving TS | RE alone (for emips) */
and k0, MIPS_SR_TS | MIPS3_SR_RE
mtc0 k0, MIPS_COP_0_STATUS
+ mtc0 zero, MIPS_COP_0_CAUSE
COP0_SYNC
#if defined(_LP64)
Home |
Main Index |
Thread Index |
Old Index