Changeset 743 for trunk/softs/giet_tsar/stdio.h
- Timestamp:
- Jul 10, 2014, 11:23:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/softs/giet_tsar/stdio.h
r629 r743 40 40 typedef unsigned int size_t; 41 41 42 // global variables defined in stdio.c42 // constants 43 43 44 extern int volatile _ioc_lock; 45 extern int volatile _ioc_done; 46 extern int volatile _ioc_status; 47 48 extern char volatile _tty_get_buf[]; 49 extern int volatile _tty_get_full[]; 50 51 extern int volatile _barrier_value[]; 52 extern int volatile _barrier_count[]; 53 extern int volatile _barrier_lock[]; 54 55 extern int volatile _spin_lock[]; 44 #define CLUSTER_IO (((X_IO) << (Y_WIDTH)) | (Y_IO)) 56 45 57 46 // functions defined in stdio.c … … 64 53 unsigned int src_address, 65 54 unsigned int length ); 66 unsigned int _procid(); 67 unsigned int _proctime(); 68 unsigned int _procnumber(); 55 inline unsigned int _procid(); 56 inline unsigned int _proctime(); 57 inline unsigned int _procnumber(); 58 59 inline unsigned int _io_cluster(); 69 60 70 61 unsigned int _rand(); … … 72 63 void _it_mask(); 73 64 void _it_enable(); 65 66 int _sr_read(); 67 void _sr_write(int sr); 74 68 75 69 void _dcache_buf_invalidate( const void* buffer, size_t size ); … … 95 89 void _ioc_write( size_t lba, void* buffer, size_t count, size_t ext ); 96 90 void _ioc_read (size_t lba, void* buffer, size_t count, size_t ext ); 91 unsigned int _ioc_get_blocksize(); 97 92 void _ioc_completed(); 98 93 void _ioc_isr(); … … 115 110 void _barrier_wait(size_t index); 116 111 117 unsigned char _byte_extended_read( unsigned int cluster, 118 unsigned int address ); 119 unsigned int _word_extended_read( unsigned int cluster, 120 unsigned int address ); 112 volatile unsigned char _byte_extended_read( unsigned int cluster, 113 unsigned int address ); 114 volatile unsigned int _word_extended_read( unsigned int cluster, 115 unsigned int address ); 116 121 117 void _word_extended_write( unsigned int cluster, 122 118 unsigned int address,
Note: See TracChangeset
for help on using the changeset viewer.