×

Cache memory system and method for automatically locking cache entries to prevent selected memory items from being replaced

  • US 5,974,508 A
  • Filed: 10/08/1997
  • Issued: 10/26/1999
  • Est. Priority Date: 07/31/1992
  • Status: Expired due to Fees
First Claim
Patent Images

1. A single chip central processing unit (CPU) having an integer unit for generating read and write requests to an external memory, a cache memory internal to the single chip CPU for storing memory items staged from the external memory and a bus interface unit for reading and writing memory items stored in the external memory and for replacing memory items stored in the cache memory, wherein the integer unit, cache memory and bus interface unit are interconnected by a bus, the cache memory having a plurality of cache entries for storing memory items and corresponding cache entry lock bits, the single chip CPU comprising:

  • a memory-mapped cache/bus interface unit (BIU) control register connected to the integer unit and having a global cache lock bit selectively settable by the integer unit for indicating that all cache entries are to be locked;

    a memory-mapped lock control register connected to the integer unit and having a cache entry auto lock bit selectively settable by the integer unit for indicating that individual cache entries are to be locked when accessed by the bus interface unit; and

    means connected to the cache memory, the cache/BIU control register and the lock control register, for locking all cache entries by selectively disabling replacement of all memory items stored therein by the bus interface unit while the global cache lock bit in the memory-mapped cache/BIU control register is set, and for automatically locking individual cache entries by setting the corresponding cache entry lock bits in the individual cache entries, thereby selectively disabling replacement of individual memory items stored therein, when he individual cache entries are subsequently accessed by the bus interface unit while the cache entry auto lock bit in the memory-mapped lock control register is set.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×