Write back cache coherency module for systems with a write through cache supporting bus
AssigneeIntel Corporation
InventorSrinivas Raman
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorSrinivas Raman
Estimating the term…
A system and method for guaranteeing coherency between a write back cache and main memory in a computer system that does not have the bus level signals for a conventional write back cache memory. Cache coherency can be maintained by writing back all modified data in the cache prior to execution of the command that initiate the DMA or Bus Master transfer to or from main memory. When bus snooping logic detects writes from the CPU, the cache and main memory are synchronized. After synchronization, the bus snooper continues to look for access hits to modified data in the cache. If hits occurs and it is a DMA cycle, the CPU is prevented from further accesses to cache until after the DMA transfer, modified bytes are written back to main memory. If it is a bus master device seeking access to main memory, the CPU is prevented from further accesses to cache until the modified bytes are written back to main memory.
A write back cache coherency system for a computer wherein said computer includes at least one bus that contains snooping signals but not write back support signals, a CPU communicating with said bus, a cache memory communicating with said CPU and having a plurality of addresses for storing data which are organized into lines and a plurality of status bits indicating at least whether a line is in an invalid, modified or exclusive state, a main memory communicating with said bus, a DMA controller connected to said bus, at least one device to said bus, a plurality of additional addressable devices in said computer system each connected to a bus, said cache coherency system comprising:
In a computer system which includes one or more busses that contain snooping signals but not backoff signals, a CPU connected to said bus, a cache memory connected to said CPU and having a plurality of bytes organized into lines and a plurality of status bits indicating at least whether a line was in a modified or exclusive state, a main memory space, an I/O address space, a plurality of addressable devices some portion of which have standard addresses in I/O address space, a DMA controller having registers programmable by said CPU to allow external I/O devices to write to main memory and a status register indicating the condition of said write by an external I/O device and one or more external devices capable of accessing main memory through said DMA controller, and wherein said computer system supports a conventional interrupt scheme including standard and non-standard interrupts, a method of maintaining cache coherency comprising:
A pseudo write back cache memory system for a computer having a CPU, main memory and a plurality of external devices all of which are connected to a bus that does not have bus level signals to implement a conventional write back cache memory, said system comprising:
Dependencies are inferred from the claim text.