Changeset 565 for trunk/kernel/devices/dev_txt.h
- Timestamp:
- Oct 4, 2018, 11:48:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_txt.h
r539 r565 28 28 #include <hal_kernel_types.h> 29 29 #include <xlist.h> 30 #include <remote_ spinlock.h>30 #include <remote_busylock.h> 31 31 32 32 /**** Forward declarations ****/ … … 57 57 { 58 58 xptr_t owner_xp; /*! ext. pointer on current process owner (reference) */ 59 xlist_entry_t root; /*! root of list of processes attached to same TXT*/60 remote_ spinlock_t lock; /*! lock protecting this list */59 xlist_entry_t root; /*! root of list of processes attached to same TXT */ 60 remote_busylock_t lock; /*! lock protecting this list */ 61 61 } 62 62 txt_extend_t; … … 103 103 typedef struct txt_sync_args_s 104 104 { 105 xptr_t dev_xp; /*! extended pointer on the TXT0_TX device descriptor*/106 c har * buffer; /*! local pointer on characters array*/107 uint32_t count; /*! number of characters in buffer*/105 xptr_t dev_xp; /*! extended pointer on the TXT0_TX device descriptor */ 106 const char * buffer; /*! local pointer on characters array */ 107 uint32_t count; /*! number of characters in buffer */ 108 108 uint32_t channel; /*! channel, aka which tty to write to */ 109 109 } … … 172 172 * @ returns 0 if success / returns EINVAL if error. 173 173 ***************************************************************************************/ 174 error_t dev_txt_sync_write( c har * buffer,175 uint32_t count );174 error_t dev_txt_sync_write( const char * buffer, 175 uint32_t count ); 176 176 177 177 #endif /* _DEV_TXT_H_ */
Note: See TracChangeset
for help on using the changeset viewer.