Ignore:
Timestamp:
Apr 1, 2013, 8:57:02 PM (11 years ago)
Author:
cfuguet
Message:

Introducing dcache line invalidation mechanism in the boot_ioc_read
function, when using platform without cache coherency.

Introducing two parameters in the defs_platform.h file:

CACHE_COHERENCE

Equals to 0 when no cache coherency

CACHE_LINE_SIZE

Number of bytes in a cache line

  • TODO: Use the config register of the cache models to get

this size

Adding new platform configuration file for the

caba_vgsb_xicu_mmu SOCLIB platform.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/README.txt

    r302 r347  
    99
    1010conf/       Platform specific files and ldscript.
    11              For each platform, we must define a new directory.
     11            For each platform, we must define a new directory.
    1212
    1313      --->  defs_platform.h:
     
    1616             NB_PROCS per cluster, the NB_CLUSTERS and the base address of
    1717             the TTY, IOC and XICU devices.
    18              It also defines the IRQ_PER_PROC constant. This constant is used
    19              to know how many XICU irq outputs are connected to each processor.
     18             It defines also:
     19              -> CACHE_COHERENCE
     20                 This constant is used by the boot_ioc_read function to know
     21                 if the buffer used to store the blocks from the block_device
     22                 must be invalidated in the dcache after the transfert has
     23                 finished.
     24                                 0 means invalidation must be made.
     25
     26              -> CACHE_LINE_SIZE
     27                 This constant defines the size in bytes of a cache line.
     28
     29              -> IRQ_PER_PROC
     30                 This constant is used to know how many XICU irq outputs are
     31                 connected to each processor.
    2032
    2133      --->  platform_soclib.dts:
Note: See TracChangeset for help on using the changeset viewer.