Changeset 144 for trunk/IPs/systemC/Environment
- Timestamp:
- Sep 28, 2010, 1:19:10 PM (14 years ago)
- Location:
- trunk/IPs/systemC/Environment
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Cache/src/Cache_latence.cpp
r117 r144 1 1 #include "../include/Cache.h" 2 #include <stdio.h> 2 3 3 4 namespace environment { -
trunk/IPs/systemC/Environment/Common/include/Debug.h
r143 r144 2 2 #define ENVIRONMENT_COMMON_DEBUG_H 3 3 4 #include < cstdio>4 #include <stdio.h> 5 5 6 6 #define DEBUG_true true -
trunk/IPs/systemC/Environment/Data/include/Data.h
r81 r144 4 4 #include "Data_Parameters.h" 5 5 #include "Entity.h" 6 #include <stdint.h> 6 7 7 8 namespace environment { -
trunk/IPs/systemC/Environment/Data/include/Data_Parameters.h
r81 r144 3 3 4 4 #include <iostream> 5 #include <stdint.h> 5 6 #include "../../../shared/soclib_segment_table.h" 6 7 -
trunk/IPs/systemC/Environment/Data/include/Segment.h
r134 r144 6 6 7 7 #include <iomanip> 8 #include <stdint.h> 8 9 9 10 extern "C" void loadexec(void **emem, int *esize, int *eoffset, const char *file, const char ** sections); -
trunk/IPs/systemC/Environment/Data/src/Data.cpp
r81 r144 1 1 #include "../include/Data.h" 2 #include <stdlib.h> 2 3 3 4 namespace environment { -
trunk/IPs/systemC/Environment/Data/src/Segment.cpp
r134 r144 1 1 #include "../include/Segment.h" 2 #include <string.h> 2 3 3 4 namespace environment { -
trunk/IPs/systemC/Environment/Data/src/Segment_init.cpp
r138 r144 1 1 #include "../include/Segment.h" 2 2 #include "../../Common/include/Debug.h" 3 #include <string.h> 4 #include <stdlib.h> 3 5 4 6 namespace environment { -
trunk/IPs/systemC/Environment/Endianness/src/Endianness_swapBytes.cpp
r81 r144 1 1 #include "../include/Endianness.h" 2 2 #include <iostream> 3 #include <stdlib.h> 4 #include <string.h> 3 5 4 6 namespace environment { -
trunk/IPs/systemC/Environment/Sim2OS/src/Sim2OS_convert_address.cpp
r88 r144 1 1 #include "../include/Sim2OS.h" 2 #include <stdlib.h> 2 3 3 4 namespace environment { -
trunk/IPs/systemC/Environment/TTY/include/TTY.h
r81 r144 7 7 // #include <unistd.h> 8 8 #include <signal.h> 9 #include <stdint.h> 9 10 10 11 namespace environment { -
trunk/IPs/systemC/Environment/TTY/include/TTY_Parameters.h
r81 r144 3 3 4 4 #include <iostream> 5 #include <stdint.h> 5 6 6 7 namespace environment { -
trunk/IPs/systemC/Environment/TTY/selftest/main.cpp
r138 r144 34 34 cout << *tty << endl; 35 35 36 c har * message_0 = "Ici Londre : Adeline aime la saucisse de Frankort.\nJe repete : Adeline aime la saucisse de Frankort" ;37 c har * message_1 = "Ici Londre : Maurice a garer le camion de bernard dans la cour.\nJe repete Maurice a garer le camion de bernard dans la cour";38 c har * message_2 = "Ici Londre : Londre est la ville qui diffuse des messages a la con.\nJe repete : Londre est la ville qui diffuse des messages a la con";39 c har * message_3 = "Ici Londre : Non, le debarquement n'aura pas lieu le 6 juin 1944 en Normandie, et je ne me repete pas";36 const char * message_0 = "Ici Londre : Adeline aime la saucisse de Frankort.\nJe repete : Adeline aime la saucisse de Frankort" ; 37 const char * message_1 = "Ici Londre : Maurice a garer le camion de bernard dans la cour.\nJe repete Maurice a garer le camion de bernard dans la cour"; 38 const char * message_2 = "Ici Londre : Londre est la ville qui diffuse des messages a la con.\nJe repete : Londre est la ville qui diffuse des messages a la con"; 39 const char * message_3 = "Ici Londre : Non, le debarquement n'aura pas lieu le 6 juin 1944 en Normandie, et je ne me repete pas"; 40 40 41 c har * message [nb_tty];41 const char * message [nb_tty]; 42 42 message[0] = message_0; 43 43 message[1] = message_1; -
trunk/IPs/systemC/Environment/TTY/src/TTY.cpp
r82 r144 1 1 #include "../include/TTY.h" 2 #include <stdlib.h> 3 #include <stdio.h> 2 4 3 5 namespace environment { … … 40 42 // Childen -> transform in a xtty 41 43 close(0); // s 42 dup (canal_output.CanalPipe [0]); 44 if (dup (canal_output.CanalPipe [0]) == -1) 45 { 46 std::cerr << "<Tty> Error in dupplicate file descriptor." << std::endl; 47 exit (1); 48 }; 43 49 close(1); 44 50 execlp("xtty","xtty", param->name_tty [i].c_str() ,NULL); // devient un tty -
trunk/IPs/systemC/Environment/TTY/src/TTY_write.cpp
r117 r144 1 1 #include "../include/TTY.h" 2 #include <stdio.h> 2 3 3 4 namespace environment { … … 10 11 11 12 if (param->with_xtty == true) 12 ::write (xtty[num_tty].pipe_output, &data, 1); 13 { 14 if (::write (xtty[num_tty].pipe_output, &data, 1) == -1) 15 std::cerr << "<TTY::write> write error.\n" << std::endl; 16 } 13 17 14 18 fputc (data, xtty[num_tty].log_file);
Note: See TracChangeset
for help on using the changeset viewer.