6 /***********************************
7 ****** Global constants **********
8 **********************************/
9 #define PREFETCH_FLUSH_COUNT_THRESHOLD 30
11 /*********************************
12 ********* Global variables ******
13 ********************************/
14 typedef struct prefetchNodeInfo {
21 /********************************
22 ******** Functions ************
23 *******************************/
24 void *prefetchobjstrAlloc(unsigned int size);
25 void *normalPrefetchAlloc(objstr_t *, unsigned int);
26 void initializePCache();
27 void *lookUpFreeSpace(void *, void *, int);
28 void clearNBlocks(void *, void *);
29 void clearPLookUpTable(void *, void *);
31 void *allocateNew(unsigned int size);