Last change
on this file since 143 was
117,
checked in by rosiere, 15 years ago
|
1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme
|
-
Property svn:keywords set to
Id
|
File size:
376 bytes
|
Rev | Line | |
---|
[81] | 1 | #include "../include/TTY.h" |
---|
| 2 | |
---|
| 3 | namespace environment { |
---|
| 4 | namespace tty { |
---|
| 5 | |
---|
| 6 | bool TTY::write (uint32_t num_tty, char data) |
---|
| 7 | { |
---|
| 8 | if (num_tty >= param->nb_tty) |
---|
| 9 | return false; |
---|
| 10 | |
---|
| 11 | if (param->with_xtty == true) |
---|
| 12 | ::write (xtty[num_tty].pipe_output, &data, 1); |
---|
| 13 | |
---|
| 14 | fputc (data, xtty[num_tty].log_file); |
---|
[117] | 15 | fflush(xtty[num_tty].log_file); |
---|
[81] | 16 | |
---|
| 17 | return true; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | }; |
---|
| 21 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.