Mercurial > ecos
comparison packages/kernel/current/tests/kcache1.c @ 46:797268ecc331 ecos-sw-1999-10-19
Merge from eCos master repository on 1999-10-19-18:55:31-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Oct 1999 19:19:52 +0000 |
| parents | 41bd4f3a90de |
| children | c38311975d4f |
comparison
equal
deleted
inserted
replaced
| 45:91d213c0da48 | 46:797268ecc331 |
|---|---|
| 86 | 86 |
| 87 #ifndef MAX_STRIDE | 87 #ifndef MAX_STRIDE |
| 88 #define MAX_STRIDE 64 | 88 #define MAX_STRIDE 64 |
| 89 #endif | 89 #endif |
| 90 | 90 |
| 91 volatile char m[(HAL_DCACHE_SIZE/HAL_DCACHE_LINE_SIZE)*MAX_STRIDE+1]; | 91 volatile char m[(HAL_DCACHE_SIZE/HAL_DCACHE_LINE_SIZE)*MAX_STRIDE]; |
| 92 | 92 |
| 93 // ------------------------------------------------------------------------- | 93 // ------------------------------------------------------------------------- |
| 94 | 94 |
| 95 static void time0(register cyg_uint32 stride) | 95 static void time0(register cyg_uint32 stride) |
| 96 { | 96 { |
