[openfirmware] [commit] r2848 - cpu/arm

repository service svn at openfirmware.info
Tue Jan 24 20:05:07 CET 2012


Author: wmb
Date: Tue Jan 24 20:05:07 2012
New Revision: 2848
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2848

Log:
ARM kernel - fixed bugs in ilimit and jlimit - they were completely broken.

Modified:
   cpu/arm/kerncode.fth

Modified: cpu/arm/kerncode.fth
==============================================================================
--- cpu/arm/kerncode.fth	Mon Jan 23 18:56:23 2012	(r2847)
+++ cpu/arm/kerncode.fth	Tue Jan 24 20:05:07 2012	(r2848)
@@ -286,7 +286,7 @@
 c;
 code ilimit  ( -- n )
    psh      tos,sp
-   ldr      tos,[rp],1cell
+   ldr      tos,[rp,1cell]
    inc      tos,#0x80000000
 c;
 code j  ( -- n )
@@ -297,7 +297,7 @@
 c;
 code jlimit  ( -- n )
    psh      tos,sp
-   ldr      tos,[rp],4cells
+   ldr      tos,[rp,4cells]
    inc      tos,#0x80000000
 c;
 



More information about the openfirmware mailing list