Module Name:    src
Committed By:   joerg
Date:           Wed Jul 30 23:15:23 UTC 2014

Modified Files:
        src/sys/arch/evbppc/mpc85xx: mpc85xx_start.S
        src/sys/arch/powerpc/powerpc: locore_subr.S

Log Message:
Correct last, ha+l uses lis+addi, so use h+l.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbppc/mpc85xx/mpc85xx_start.S
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/powerpc/powerpc/locore_subr.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/evbppc/mpc85xx/mpc85xx_start.S
diff -u src/sys/arch/evbppc/mpc85xx/mpc85xx_start.S:1.7 src/sys/arch/evbppc/mpc85xx/mpc85xx_start.S:1.8
--- src/sys/arch/evbppc/mpc85xx/mpc85xx_start.S:1.7	Wed Jul 30 22:45:21 2014
+++ src/sys/arch/evbppc/mpc85xx/mpc85xx_start.S	Wed Jul 30 23:15:23 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpc85xx_start.S,v 1.7 2014/07/30 22:45:21 joerg Exp $	*/
+/*	$NetBSD: mpc85xx_start.S,v 1.8 2014/07/30 23:15:23 joerg Exp $	*/
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -37,7 +37,7 @@
 #include <sys/cdefs.h>
 #include <powerpc/asm.h>
 
-RCSID("$NetBSD: mpc85xx_start.S,v 1.7 2014/07/30 22:45:21 joerg Exp $")
+RCSID("$NetBSD: mpc85xx_start.S,v 1.8 2014/07/30 23:15:23 joerg Exp $")
 
 #include "opt_altivec.h"
 #include "opt_ddb.h"
@@ -86,7 +86,7 @@ __start:
 	/*
 	 * Set all the registers we don't care about to a known junk value.
 	 */
-	lis	%r2,0xdeadbeef@ha
+	lis	%r2,0xdeadbeef@h
 	ori	%r2,%r2,0xdeadbeef@l
 	mr	%r9,%r2
 	mr	%r10,%r9

Index: src/sys/arch/powerpc/powerpc/locore_subr.S
diff -u src/sys/arch/powerpc/powerpc/locore_subr.S:1.52 src/sys/arch/powerpc/powerpc/locore_subr.S:1.53
--- src/sys/arch/powerpc/powerpc/locore_subr.S:1.52	Wed Jul 30 22:45:21 2014
+++ src/sys/arch/powerpc/powerpc/locore_subr.S	Wed Jul 30 23:15:23 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore_subr.S,v 1.52 2014/07/30 22:45:21 joerg Exp $	*/
+/*	$NetBSD: locore_subr.S,v 1.53 2014/07/30 23:15:23 joerg Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -508,7 +508,7 @@ _ENTRY(cpu_lwp_bootstrap)
 	blrl				/* jump indirect to r31 */
 	lwz	%r31, FRAME_SRR1(%r1)	/* trapexit wants srr1 in r31 */
 #ifdef PPC_BOOKE
-	lis	%r30, 0xbeeffeed@ha
+	lis	%r30, 0xbeeffeed@h
 	ori	%r30, %r30, 0xbeeffeed@l
 	andis.	%r0,%r31,PSL_CE@h
 	tweqi	%r0,0

Reply via email to