Claims
- 1. An apparatus for cache lock control, comprising:
- a cache memory having a plurality of data entries, each of said data entries including at least one data segment for storing data, at least one address segment for storing an address, and at least one cache lock segment for storing cache lock information; and
- means for controlling updating of said at least one data segment and said at least one address segment in any of the data entries of the cache memory in response to cache lock information in corresponding cache lock segments in said any of the data entries such that data segments and address segments of each of said plurality of data entries are selectively preventable from being overwritten by setting a corresponding cache lock segment, further including:
- an address translator having a plurality of address entries, each of said address entries including at least a cache locking segment storing cache lock information corresponding to said cache memory;
- means for selecting one of the data entries of said cache memory;
- means for updating an address segment and a data segment in a selected data entry of said cache memory; and
- means for transferring cache lock information to a cache lock segment of the selected data entry of said cache memory from a cache locking segment in a corresponding address entry of said address translator when an address segment and a data segment in the selected data entry of said cache memory are updated.
- 2. An apparatus for cache lock control, comprising:
- a cache memory having a plurality of data entries, each of said plurality of data entries being divided into a plurality of segments including: at least one data segment for storing data, at least one address segment for storing an address, and at least one cache lock segment for storing cache lock information;
- means for controlling updating of said at least one data segment and said at least one address segment in any of the data entries of the cache memory in response to cache lock information in corresponding cache lock segments in said any of the data entries such that data segments and address segments of each of said plurality of data entries are selectively preventable from being overwritten by setting a corresponding cache lock segment therein;
- an address translator having a plurality of address entries, each of said plurality of address entries divided into a plurality of segments including at least one cache locking segment storing cache lock information;
- means for selecting one of the data entries of said cache memory;
- means for updating a data segment and an address segment in a selected data entry of said cache memory; and
- means for transferring cache lock information to a cache lock segment of the selected data entry of said cache memory from a cache locking segment in a corresponding address entry of said address translator when a data segment and an address segment in the selected data entry of said cache memory are updated;
- wherein said means for controlling includes:
- a control register for storing information represented by a cache lock control bit, and
- means for selectively executing and inhibiting said updating of a data segment and an address segment in said any of the data entries of said cache memory in response to the information stored in the control register.
- 3. The apparatus for cache lock control recited in claim 2, wherein said address translator comprises means for translating a virtual address to a physical address of a memory thereby to identify one of a plurality of addresses of the memory for entering data therefrom to one of said data entries of said cache memory, and for providing said cache lock information to said cache lock segment of the said one of said data entries of said cache memory.
Parent Case Info
This application is a continuation of application Ser. No. 07/841,106 filed Feb. 25, 1992, now abandoned.
US Referenced Citations (6)
Non-Patent Literature Citations (1)
| Entry |
| "Sparc Risc User's Guide" by Cypress Semiconductor, Feb. 1990, pp. 4-18 to 4-19 and 4-34 to 4-35. |
Continuations (1)
|
Number |
Date |
Country |
| Parent |
841106 |
Feb 1992 |
|