Ignore:
Timestamp:
Jan 7, 2016, 4:12:54 PM (9 years ago)
Author:
cfuguet
Message:
  • Support to have a single terminal (NB_TTY_CHANNEL = 1). In this case, the terminal is shared by the system and the applications.
  • Support platforms without NIC and CMA.
  • In the MMC driver, do not initialize the distributed driver structure in clusters without memory cache (IO clusters in the LETI platform).
Location:
soft/giet_vm/giet_drivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/mmc_driver.c

    r630 r754  
    1010#include <tty0.h>
    1111#include <kernel_locks.h>
     12#include <kernel_malloc.h>
    1213#include <utils.h>
    1314
     
    8081            else
    8182            {
     83                // get heap_base & heap size
     84                unsigned int heap_base;
     85                unsigned int heap_size;
     86                if ( _get_heap_info( &heap_base, &heap_size, x, y ) ) continue;
     87
    8288                _mmc_distributed_lock[x][y] = _remote_malloc( sizeof(spin_lock_t), x, y );
    8389                _spin_lock_init( _mmc_distributed_lock[x][y] );
  • soft/giet_vm/giet_drivers/rdk_driver.c

    r529 r754  
    2626#if USE_IOC_RDK
    2727
    28 #if GIET_DEBUG_IOC_DRIVER
     28#if GIET_DEBUG_IOC
    2929unsigned int procid  = _get_procid();
    3030unsigned int x       = procid >> (Y_WIDTH + P_WIDTH);
     
    3737
    3838    char* rdk = (char*)SEG_RDK_BASE + (512*lba);
    39     char* buf = (char*)buf_paddr;
     39    char* buf = (char*)buf_vaddr;
    4040
    4141    if ( to_mem ) memcpy( buf, rdk, count*512 );
Note: See TracChangeset for help on using the changeset viewer.