Method and apparatus for software management of on-chip cache

   
   

A microprocessor including a control unit and a cache connected with the control unit for storing data to be used by the control, wherein the cache is selectively configurable as either a single cache or as a partitioned cache having a locked cache portion and a normal cache portion. The normal cache portion is controlled by a hardware implemented automatic replacement process. The locked cache portion is locked so that the automatic replacement process cannot modify the contents of the locked cache. An instruction is provided in the instruction set that enables software to selectively allocate lines in the locked cache portion to correspond to locations in an external memory, thereby enabling the locked cache portion to be completely managed by software.

Ένας μικροεπεξεργαστής συμπεριλαμβανομένης μιας μονάδας ελέγχου και μιας κρύπτης σύνδεσε με τη μονάδα ελέγχου για την αποθήκευση των στοιχείων που χρησιμοποιούνται από τον έλεγχο, όπου η κρύπτη είναι επιλεκτικά διαμορφώσιμη ως είτε ενιαία κρύπτη είτε ως χωρισμένη κρύπτη που έχει μια κλειδωμένη μερίδα κρύπτης και μια κανονική μερίδα κρύπτης. Η κανονική μερίδα κρύπτης ελέγχεται με μια εφαρμοσμένη υλικό αυτόματη διαδικασία αντικατάστασης. Η κλειδωμένη μερίδα κρύπτης είναι κλειδωμένη έτσι ώστε η αυτόματη διαδικασία αντικατάστασης δεν μπορεί να τροποποιήσει το περιεχόμενο της κλειδωμένης κρύπτης. Μια οδηγία παρέχεται στην οδηγία καθορισμένη που επιτρέπει στο λογισμικό για να διαθέσει επιλεκτικά τις γραμμές στην κλειδωμένη μερίδα κρύπτης για να αντιστοιχεί στις θέσεις σε μια εξωτερική μνήμη, με αυτόν τον τρόπο επιτρέποντας στην κλειδωμένη μερίδα κρύπτης για να ρυθμιστεί εντελώς από το λογισμικό.

 
Web www.patentalert.com

< Control circuits comparing index offset and way for cache system and method of controlling cache system

< Space division within computer branch memories

> Method and system for managing data at an input/output interface for a multiprocessor system

> Mechanism for initiating an implicit write-back in response to a read or snoop of a modified cache line

~ 00163