Changed the interOperate to a global variable so that it is initialized from
[charm.git] / src / arch / cell / emptyFuncLookup.c
1 #include <stdlib.h>
2 #include <stdio.h>
3
4 #include "spert.h"
5
6 #ifdef __cplusplus
7 extern "C"
8 #endif
9 void funcLookup(int funcIndex,
10                 void* readWritePtr, int readWriteLen,
11                 void* readOnlyPtr, int readOnlyLen,
12                 void* writeOnlyPtr, int writeOnlyLen,
13                 DMAListEntry* dmaList
14                ) {
15
16   switch (funcIndex) {
17
18     case SPE_FUNC_INDEX_INIT:
19     case SPE_FUNC_INDEX_CLOSE:
20       break;
21
22     default:
23       printf("!!! WARNING !!! :: Call into empty spert!... ignoring...\n");
24       break;
25   }
26 }