X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/91436b33a0051d683daf3301a84132b93348d171..bfc956026c22595af39ca5c73b7e250e16d85aea:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index 4dcd4f1f32..ac6811a27b 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -393,7 +393,7 @@ extern char* start_data_exe; //start of the data+bss segment of the executable extern int size_data_exe; //size of the data+bss segment of the executable -void switch_data_segment(int); +void smpi_switch_data_segment(int); void smpi_get_executable_global_size(void); void smpi_initialize_global_memory_segments(void); void smpi_destroy_global_memory_segments(void); @@ -690,8 +690,15 @@ void TRACE_smpi_finalize(int rank); const char* encode_datatype(MPI_Datatype datatype); // TODO, make this static and expose it more cleanly -extern void** mappings; -extern int loaded_page; + +typedef struct s_smpi_privatisation_region { + void* address; + int file_descriptor; +} *smpi_privatisation_region_t; + +extern smpi_privatisation_region_t smpi_privatisation_regions; + +extern int smpi_loaded_page; int SIMIX_process_get_PID(smx_process_t self);