Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement file open read and stat in simix.
[simgrid.git] / src / simix / smx_smurf.c
index 8629749..56863f8 100644 (file)
@@ -489,6 +489,18 @@ void SIMIX_simcall_pre(smx_simcall_t simcall, int value)
       SIMIX_pre_file_write(simcall);
       break;
 
+    case SIMCALL_FILE_OPEN:
+      SIMIX_pre_file_open(simcall);
+      break;
+
+    case SIMCALL_FILE_CLOSE:
+      SIMIX_pre_file_close(simcall);
+      break;
+
+    case SIMCALL_FILE_STAT:
+      SIMIX_pre_file_stat(simcall);
+      break;
+
     case SIMCALL_NONE:
       THROWF(arg_error,0,"Asked to do the noop syscall on %s@%s",
           SIMIX_process_get_name(simcall->issuer),