diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-30 23:50:31 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-11-30 23:50:31 +0000 |
commit | a10e0e2d450d0ed23fdf9d6c0e820995e3756140 (patch) | |
tree | 8964c80ce1b12f4ef0a0f376ecde68161bb5f818 /src/include | |
parent | 2520ea110b9d159c4644261d27db77b683abaf36 (diff) |
New cache alignment stuff.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1178 17b73243-c579-4c4c-a9d2-2d5706c11dac
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_ */ |