Method for operating processor with internal register for peripheral status
AssigneeMicron Technology, Inc.
InventorDean A. Klein
Life of this patent
Estimating the term…
Abstract
One embodiment of the present invention provides a method that maintains status information for peripheral devices in a status register, which is located within a central processing unit in the computer system. In this embodiment, a peripheral device updates the status register if its status changes by performing a bus master operation to transfer status information to the status register. It then generates an interrupt to indicate to a processor that it requires servicing. When the processor services the interrupt, the processor performs an internal read of the status register to determine which peripheral device requires processing. No time-consuming polling of peripheral devices is required to determine the status of the peripheral devices.
Claims9
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, through a communication channel. status information from a peripheral device;
- updating a status register within a central processing unit in response to the status information from the peripheral device;
- receiving, at the central processing unit, an interrupt from the peripheral device;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving status information from the peripheral device includes receiving an access to a particular address in a set of reserved addresses, wherein the access to the particular address signifies a specific status for a specific peripheral device.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, through a communication channel, status information from a peripheral device;
- updating a status register within a central processing unit in response to the status information from the peripheral device;
- receiving, at the central processing unit, an interrupt from the peripheral device;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving status information includes receiving status information from the peripheral device through a bus that also carries signals for maintaining coherency between multiple caches in the computer system.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, through a communication channel, status information from a peripheral device;
- updating a status register within a central processing unit in response to the status information from the peripheral device;
- receiving, at the central processing unit, an interrupt from the peripheral device;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving status information includes receiving status information from the peripheral device through a processor-to-memory bus.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, through a communication channel, status information from a peripheral device;
- updating a status register within a central processing unit in response to the status information from the peripheral device;
- receiving, at the central processing unit, an interrupt from the peripheral device;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving the interrupt from the peripheral device includes receiving the interrupt through a daisy-chained interrupt structure coupled between the at least one peripheral device and the central processing unit.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, through a communication channel, status information from a peripheral device;
- updating a status register within a central processing unit in response to the status information from the peripheral device;
- receiving, at the central processing unit, an interrupt from the peripheral device;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein testing the status register to determine which peripheral devices from the plurality of peripheral devices require servicing includes executing an instruction that examines the status register and jumps to different interrupt service routines to service different peripheral devices based upon information contained in the status register.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, at a peripheral device, status information regarding the peripheral device;
- communicating, from the peripheral device, the status information through a bus to a status register within a central processing unit in the computer system;
- receiving, at the status register, the status information;
- updating the status register to indicate the status of the peripheral device;
- sending, from the peripheral device, an interrupt to the central processing unit;
- receiving the interrupt at the central processing unit;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving status information from the peripheral device includes receiving an access to a particular address in a set of reserved addresses, wherein the access to the particular address signifies a specific status for a specific peripheral device.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, at a peripheral device, status information regarding the peripheral device;
- communicating, from the peripheral device, the status information through a bus to a status register within a central processing unit in the computer system;
- receiving, at the status register, the status information;
- updating the status register to indicate the status of the peripheral device;
- sending, from the peripheral device, an interrupt to the central processing unit;
- receiving the interrupt at the central processing unit;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving status information include s receiving status information from the peripheral device through the bus that also carries signals for maintaining coherency between multiple caches in the computer system.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, at a peripheral device, status information retarding the peripheral device;
- communicating, from the peripheral device, the status information through a bus to a status register within a central processing unit in the computer system;
- receiving, at the status register, the status information;
- updating the status register to indicate the status of the peripheral device;
- sending, from the peripheral device, an interrupt to the central processing unit;
- receiving the interrupt at the central processing unit;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving status information includes receiving status information from the peripheral device through a processor-to-memory bus.
A method for managing status information for a plurality of peripheral devices in a computer system, comprising:
- receiving, at a peripheral device, status information regarding the peripheral device;
- communicating, from the peripheral device, the status information through a bus to a status register within a central processing unit in the computer system;
- receiving, at the status register, the status information;
- updating the status register to indicate the status of the peripheral device;
- sending, from the peripheral device, an interrupt to the central processing unit;
- receiving the interrupt at the central processing unit;
- testing, in response to the interrupt, the status register to determine which peripheral devices from the plurality of peripheral devices require servicing;
- and
- servicing the peripheral devices that require servicing;
- wherein receiving the interrupt from the peripheral device includes receiving the interrupt through a daisy-chained interrupt structure coupled between the at least one peripheral device and the central processing unit.
Dependencies are inferred from the claim text.