Ignore:
Timestamp:
Nov 3, 2014, 10:53:00 AM (10 years ago)
Author:
alain
Message:

Introducing dynamic allocation of peripheral channel(TTY, NIC, TIM, CMA)
Removint the ICU driver : ICU component not supported anymore.
Removing the FBF driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/sim_driver.h

    r258 r437  
    55// Copyright (c) UPMC-LIP6
    66///////////////////////////////////////////////////////////////////////////////////
     7// The sim_driver.c and sim_driver.h files are part ot the GIET-VM nano-kernel.
     8//
     9// This driver supports the vci_sim_helper component, that is a pseudo hardware
     10// component available in the SoCLib library, and providing a monitoring service
     11// in a virtual prototyping environment.
     12//
     13// There is at most one such component in the architecture.
     14//
     15// The SEG_SIM_BASE address must be defined in the hard_config.h file.
     16////////////////////////////////////////////////////////////////////////////////
    717
    818#ifndef _GIET_SIM_DRIVERS_H_
     
    1525enum SoclibSimhelperRegisters
    1626{
    17     SIMHELPER_SC_STOP,
    18     SIMHELPER_END_WITH_RETVAL,
    19     SIMHELPER_EXCEPT_WITH_VAL,
    20     SIMHELPER_PAUSE_SIM,
    21     SIMHELPER_CYCLES,
    22     SIMHELPER_SIGINT,
     27    SIMHELPER_SC_STOP,                 // stop simulation
     28    SIMHELPER_END_WITH_RETVAL,         // Not supported
     29    SIMHELPER_EXCEPT_WITH_VAL,         // Not supported
     30    SIMHELPER_PAUSE_SIM,               // Not supported
     31    SIMHELPER_CYCLES,                  // Return number of cycles
     32    SIMHELPER_SIGINT,                  // Not supported
    2333};
    2434
    25 ///////////////////////////////////////////////////////////////////////////////////
    26 // SIM_HELPER access functions
    27 ///////////////////////////////////////////////////////////////////////////////////
     35////////////////////////////////////////////////////////////////////////////////
     36// Accesses the Simulation Helper Component.
     37// - If the access is on a write register, the simulation will stop.
     38// - If the access is on a read register, value is written in retval buffer.
     39////////////////////////////////////////////////////////////////////////////////
     40extern void _sim_helper_access( unsigned int  register_index,
     41                                unsigned int  value,
     42                                unsigned int* retval );
    2843
    29 extern unsigned int _sim_helper_access( unsigned int  register_index,
    30                                         unsigned int  value,
    31                                         unsigned int* retval );
    32 
    33 ///////////////////////////////////////////////////////////////////////////////////
    3444
    3545#endif
Note: See TracChangeset for help on using the changeset viewer.