| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 62 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 62 Page - ATMEL Corporation |
|
62 / 181 page ![]() 62 32001A–AVR32–06/06 AVR32 4.3.3.1 ITLB / DTLB Multiple Hit If multiple matching entries are found when searching the TLB, or matching entries are found in a segment translated area, this exception is issued. This situation is a critical error, since mem- ory consistency can no longer be guaranteed. The exception hardware therefore jumps to the reset vector, where software should execute the required reset code. This exception is a sign of erroneous code and is not normally generated. The software handler should perform a normal system restart. However, debugging code may be inserted in the handler. 4.3.3.2 ITLB / DTLB Miss This exception is issued if no matching entries are found in the TLB, or when a matching entry is found with the Valid bit cleared. 1. Examine the TLBEAR and TLBEHI registers in order to identify the page that caused the fault. Use this to index the page table pointed to by PTBR and fetch the desired page table entry. 2. Use the fetched page table entry to update the necessary bits in TLBEHI and TLBELO. The following bits must be updated, not all bits apply to ITLB entries: V, PFN, C, G, B, AP[2:0], SZ[1:0], W, D. 3. The replacement pointer in MMUCR[DRP] may be written to manually choose which entry to replace. 4. Execute the tlbw instruction in order to update the TLB entry. 5. Finish the exception handling and return to the application by executing the rete instruction. 4.3.3.3 ITLB / DTLB Protection Violation This exception is issued if one of the following occur: • Access to a privileged segment in application mode. • Access to a page translated area, and the access permissions on the matching page does not allow that type of access. MMUCR[DRP] is updated to point to the matching TLB entry. Software must examine the TLBEAR and TLBEHI registers in order to identify the instruction and process that caused the error. Corrective measures like terminating the process must then be performed before returning to normal execution with rete. 4.3.3.4 DTLB Modified This exception is issued if a valid memory write operation is performed to a page that has never been written before. This is detected by the Dirty-bit in the matching TLB entry reading zero. 1. Examine the TLBEAR and TLBEHI registers in order to identify the page that caused the fault. Use this to index the page table pointed to by PTBR and fetch the desired page table entry. 2. Set the Dirty bit in the read page table entry and write this entry back to the page table 3. Use the fetched page table entry to update the necessary bits in TLBEHI and TLBELO. The following bits must be updated: V, PFN, C, G, B, AP[2:0], SZ[1:0], W, D. 4. The TLBEHI[I] register is cleared by hardware to indicate that it was a data access, and MMUCR[DRP] is updated to point to the matching TLB entry. 5. Execute the tlbw instruction in order to update the TLB entry. 6. Finish the exception handling and return to the application by executing the rete instruction. |
|
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 |