Method of controlling the transfer of information across an interface between two buses
First Claim
1. A method of controlling the transfer of information between a first bus and clients on a second bus through an interface, comprising:
- placing client messages to be transferred across the interface into a queue;
reviewing a status register associated with the interface to determine whether the interface is currently allocated to a client;
if the interface is not currently allocated to a client, then assuming control of the interface;
writing the first message in the queue to a request buffer;
writing a command to the interface to transfer the message in the request buffer to the first bus;
determining whether a message result has arrived in response to the last transmitted message;
transmitting an interrupt to the second bus by the interface;
reading the status register and determining whether the interrupt indicates a response to a message or an event, if the interrupt is in response to a message, reading a response buffer or if the interrupt is in response to an event, placing an event query message into the message queue;
determining the size of the response in the response buffer;
verifying that the client associated with the message being process has allocated sufficient space to receive the response; and
writing the contents of the response register to a memory location allocated by the client.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for interfacing buses includes a system interface processor coupled to a first bus and including a command register accessible via a second bus. A request buffer and a response buffer are provided which are accessible via the second bus and coupled to the interface processor. The request buffer can be used to store information to be transmitted from the second bus to the first via the interface processor while the response buffer can be used to store information to be transmitted from the first bus to the second bus via the interface processor. The interface processor may include a status register to indicate the status of the interface controller. The interface controller may also include a command register to receive commands transmitted over the second bus.
-
Citations
6 Claims
-
1. A method of controlling the transfer of information between a first bus and clients on a second bus through an interface, comprising:
-
placing client messages to be transferred across the interface into a queue; reviewing a status register associated with the interface to determine whether the interface is currently allocated to a client; if the interface is not currently allocated to a client, then assuming control of the interface; writing the first message in the queue to a request buffer; writing a command to the interface to transfer the message in the request buffer to the first bus; determining whether a message result has arrived in response to the last transmitted message; transmitting an interrupt to the second bus by the interface; reading the status register and determining whether the interrupt indicates a response to a message or an event, if the interrupt is in response to a message, reading a response buffer or if the interrupt is in response to an event, placing an event query message into the message queue; determining the size of the response in the response buffer; verifying that the client associated with the message being process has allocated sufficient space to receive the response; and writing the contents of the response register to a memory location allocated by the client. - View Dependent Claims (2, 3)
-
-
4. A program storage device storing instructions that when executed by a computer perform the method comprising:
-
placing client messages to be transferred across the interface into a queue; reviewing a status register associated with the interface to determine whether the interface is currently allocated to a client; if the interface is not currently allocated to a client, then assuming control of the interface; writing the first message in the queue to a request buffer; writing a command to the interface to transfer the message in the request buffer to the first bus; determining whether a message result has arrived in response to the last transmitted message; transmitting an interrupt to the second bus by the interface; reading the status register and determining whether the interrupt indicates a response to a message or an event, if the interrupt is in response to a message, reading a response buffer or if the interrupt is in response to an event, placing an event query message into the message queue; determining the size of the response in the response buffer; verifying that the client associated with the message being process has allocated sufficient space to receive the response; and writing the contents of the response register to a memory location allocated by the client. - View Dependent Claims (5, 6)
-
Specification