Changeset 2601


Ignore:
Timestamp:
Oct 13, 2011, 6:27:05 AM (4 years ago)
Author:
wmb
Message:

OLPC XO-1.75 - Fixed regression that caused test /memory to fail; the DMA region was no longer mapped virtual=physical.

Location:
cpu/arm/olpc/1.75
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/1.75/prefw.bth

    r2593 r2601  
    6565' (cpu-arch to cpu-arch
    6666
     67[ifndef] virtual-mode
     68fload ${BP}/cpu/arm/mmp2/mmuon.fth
     69[then]
    6770fload ${BP}/cpu/arm/olpc/1.75/probemem.fth      \ Memory probing
    6871
     
    7881fload ${BP}/ofw/core/initdict.fth       \ Dynamic dictionary allocation
    7982fload ${BP}/arch/arm/loadarea.fth       \ Allocate and map program load area
    80 [else]
    81 fload ${BP}/cpu/arm/mmp2/mmuon.fth
    8283[then]
    8384
  • cpu/arm/olpc/1.75/probemem.fth

    r2593 r2601  
    9494;
    9595
     96: map-dma  ( -- )
     97   dma-mem-va >physical dup  /dma-mem map-sections
     98;
    9699: selftest  ( -- error? )
     100   map-dma
    97101
    98102   false to mem-fail?
Note: See TracChangeset for help on using the changeset viewer.