equal
deleted
inserted
replaced
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 |