Mercurial > flash_v2
diff packages/kernel/current/tests/kcache2.c @ 191:678094f34118
Merge from eCos master repository on 2001-10-19-06:43:02-BST
| author | jlarmour |
|---|---|
| date | Fri, 19 Oct 2001 07:02:26 +0000 |
| parents | 6b5f480c6929 |
| children | 67850532eebb |
line wrap: on
line diff
--- a/packages/kernel/current/tests/kcache2.c +++ b/packages/kernel/current/tests/kcache2.c @@ -346,6 +346,7 @@ static void test_dsync(void) // o Requires write-back cache. // o Check that flushed data is written to memory. // o Simple range check of macro. +#ifdef HAL_DCACHE_QUERY_WRITE_MODE // only if we know this, can we test: #ifdef HAL_DCACHE_FLUSH static void test_dflush(void) { @@ -389,6 +390,7 @@ static void test_dflush(void) HAL_DCACHE_ENABLE(); } #endif +#endif // ------------------------------------------------------------------------- // Test of data cache disable (which does NOT force contents out to RAM)
