changeset 506:148c41b548dc

Fix build failures caused by using the wrong register #define
author bartv
date Sun, 19 Jan 2003 12:05:10 +0000
parents acf7e0451d91
children 0baabe6e08e0
files packages/hal/powerpc/mpc8xx/current/ChangeLog packages/hal/powerpc/mpc8xx/current/src/variant.S
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/mpc8xx/current/ChangeLog
+++ b/packages/hal/powerpc/mpc8xx/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-18  Bart Veer  <bartv@ecoscentric.com>
+
+	* src/variant.S: _mpc8xx_reset caused build failures with current
+	tools.
+
 2002-12-02  Gary Thomas  <gthomas@ecoscentric.com>
 
 	* src/variant.S (_mpc8xx_reset): New function, used to cause a
@@ -217,6 +222,7 @@ 2000-02-07  Jesper Skov  <jskov@redhat.c
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
+// Copyright (C) 2003 Bart Veer
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
 //
 // eCos is free software; you can redistribute it and/or modify it under
--- a/packages/hal/powerpc/mpc8xx/current/src/variant.S
+++ b/packages/hal/powerpc/mpc8xx/current/src/variant.S
@@ -8,6 +8,7 @@
 #####ECOSGPLCOPYRIGHTBEGIN####
 ## -------------------------------------------
 ## This file is part of eCos, the Embedded Configurable Operating System.
+## Copyright (C) 2003 Bart Veer
 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
 ## Copyright (C) 2002 Gary Thomas
 ##
@@ -100,7 +101,7 @@ hal_interrupt_objects:
         ori     r3,r3,0x0080  // Bit 24
 	stw	r3,PLPRCR(r4)
         mfmsr   r3
-        lwi     r5,~MSR_ME
+        lwi     r5,~CYGARC_REG_MSR_ME
         and     r3,r3,r5
         mtmsr   r3