diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cctk_Cache.h | 27 | ||||
-rw-r--r-- | src/include/cctki_Cache.h | 28 |
2 files changed, 55 insertions, 0 deletions
diff --git a/src/include/cctk_Cache.h b/src/include/cctk_Cache.h new file mode 100644 index 00000000..1790bf63 --- /dev/null +++ b/src/include/cctk_Cache.h @@ -0,0 +1,27 @@ + /*@@ + @header cctk_Cache.h + @date Tue Nov 30 09:31:45 1999 + @author Tom Goodale + @desc + Prototypes for cache routines. + @enddesc + @version $Header$ + @@*/ + +#ifndef _CCTK_CACHE_H_ +#define _CCTK_CACHE_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +void *CCTK_CacheMalloc(unsigned index, + unsigned long size, + void **realstart); + +#ifdef __cplusplus +} +#endif + +#endif /* _CCTK_CACHE_H_ */ diff --git a/src/include/cctki_Cache.h b/src/include/cctki_Cache.h new file mode 100644 index 00000000..c924f3bf --- /dev/null +++ b/src/include/cctki_Cache.h @@ -0,0 +1,28 @@ + /*@@ + @header cctki_Cache.h + @date Tue Nov 30 09:44:46 1999 + @author Tom Goodale + @desc + CCTK internal cache stuff. + @enddesc + @@*/ + +#ifndef _CCTKI_CACHE_H_ +#define _CCTKI_CACHE_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +int CCTKi_CacheDataSet(unsigned long cacheline_bytes, + unsigned long cache_size); + +int CCTKi_CacheDataGet(unsigned long *cacheline_bytes, + unsigned long *cache_size); + +#ifdef __cplusplus +} +#endif + +#endif /* _CCTKI_CACHE_H_ */ |