Changeset 709 for soft/giet_vm/giet_drivers/tty_driver.h
- Timestamp:
- Oct 1, 2015, 4:20:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/tty_driver.h
r496 r709 27 27 #include "kernel_locks.h" 28 28 29 29 30 /////////////////////////////////////////////////////////////////////////////////// 30 31 // registers offsets … … 41 42 }; 42 43 44 45 ////////////////////////////////////////////////////////////////////////////////// 46 // struct tty_fifo_t 47 ////////////////////////////////////////////////////////////////////////////////// 48 49 #define TTY_FIFO_DEPTH 16 50 51 typedef struct tty_fifo_s // 32 bytes 52 { 53 char data[TTY_FIFO_DEPTH]; // one char per slot 54 unsigned int trdid; // owner thread trdid 55 unsigned int ptr; // next free slot index 56 unsigned int ptw; // next full slot index 57 unsigned int sts; // number of full slots 58 } tty_fifo_t; 59 43 60 ////////////////////////////////////////////////////////////////////////////////// 44 61 // access functions
Note: See TracChangeset
for help on using the changeset viewer.