[openfirmware] [commit] r3783 - cpu/ppc

repository service svn at openfirmware.info
Thu Oct 1 06:36:32 CET 2015


Author: quozl
Date: Thu Oct  1 06:36:31 2015
New Revision: 3783
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3783

Log:
PPC - der! writes to wrong register, der! is unused elsewhere in Open Firmware, reported by Marcin Cieslak, reviewed by James Cameron.

Modified:
   cpu/ppc/spr.fth

Modified: cpu/ppc/spr.fth
==============================================================================
--- cpu/ppc/spr.fth	Wed Sep 30 07:07:04 2015	(r3782)
+++ cpu/ppc/spr.fth	Thu Oct  1 06:36:31 2015	(r3783)
@@ -426,7 +426,7 @@
    mfspr  tos,der
 c;
 code der!  ( n -- )
-   mtspr immr,tos
+   mtspr der,tos
    lwz tos,0(sp)
    addi sp,sp,1cell
 c;



More information about the openfirmware mailing list