X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9c40447cb76e20937a7c2a5acedcd84a22990514..acd052f4e734a5580577a6462a6e08c0ea3b5509:/src/mc/mc_ignore.h diff --git a/src/mc/mc_ignore.h b/src/mc/mc_ignore.h index 3f0198196f..58f1795577 100644 --- a/src/mc/mc_ignore.h +++ b/src/mc/mc_ignore.h @@ -1,23 +1,20 @@ -/* Copyright (c) 2015. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include +#ifndef SIMGRID_MC_IGNORE_H +#define SIMGRID_MC_IGNORE_H -#include "mc/datatypes.h" -#include "mc_process.h" +#include "src/internal_config.h" -#include "xbt/misc.h" /* SG_BEGIN_DECL */ +#if HAVE_UCONTEXT_H +#include /* context relative declarations */ SG_BEGIN_DECL(); +XBT_PUBLIC(void) MC_register_stack_area(void *stack, smx_actor_t process, ucontext_t* context, size_t size); +SG_END_DECL(); -void MC_heap_region_ignore_insert(mc_heap_ignore_region_t region); -void MC_heap_region_ignore_send(mc_heap_ignore_region_t region); -void MC_process_ignore_memory(mc_process_t process, void *addr, size_t size); -void MC_stack_area_add(stack_region_t stack_area); - -xbt_dynar_t MC_checkpoint_ignore_new(void); - +#endif -SG_END_DECL(); +#endif