Ignore:
Timestamp:
Aug 9, 2012, 2:38:06 PM (12 years ago)
Author:
alain
Message:

Introducing the "idle" to improve the exit mechanism.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/sys/common.h

    r189 r199  
    3636void                            _putd(unsigned int val);
    3737
    38 unsigned int            _strncmp(const char* s1, const char* s2, unsigned int n);
     38unsigned int            _strncmp( const char* s1,
     39                              const char* s2,
     40                              unsigned int n );
    3941
    40 void                            _dcache_buf_invalidate(const void *buffer, unsigned int size);
    41 
    42 void                            _itoa_dec(unsigned int val, char* buf);
    43 void                            _itoa_hex(unsigned int val, char* buf);
     42void                            _dcache_buf_invalidate( const void *buffer,
     43                                            unsigned int size );
    4444
    4545void                            _dtlb_off(void);
     
    5555unsigned int            _get_sched(void);
    5656
    57 unsigned int            _get_current_context_slot(unsigned int index);
     57unsigned int            _get_context_slot( unsigned int task_id,
     58                                       unsigned int slot_id );
     59
     60void                            _set_context_slot( unsigned int task_id,
     61                                       unsigned int slot_id,
     62                                       unsigned int value );
     63
    5864unsigned int            _get_interrupt_vector_entry(unsigned int index);
    59 unsigned int            _get_current_task_id(void);
     65
     66unsigned int            _get_current_task_id( void );
     67void                            _set_current_task_id( unsigned int value );
     68
    6069unsigned int            _get_tasks_number(void);
    6170
    62 void                            _set_current_task_id( unsigned int value);
    6371
    6472void                            _get_lock(unsigned int* lock);
Note: See TracChangeset for help on using the changeset viewer.