Mercurial > ecos
diff packages/hal/h8300/arch/current/include/hal_cache.h @ 1281:f58b62f3c85d
Apply Yoshinori Sato's H8/300 patches plus a few of my own.
See the individual ChangeLogs for detail of the changes in each
package.
| author | nickg |
|---|---|
| date | Mon, 06 Oct 2003 17:28:51 +0000 |
| parents | d2c90368aeef |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- a/packages/hal/h8300/arch/current/include/hal_cache.h +++ b/packages/hal/h8300/arch/current/include/hal_cache.h @@ -67,17 +67,17 @@ // Cache dimensions // Data cache -#define HAL_DCACHE_SIZE 0 // Size of data cache in bytes -#define HAL_DCACHE_LINE_SIZE 0 // Size of a data cache line -#define HAL_DCACHE_WAYS 0 // Associativity of the cache +//#define HAL_DCACHE_SIZE 0 // Size of data cache in bytes +//#define HAL_DCACHE_LINE_SIZE 0 // Size of a data cache line +//#define HAL_DCACHE_WAYS 0 // Associativity of the cache // Instruction cache -#define HAL_ICACHE_SIZE 0 // Size of cache in bytes -#define HAL_ICACHE_LINE_SIZE 0 // Size of a cache line -#define HAL_ICACHE_WAYS 0 // Associativity of the cache +//#define HAL_ICACHE_SIZE 0 // Size of cache in bytes +//#define HAL_ICACHE_LINE_SIZE 0 // Size of a cache line +//#define HAL_ICACHE_WAYS 0 // Associativity of the cache -#define HAL_DCACHE_SETS (HAL_DCACHE_SIZE/(HAL_DCACHE_LINE_SIZE*HAL_DCACHE_WAYS)) -#define HAL_ICACHE_SETS (HAL_ICACHE_SIZE/(HAL_ICACHE_LINE_SIZE*HAL_ICACHE_WAYS)) +//#define HAL_DCACHE_SETS (HAL_DCACHE_SIZE/(HAL_DCACHE_LINE_SIZE*HAL_DCACHE_WAYS)) +//#define HAL_ICACHE_SETS (HAL_ICACHE_SIZE/(HAL_ICACHE_LINE_SIZE*HAL_ICACHE_WAYS)) //----------------------------------------------------------------------------- // Global control of data cache
