Ignore:
Timestamp:
Mar 3, 2014, 5:11:06 PM (10 years ago)
Author:
cfuguet
Message:

Introducing a RAMDISK driver in the preloader.

When using RAMDISK, execute the make command with the flags
SOCLIB=1 and RAMDISK=1. The RDK_PADDR_BASE variable must
also be set on the conf/<platform>/defs_platform.h

These modifications are backward compatibles. Therefore,
when no using RAMDISK, none modifications applied on the
platform configuration file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/include/io.h

    r292 r653  
    3939{
    4040        *(volatile unsigned int *) addr = value;
    41         asm volatile("sync");
     41        asm volatile("sync" ::: "memory");
    4242}
    4343
     
    4848{
    4949        *(volatile unsigned short *) addr = value;
    50         asm volatile("sync");
     50        asm volatile("sync" ::: "memory");
    5151}
    5252
     
    5757{
    5858        *(volatile unsigned char *) addr = value;
    59         asm volatile("sync");
     59        asm volatile("sync" ::: "memory");
    6060}
    6161
Note: See TracChangeset for help on using the changeset viewer.