Intel NETWORK PROCESSOR IXP2800 Manuale Utente Pagina 104

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 430
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 103
104 Hardware Reference Manual
Intel
®
IXP2800 Network Processor
Intel XScale
®
Core
3.6.3.3.1 Global Clean and Invalidate Operation
A simple software routine is used to globally clean the data cache. It takes advantage of the line-
allocate data cache operation, which allocates a line into the data cache. This allocation evicts any
cache dirty data back to external memory. Example 22 shows how data cache can be cleaned.
The line-allocate operation does not require physical memory to exist at the virtual address
specified by the instruction, since it does not generate a load/fill request to external memory. Also,
the line-allocate operation does not set the 32 bytes of data associated with the line to any known
value. Reading this data will produce unpredictable results.
The line-allocate command will not operate on the mini Data Cache, so system software must clean
this cache by reading two Kbytes of contiguous unused data into it. This data must be unused and
reserved for this purpose so that it will not already be in the cache. It must reside in a page that is
marked as mini Data Cache cacheable.
The time it takes to execute a global clean operation depends on the number of dirty lines in cache.
Example 22. Global Clean Operation
; Global Clean/Invalidate THE DATA CACHE
; R1 contains the virtual address of a region of cacheable memory reserved for
; this clean operation
; R0 is the loop count; Iterate 1024 times which is the number of lines in the
; data cache
;; Macro ALLOCATE performs the line-allocation cache operation on the
;; address specified in register Rx.
;;
MACRO ALLOCATE Rx
MCR P15, 0, Rx, C7, C2, 5
ENDM
MOV R0, #1024
LOOP1:
ALLOCATE R1 ; Allocate a line at the virtual address
; specified by R1.
ADD R1, R1, #32 ; Increment the address in R1 to the next cache line
SUBS R0, R0, #1 ; Decrement loop count
BNE LOOP1
;
;Clean the Mini-data Cache
; Can’t use line-allocate command, so cycle 2KB of unused data through.
; R2 contains the virtual address of a region of cacheable memory reserved for
; cleaning the Mini-data Cache
; R0 is the loop count; Iterate 64 times which is the number of lines in the
; Mini-data Cache.
MOV R0, #64
LOOP2:
LDR R3,[R2],#32 ; Load and increment to next cache line
SUBS R0, R0, #1 ; Decrement loop count
BNE LOOP2
;
; Invalidate the data cache and mini-data cache
MCR P15, 0, R0, C7, C6, 0
;
Vedere la pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 429 430

Commenti su questo manuale

Nessun commento

Atec AEMC-6472_6474 manuels

Manuels d'utilisation et guides de l'utilisateur pour Équipement Atec AEMC-6472_6474.
Nous fournissons des manuels en pdf 1 Atec AEMC-6472_6474 à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Équipement Atec

Modèles Type de document
AEMC-4620_4630 Manuel de l'utilisateur   Atec AEMC-4620_4630 User Manual, 6 pages
Biddle-DET-2-2 Manuel de l'utilisateur   Atec Biddle-DET-2-2 User Manual, 2 pages
Chroma-19572 Manuel de l'utilisateur   Atec Chroma-19572 User Manual, 2 pages
AEMC-6416-6417 Manuel de l'utilisateur   Atec AEMC-6416-6417 User Manual, 4 pages
Biddle-DET3-2 Manuel de l'utilisateur   Atec Biddle-DET3-2 User Manual, 5 pages
AEMC-6470 Manuel de l'utilisateur   Atec AEMC-6470 User Manual, 2 pages
Biddle-DET5-2 Manuel de l'utilisateur   Atec Biddle-DET5-2 User Manual, 2 pages
AEMC-6470B Manuel de l'utilisateur   Atec AEMC-6470B User Manual, 8 pages
AEMC-4500 Manuel de l'utilisateur   Atec AEMC-4500 User Manual, 5 pages
AEMC-3620 Manuel de l'utilisateur   Atec AEMC-3620 User Manual, 6 pages
Amplifier-Research-FL7040-Kit Manuel de l'utilisateur   Atec Amplifier-Research-FL7040-Kit User Manual, 2 pages
Amplifier-Research-FP7018 Manuel de l'utilisateur   Atec Amplifier-Research-FP7018 User Manual, 1 pages
AmplifierResearch_FL7060 Manuel de l'utilisateur   Atec AmplifierResearch_FL7060 User Manual, 2 pages
Associated-Research-5030DT Manuel de l'utilisateur   Atec Associated-Research-5030DT User Manual, 4 pages
AmplifierResearch_FP7003-Kit Manuel de l'utilisateur   Atec AmplifierResearch_FP7003-Kit User Manual, 1 pages
Amplifier-Research-FM7004 Manuel de l'utilisateur   Atec Amplifier-Research-FM7004 User Manual, 2 pages
Associated-Research-3130_3140_3160 Manuel de l'utilisateur   Atec Associated-Research-3130_3140_3160 User Manual, 2 pages
Associated-Research-3140-60 Manuel de l'utilisateur   Atec Associated-Research-3140-60 User Manual, 2 pages
ARA-Technologies-PLA-130-A Manuel de l'utilisateur   Atec ARA-Technologies-PLA-130-A User Manual, 2 pages
Emco-6509 Manuel de l'utilisateur   Atec Emco-6509 User Manual, 2 pages