| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 70 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 70 Page - ATMEL Corporation |
|
70 / 181 page ![]() 70 32001A–AVR32–06/06 AVR32 6.2 Cache operations All cache operations are initiated through the CACHE instruction. See the Instruction Set Description for the format of the CACHE instruction. The following cache operations are defined for the ICache: 6.2.1 The Flush operation The flush operation is used to reset the contents of the cache. This is done automatically at reset, and may be used at the programmers discretion at other times. The parameter is used to select one of the following flush modes: 6.2.2 The Invalidate operation The invalidate operation will try to invalidate the line containing the address given by the param- eter. The address is treated as a virtual address, and is translated to a physical address by the MMU. If the line exists in the cache, it is marked as invalid and unlocked. Otherwise nothing is done. If any MMU exceptions happen, the operation is silently aborted. 6.2.3 The Lock operation The lock operation will try to lock the line containing the address given by the parameter into the cache. The address is treated as a virtual address, and is translated to a physical address by the MMU. 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 exceptions happen - MMU or bus exceptions - the operation is silently aborted. If the requested address maps to a set with four lines already locked, the operation is silently aborted. Table 6-1. ICache operations Op[4:3] Op[2:0] Operation Parameter 00 000 Flush Flush mode 00 001 Invalidate Virtual Address 00 010 Lock Virtual Address 00 011 Unlock Virtual Address 00 100 Prefetch Virtual Address 00 101 Reserved N/A 00 110 Reserved N/A 00 111 Reserved N/A Other xxx Reserved for other caches N/A Table 6-2. ICache flush modes Mode Name Description 0 Flush all All lines are invalidated and unlocked, including locked ones. 1 Flush unlocked Invalidate all unlocked lines. 2 Unlock all All locked lines are unlocked, but no lines are invalidated. 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 |