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/include/boot_ioc.h

    r292 r347  
    99#endif
    1010
     11#include <defs.h>
    1112#include <boot_tty.h>
    1213#include <io.h>
     
    3435
    3536/**
     37 * boot_dbuf_invalidate()
     38 *
     39 * Invalidate all data cache lines corresponding to a memory buffer.
     40 */
     41#if (CACHE_COHERENCE == 0)
     42void boot_dbuf_invalidate(
     43        const void * buffer,
     44        unsigned int line_size,
     45        unsigned int size);
     46#endif
     47
     48/**
    3649 * boot_ioc_write()
    3750 *
Note: See TracChangeset for help on using the changeset viewer.