kernel/eka/kernel/arm/cache_external.cpp
changeset 45 329ab0095843
parent 43 96e5fb8b040d
equal deleted inserted replaced
44:36bfc973b146 45:329ab0095843
   306 	DrainBuffers();
   306 	DrainBuffers();
   307 	}
   307 	}
   308 
   308 
   309 void ExternalCache::AtomicSync()
   309 void ExternalCache::AtomicSync()
   310 	{
   310 	{
   311 	CHECK_PRECONDITIONS(MASK_INTERRUPTS_DISABLED,"ExternalCache::AtomicCleanAndInvalidate");				
   311 	CHECK_PRECONDITIONS(MASK_INTERRUPTS_DISABLED,"ExternalCache::AtomicSync");
   312 	__KTRACE_OPT(KMMU,Kern::Printf("ExternalCache::AtomicCleanAndInvalidate"));
   312 	__KTRACE_OPT(KMMU,Kern::Printf("ExternalCache::AtomicSync"));
   313 
   313 
   314 #if defined(__ARM_PL310_CACHE__)
   314 #if defined(__ARM_PL310_CACHE__)
   315 	// On Pl310, we hold the lock while maintaining cache. Therefore, we cannot
   315 	// On Pl310, we hold the lock while maintaining cache. Therefore, we cannot
   316 	// do that on a way basis as it takes too long to complete.
   316 	// do that on a way basis as it takes too long to complete.
   317 
   317