[openfirmware] [commit] r1853 - cpu/x86/pc/olpc/via

repository service svn at openfirmware.info
Thu Jul 1 19:32:54 CEST 2010


Author: wmb
Date: Thu Jul  1 19:32:54 2010
New Revision: 1853
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1853

Log:
OLPC XO-1.5 - added commented-out code to early startup sequence
to clear memory before starting Forth.  It was a test for a
page-fault-after-runin problem that was never fully diagnosed -
but it seems to have disappeared with a new system build.
(This message applies to the change to startmemtop.fth; the
previous instance of this message was incorrectly attached
to the initial checkin of startpcirestore.fth)

Modified:
   cpu/x86/pc/olpc/via/startmemtop.fth

Modified: cpu/x86/pc/olpc/via/startmemtop.fth
==============================================================================
--- cpu/x86/pc/olpc/via/startmemtop.fth	Thu Jul  1 19:31:17 2010	(r1852)
+++ cpu/x86/pc/olpc/via/startmemtop.fth	Thu Jul  1 19:32:54 2010	(r1853)
@@ -19,3 +19,9 @@
 
    bx  mem-info-pa 4 + #) mov   \ Top of memory
 
+\   bx di mov
+\   h# 800.0000 # di sub         \ Clear the last 128 MB
+\   h# 800.0000 4 / # cx mov     \ Longword count
+\   cld
+\   ax ax xor
+\   rep  ax stos



More information about the openfirmware mailing list