Ignore:
Timestamp:
Jun 8, 2014, 5:02:29 PM (10 years ago)
Author:
cfuguet
Message:

tsar_generic_leti:

  • Minor modification in platform: Initializing memory to 0xAA to emulate real behavior of memory which generally is not initialized to 0. This allows to detect problems with uninitialized structures in OSes.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_leti/top.cpp

    r692 r708  
    149149#include                         "hard_config.h"
    150150#define BINARY_PATH_FOR_LOADER   "../../softs/soft_transpose_giet/bin.soft"
    151 #define RAMDISK_PATH_FOR_LOADER  "../../softs/soft_transpose_giet/images.raw@0x00800000:"
    152151#define DISK_IMAGE_PATH_FOR_IOC  "../../softs/soft_transpose_giet/images.raw"
     152#define RAMDISK_PATH_FOR_LOADER  DISK_IMAGE_PATH_FOR_IOC "@0x00800000:"
    153153#endif
    154154
     
    156156#include                         "hard_config.h"
    157157#define BINARY_PATH_FOR_LOADER   "../../softs/tsar_boot/preloader.elf"
    158 #define RAMDISK_PATH_FOR_LOADER  "../../../giet_vm/hdd/virt_hdd.dmg@0x02000000:"
    159158#define DISK_IMAGE_PATH_FOR_IOC  "../../../giet_vm/hdd/virt_hdd.dmg"       
     159#define RAMDISK_PATH_FOR_LOADER  DISK_IMAGE_PATH_FOR_IOC "@0x02000000:"
    160160#endif
    161161
     
    163163//               Parallelisation
    164164///////////////////////////////////////////////////
    165 #define USE_OPENMP 0
     165#define USE_OPENMP _OPENMP
    166166
    167167#if USE_OPENMP
     
    226226#define NIC_MAC4              0XBABEF00D
    227227#define NIC_MAC2              0xBEEF
    228 #define NIC_RX_NAME           "./fake"
    229 #define NIC_TX_NAME           "./fake"
     228#define NIC_RX_NAME           "/dev/null"
     229#define NIC_TX_NAME           "/dev/null"
    230230
    231231#define NORTH                 0
     
    693693   soclib::common::Loader loader( soft_name );
    694694#endif
     695   loader.memory_default(0xAA);
    695696
    696697   ///////////////////////////
Note: See TracChangeset for help on using the changeset viewer.