Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the implicit declaration issue - Ad(rien)
authorAdrien Lebre <alebre@dhcp-2-16.rech172-28.emn.fr>
Tue, 19 May 2015 14:52:38 +0000 (16:52 +0200)
committerAdrien Lebre <alebre@dhcp-2-16.rech172-28.emn.fr>
Tue, 19 May 2015 14:52:38 +0000 (16:52 +0200)
include/simgrid/simix.h
src/simix/simcalls.in

index ba20c93..78fbcea 100644 (file)
@@ -355,6 +355,7 @@ XBT_PUBLIC(void *) simcall_vm_get_pm(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_set_bound(smx_host_t vm, double bound);
 XBT_PUBLIC(void) simcall_vm_set_affinity(smx_host_t vm, smx_host_t pm, unsigned long mask);
 XBT_PUBLIC(void) simcall_vm_resume(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_set_bound(smx_host_t vm, double bound);
 XBT_PUBLIC(void) simcall_vm_set_affinity(smx_host_t vm, smx_host_t pm, unsigned long mask);
 XBT_PUBLIC(void) simcall_vm_resume(smx_host_t vm);
+XBT_PUBLIC(void) simcall_vm_migratefrom_resumeto(smx_host_t vm, smx_host_t src_pm, smx_host_t dst_pm);
 XBT_PUBLIC(void) simcall_vm_save(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_restore(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_suspend(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_save(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_restore(smx_host_t vm);
 XBT_PUBLIC(void) simcall_vm_suspend(smx_host_t vm);
index a707338..46ac4aa 100644 (file)
 # Please note that in addition to completing this file with your new simcall,
 # you should complete the libsmx.c file by adding the corresponding function
 # (aka. stub). Anyway, if you omit to do it, the invocation of ./simcalls.py will notify you ;)
 # Please note that in addition to completing this file with your new simcall,
 # you should complete the libsmx.c file by adding the corresponding function
 # (aka. stub). Anyway, if you omit to do it, the invocation of ./simcalls.py will notify you ;)
-# Finally, if you want to remove an handler, it is important to remove although
+# If you want to remove an handler, it is important to remove although
 # the corresponding code (simcall_HANDLER_name_of_simcall(xxx) (note that comment the code 
 # is not sufficient, the python script does not check whether the code is commented or not).
 # the corresponding code (simcall_HANDLER_name_of_simcall(xxx) (note that comment the code 
 # is not sufficient, the python script does not check whether the code is commented or not).
+# Last but not the least, you should declare the new simix call in
+# ./include/simgrid/simix.h (otherwise you will get a warning at the
+# compilation time)
 
 Func - host_get_by_name (void*, smx_host_t) (name, const char*)
 Func - host_get_name (const char*) (host, void*, smx_host_t)
 
 Func - host_get_by_name (void*, smx_host_t) (name, const char*)
 Func - host_get_name (const char*) (host, void*, smx_host_t)