← Back to Patent Explorer
US5319785A Expired / Lapsed US ⏱️ 0.0 years remaining

Polling of I/O device status comparison performed in the polled I/O device

Assignee: Hewlett Packard Development Co LP
•
Filing: 1992-10-16
•
Granted: 1994-06-07
•
Expires: 2012-10-16
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus for polling a status register selectively delays the returning of status data in the status register. Prior to polling, a match register is loaded via a system bus with a desired status. Status data is presented to the system bus when the status data is the same as the desired status. The features of the invention also permit the masking of selective bits of the status register during the comparison of the status data with the desired status. A mode register selectively inhibits the delayed presentation, and a timer ensures that status data is presented to the system bus within a predetermined interval even if the status data is not the same as the desired status.

Inventors

  • 👤 Kurt M. Thaller

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-27 07:08
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/30; G06F9/38; G06F9/3877; G06F13/00; G06F13/10; G06F13/12; G06F13/124; G06F13/126

Claims Analysis

Total Claims: 10
Claim 1
Independent Claim 159 words
A method for a central processing unit (CPU) to obtain from an input/output (I/O) device the contents of a status register therein indicating the status thereof, comprising the steps of: transferring from said CPU to said I/O device expected status data corresponding to a predetermined status to be attained by said I/O device upon the occurrence of an expected event; storing said expected status data in a match register in said I/O device for use during a subsequent polling operation; issuing from said CPU to said I/O device a request to read said status register as part of said polling operation; comparing the contents of said status register to the contents of said match register to determine whether said event has occurred, the occurrence of said event being indicated by a match therebetween; and returning the contents of said status register to said CPU in response to said request upon an indication of a match in said comparing step.
Claim 2
Independent Claim 159 words
A method for a central processing unit (CPU) to obtain from an input/output (I/O) device the contents of a status register therein indicating the status thereof, comprising the steps of: transferring from said CPU to said I/O device expected status data corresponding to a predetermined status to be attained by said I/O device upon the occurrence of an expected event; storing said expected status data in a match register in said I/O device for use during a subsequent polling operation; issuing from said CPU to said I/O device a request to read said status register as part of said polling operation; comparing the contents of said status register to the contents of said match register to determine whether said event has occurred, the occurrence of said event being indicated by a match therebetween; and returning the contents of said status register to said CPU in response to said request upon an indication of a match in said comparing step.
Claim 3
Dependent Claim 143 words
A method according to claim 1, further comprising the steps of: transferring from said CPU to said I/O device a mask pattern to be used in said comparing step, said mask pattern having at least one bit set to one binary logic level to indicate that a corresponding bit in said status register is to be used in said comparing step, the remaining bits of said mask pattern being set to the other binary logic level to indicate that corresponding bits in said status register are to be ignored in said comparing step; storing said mask pattern in a mask register in said I/O device for use during said polling operation; and forcing the indication of a match in said comparing step for those bits of said status register corresponding to those bits of said mask register having said other binary logic level.
Claim 4
Dependent Claim 189 words
A method according to claim 1, further comprising the steps of: transferring a mode data bit from said CPU to said I/O device prior to said polling operation, said mode data bit being set to one binary logic level to indicate that the contents of said status register should be returned to said CPU upon the receipt of said request by said I/O device without regard for a match in said comparing step, said mode data bit being otherwise set to the other binary logic level; storing said mode data bit in a mode register in said I/O device for use during said polling operation; returning the contents of said status register to said CPU immediately upon the receipt of said request by said I/O device without regard for a match in said comparing step if the bit stored in said mode register has said one binary logic value; and returning the contents of said status register to said CPU in response to said request upon an indication of a match in said comparing step if the bit stored in said mode register has the other binary logic value.
Claim 5
Dependent Claim 95 words
A method according to claim 1, further comprising the steps of: initializing a timer in said I/O device used to determine whether the duration between the receipt of said request by said I/O device and the return of the contents of said status register to said CPU exceeds a predetermined maximum duration; starting said timer upon receipt of said request by said I/O device; and returning the contents of said status register to said CPU upon the expiration of said time if by that time a match has not been indicated in said comparing step.
Claim 6
Dependent Claim 132 words
A computer system, comprising: a central processing unit (CPU); a status register coupled to said CPU whose contents indicate the status of an associated input/output (I/O) device to be polled by said CPU; a match register coupled to said CPU to be written therefrom with expected status data corresponding to a predetermined status to be attained by said I/O device upon the occurrence of an expected event; a comparator coupled to said status register and said match register to indicate whether the contents thereof match; means for receiving from said CPU a request to read said status register to determine whether said event has occurred; and means for returning the contents of said status register to said CPU in response to said request upon an indication of a match by said comparator.
Claim 7
Dependent Claim 132 words
A computer system, comprising: a central processing unit (CPU); a status register coupled to said CPU whose contents indicate the status of an associated input/output (I/O) device to be polled by said CPU; a match register coupled to said CPU to be written therefrom with expected status data corresponding to a predetermined status to be attained by said I/O device upon the occurrence of an expected event; a comparator coupled to said status register and said match register to indicate whether the contents thereof match; means for receiving from said CPU a request to read said status register to determine whether said event has occurred; and means for returning the contents of said status register to said CPU in response to said request upon an indication of a match by said comparator.
Claim 8
Dependent Claim 132 words
A computer system according to claim 5, further comprising: a mask register coupled to said CPU to receive therefrom a mask pattern, said mask pattern having at least one bit set to one binary logic level to indicate that a corresponding bit in said status register is to be used by said comparator, the remaining bits of said mask pattern being set to the other binary logic level to indicate that corresponding bits in said status register are to be ignored by said comparator, said mask register being coupled to said comparator to provide said mask pattern thereto; and wherein said comparator has means for forcing the indication of a match for those bits of said status register corresponding to those bits of said mask register having said other binary logic level.
Claim 9
Dependent Claim 166 words
A computer system according to claim 5, further comprising: a mode register coupled to said CPU to receive therefrom a mode data bit, said mode data bit being set to one binary logic level to indicate that the contents of said status register should be returned to said CPU upon the receipt of said request by said I/O device without regard for a match indication by said comparator, said mode data bit being otherwise set to the other binary logic level; means for returning the contents of said status register to said CPU upon the receipt of said request by said I/O device without regard for a match indication by said comparator if the bit stored in said mode register has said one binary logic value; and means for returning the contents of said status register to said CPU in response to said request an indication of a match by said comparator if the bit stored in said mode register has the other binary logic value.
Claim 10
Dependent Claim 101 words
A computer system according to claim 5, further comprising: a timer coupled to said receiving means, said comparator, and said returning means to determine whether the duration between the receipt of said request by said I/O device and the return of the contents of said status register to said CPU exceeds a predetermined maximum duration; means for starting said timer upon receipt of said request by said I/O device; and means for returning the contents of said status register to said CPU upon the expiration of said timer if by that time a match has not been indicated by said comparator.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-06-06 1997-12-06 1998-06-07 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-06-06 2001-12-06 2002-06-07 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-06-06 2005-12-06 2006-06-07 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag