Ignore:
Timestamp:
Oct 5, 2018, 12:08:35 AM (6 years ago)
Author:
alain
Message:

Introduction of the soclib_mty driver for the TSAR-LETI architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/core/hal_special.c

    r481 r570  
    3232struct thread_s;
    3333
    34 //////////////////////////
     34////////////////////////////////
    3535inline gid_t hal_get_gid( void )
    3636{
     
    4242}
    4343
    44 /////////////////////////////
     44///////////////////////////////////
    4545inline reg_t hal_time_stamp( void )
    4646{
     
    5252}
    5353
    54 /////////////////////////
     54///////////////////////////////
    5555inline reg_t hal_get_sr( void )
    5656{
     
    6262}
    6363
    64 /////////////////////////
     64///////////////////////////////
    6565uint64_t hal_get_cycles( void )
    6666{
     
    9494}
    9595
    96 /////////////////////////////////////////////////
     96///////////////////////////////////////////////////////
    9797inline struct thread_s * hal_get_current_thread( void )
    9898{
     
    110110}
    111111
    112 /////////////////////
     112///////////////////////////
    113113void hal_fpu_enable( void )
    114114{
     
    127127}
    128128
    129 //////////////////////
     129////////////////////////////
    130130void hal_fpu_disable( void )
    131131{
     
    145145}
    146146
    147 ////////////////////////
     147//////////////////////////////
    148148uint32_t hal_get_stack( void )
    149149{
     
    168168}
    169169
    170 ////////////////////////////
     170//////////////////////////////////
    171171uint32_t hal_get_bad_vaddr( void )
    172172{
     
    201201}
    202202
    203 ////////////////
    204 void hal_fence( void )
     203/////////////////////////////
     204inline void hal_fence( void )
    205205{
    206206        asm volatile ("sync");
    207207}
    208208
    209 ////////////////
    210 void hal_rdbar( void )
     209/////////////////////////////
     210inline void hal_rdbar( void )
    211211{
    212212        asm volatile( "" ::: "memory" );
    213213}
    214214
    215 /////////////////////
     215///////////////////////////
    216216void hal_core_sleep( void )
    217217{
Note: See TracChangeset for help on using the changeset viewer.