| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 76 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 76 Page - ATMEL Corporation |
|
76 / 181 page ![]() 76 32001A–AVR32–06/06 AVR32 7.3.2 Flush The flush operation is used to reset the contents of the cache. While a flush is active, all other operations are stalled. The parameter is used to select one of the following flush modes: 7.3.3 Lock The lock operation will try to lock the line containing the address given by the parameter into the cache. If the line exists in the cache, the lock bit is set. If the line does not exist in the cache, it will be fetched from the bus and locked - even if the area is uncacheable. If any MMU exceptions happen, the operation is silently aborted. If the requested address maps to a set with four lines already locked, the operation is silently aborted. 7.3.4 Unlock The unlock operation will try to unlock the line containing the address given by the parameter. If the line exists in the cache and is locked, it is unlocked. Otherwise nothing is done. If any MMU exceptions happen, the operation is silently aborted. If the line referred to is still being fetched from the bus, the unlock operation will complete but the line could be locked after the unlock completes. This is only possible if a lock is closely followed by an unlock to the same line - in this case use the sync instruction to make sure any pending locks are completed before the unlock is performed. 7.3.5 Invalidate The invalidate operation will try to invalidate the line containing the address given by the param- eter. If the line exists in the cache, it is marked as invalid. Otherwise nothing is done. If the line has dirty data, these updates will be lost! If any MMU exceptions happen, the operation is silently aborted. If the line referred to is still being fetched from the bus, the invalidate operation will complete but the line could become valid after the invalidate completes. This is only possible if a read or prefetch is closely followed by an invalidate to the same line - in this case use the sync instruc- tion to make sure any pending reads are completed before the invalidate is performed. 7.3.6 Clean The invalidate operation will try to clean the line containing the address given by the parameter. If the line exists in the cache and has dirty data, it will be written to the write buffer and marked Table 7-2. Flush modes Mode Name Description 0 Invalidate all All lines are invalidated and unlocked. Dirty lines are not cleaned! 1 Invalidate unlocked All unlocked lines are invalidated. Dirty lines are not cleaned! 2 Clean all All lines are cleaned, but no lines are invalidated. 3 Clean Unlocked All unlocked lines are cleaned, but no lines are invalidated. 4 Clean & Invalidate all All lines are cleaned, invalidated and unlocked. 5 Clean & Invalidate unlocked All unlocked lines are cleaned and invalidated. 6 Unlock all All locked lines are unlocked. Others Undefined Should not be used - operation is undefined. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |