Mercurial > flash_v2
comparison packages/kernel/current/tests/kcache2.c @ 195:67850532eebb
Merge from eCos master repository on 2001-11-02-06:43:03-GMT
| author | jlarmour |
|---|---|
| date | Fri, 02 Nov 2001 16:12:33 +0000 |
| parents | 678094f34118 |
| children | 920b9b754b53 |
comparison
equal
deleted
inserted
replaced
| 194:feb0fcf83327 | 195:67850532eebb |
|---|---|
| 328 CYG_TEST_CHECK(42 == aligned_p[0], | 328 CYG_TEST_CHECK(42 == aligned_p[0], |
| 329 "memory didn't contain flushed data after invalidate"); | 329 "memory didn't contain flushed data after invalidate"); |
| 330 CYG_TEST_CHECK(43 == aligned_p[HAL_DCACHE_LINE_SIZE], | 330 CYG_TEST_CHECK(43 == aligned_p[HAL_DCACHE_LINE_SIZE], |
| 331 "memory didn't contain flushed data next block after invalidate"); | 331 "memory didn't contain flushed data next block after invalidate"); |
| 332 | 332 |
| 333 HAL_ICACHE_INVALIDATE_ALL(); | |
| 333 HAL_DCACHE_DISABLE(); | 334 HAL_DCACHE_DISABLE(); |
| 334 | 335 |
| 335 CYG_TEST_CHECK(42 == aligned_p[0], | 336 CYG_TEST_CHECK(42 == aligned_p[0], |
| 336 "memory didn't contain flushed data after disable"); | 337 "memory didn't contain flushed data after disable"); |
| 337 CYG_TEST_CHECK(43 == aligned_p[HAL_DCACHE_LINE_SIZE], | 338 CYG_TEST_CHECK(43 == aligned_p[HAL_DCACHE_LINE_SIZE], |
