Module Name:    src
Committed By:   thorpej
Date:           Sat Feb 13 01:11:58 UTC 2021

Modified Files:
        src/sys/arch/macppc/macppc: locore.S

Log Message:
Call cpu_model_init() after clearing the MSR.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/macppc/macppc/locore.S

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/macppc/macppc/locore.S
diff -u src/sys/arch/macppc/macppc/locore.S:1.75 src/sys/arch/macppc/macppc/locore.S:1.76
--- src/sys/arch/macppc/macppc/locore.S:1.75	Thu Feb 11 19:06:24 2021
+++ src/sys/arch/macppc/macppc/locore.S	Sat Feb 13 01:11:58 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.S,v 1.75 2021/02/11 19:06:24 macallan Exp $	*/
+/*	$NetBSD: locore.S,v 1.76 2021/02/13 01:11:58 thorpej Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -82,9 +82,6 @@ _C_LABEL(kernel_text):
 	.globl	__start
 __start:
 	bl	_C_LABEL(ofwinit)		/* init OF */
-	mr	13,6
-	mr	14,7
-	bl	_C_LABEL(cpu_model_init)	/* init oeacpufeat */
 
 	li	0,0
 #ifndef FIRMWORKSBUGS
@@ -92,6 +89,10 @@ __start:
 #endif
 	isync
 
+	mr	13,6
+	mr	14,7
+	bl	_C_LABEL(cpu_model_init)	/* init oeacpufeat */
+
 /* compute end of kernel memory */
 	lis	4,_C_LABEL(end)@ha
 	addi	4,4,_C_LABEL(end)@l

Reply via email to