comparison packages/kernel/current/tests/kcache1.c @ 134:d2f49caf9e38 ecos-sw-2000-11-03

Merge from eCos master repository on 2000-11-03-09:00:49-GMT
author jlarmour
date Fri, 03 Nov 2000 21:17:40 +0000
parents 97d9d85b42c0
children 25e238959bae
comparison
equal deleted inserted replaced
133:98d71f4d8243 134:d2f49caf9e38
322 // If the target actually is a simulator, skip the below - it's very 322 // If the target actually is a simulator, skip the below - it's very
323 // slow on the simulator, even with reduced loop counts. 323 // slow on the simulator, even with reduced loop counts.
324 if (cyg_test_is_simulator) 324 if (cyg_test_is_simulator)
325 CYG_TEST_PASS_FINISH("End of test"); 325 CYG_TEST_PASS_FINISH("End of test");
326 326
327 #if defined(CYGPKG_HAL_MIPS_TX49)
328 // The TX49 has a large cache, and even with reduced loop count,
329 // 90+ seconds elapses between each INFO output.
330 CYG_TEST_PASS_FINISH("End of test");
331 #endif
332
327 cyg_test_is_simulator = 1; 333 cyg_test_is_simulator = 1;
328 #endif 334 #endif
329 #ifdef HAL_ICACHE_INVALIDATE_ALL 335 #ifdef HAL_ICACHE_INVALIDATE_ALL
330 HAL_DISABLE_INTERRUPTS(oldints); 336 HAL_DISABLE_INTERRUPTS(oldints);
331 HAL_DCACHE_PURGE_ALL(); 337 HAL_DCACHE_PURGE_ALL();