Ignore:
Timestamp:
Sep 28, 2010, 1:19:10 PM (14 years ago)
Author:
rosiere
Message:

1) compatible gcc 4.4.3
2) Translation file in MORPHEO_PREFIX directory

Location:
trunk/IPs/systemC/Environment
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Cache/src/Cache_latence.cpp

    r117 r144  
    11#include "../include/Cache.h"
     2#include <stdio.h>
    23
    34namespace environment {
  • trunk/IPs/systemC/Environment/Common/include/Debug.h

    r143 r144  
    22#define ENVIRONMENT_COMMON_DEBUG_H
    33
    4 #include <cstdio>
     4#include <stdio.h>
    55
    66#define DEBUG_true        true
  • trunk/IPs/systemC/Environment/Data/include/Data.h

    r81 r144  
    44#include "Data_Parameters.h"
    55#include "Entity.h"
     6#include <stdint.h>
    67
    78namespace environment {
  • trunk/IPs/systemC/Environment/Data/include/Data_Parameters.h

    r81 r144  
    33
    44#include <iostream>
     5#include <stdint.h>
    56#include "../../../shared/soclib_segment_table.h"
    67
  • trunk/IPs/systemC/Environment/Data/include/Segment.h

    r134 r144  
    66
    77#include <iomanip>
     8#include <stdint.h>
    89
    910extern "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  
    11#include "../include/Data.h"
     2#include <stdlib.h>
    23
    34namespace environment {
  • trunk/IPs/systemC/Environment/Data/src/Segment.cpp

    r134 r144  
    11#include "../include/Segment.h"
     2#include <string.h>
    23
    34namespace environment {
  • trunk/IPs/systemC/Environment/Data/src/Segment_init.cpp

    r138 r144  
    11#include "../include/Segment.h"
    22#include "../../Common/include/Debug.h"
     3#include <string.h>
     4#include <stdlib.h>
    35
    46namespace environment {
  • trunk/IPs/systemC/Environment/Endianness/src/Endianness_swapBytes.cpp

    r81 r144  
    11#include "../include/Endianness.h"
    22#include <iostream>
     3#include <stdlib.h>
     4#include <string.h>
    35
    46namespace environment {
  • trunk/IPs/systemC/Environment/Sim2OS/src/Sim2OS_convert_address.cpp

    r88 r144  
    11#include "../include/Sim2OS.h"
     2#include <stdlib.h>
    23
    34namespace environment {
  • trunk/IPs/systemC/Environment/TTY/include/TTY.h

    r81 r144  
    77// #include <unistd.h>
    88#include <signal.h>
     9#include <stdint.h>
    910
    1011namespace environment {
  • trunk/IPs/systemC/Environment/TTY/include/TTY_Parameters.h

    r81 r144  
    33
    44#include <iostream>
     5#include <stdint.h>
    56
    67namespace environment {
  • trunk/IPs/systemC/Environment/TTY/selftest/main.cpp

    r138 r144  
    3434  cout << *tty << endl;
    3535 
    36   char * message_0 =  "Ici Londre : Adeline aime la saucisse de Frankort.\nJe repete : Adeline aime la saucisse de Frankort"  ;
    37   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   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   char * 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";
    4040
    41   char * message [nb_tty];
     41  const char * message [nb_tty];
    4242  message[0] = message_0;
    4343  message[1] = message_1;
  • trunk/IPs/systemC/Environment/TTY/src/TTY.cpp

    r82 r144  
    11#include "../include/TTY.h"
     2#include <stdlib.h>
     3#include <stdio.h>
    24
    35namespace environment {
     
    4042                // Childen -> transform in a xtty
    4143                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                  };
    4349                close(1);
    4450                execlp("xtty","xtty", param->name_tty [i].c_str() ,NULL); // devient un tty
  • trunk/IPs/systemC/Environment/TTY/src/TTY_write.cpp

    r117 r144  
    11#include "../include/TTY.h"
     2#include <stdio.h>
    23
    34namespace environment {
     
    1011
    1112    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      }
    1317   
    1418    fputc (data, xtty[num_tty].log_file);
Note: See TracChangeset for help on using the changeset viewer.