×

Interface between a pair of processors, such as host and peripheral-controlling processors in data processing systems

  • US 4,449,182 A
  • Filed: 10/05/1981
  • Issued: 05/15/1984
  • Est. Priority Date: 10/05/1981
  • Status: Expired due to Term
First Claim
Patent Images

1. In a data processing system which includes first and second processors (70 and 31), a memory (80) to which information can be written by each of said processors and from which information can be read by each of said processors, such memory having a plurality of locations for storing said information, and bus means (60) for interconnecting the first and second processors and said memory, to enable communications therebetween, said bus means being of the type which has no hardware interlock capability which is usable by the other of said processors to selectively prevent the other of said processors from accessing said memory locations, the improvement comprising:

  • communications control means for controlling communications between said processors and permitting the first processor to send a plurality of commands in sequence to the second processor via the bus means, and for permitting the second processor to send responses to those commands to the first processor via the bus means;

    the communications control means including a plurality of locations in said memory, termed interface memory locations, adapted to serve as a communications interface between the first and second processors, all commands and responses being transmitted through such interface memory locations;

    the interface memory locations comprising a pair of ring buffers;

    a first one of said ring buffers being adapted to buffer the transmission of messages issued by the first processor and a second one of said ring buffers being adapted to buffer the reception of messages transmitted by the second processor;

    each of said ring buffers including a plurality of memory locations adapted to receive from an associated one of said processors a descriptor signifying another location in said memory;

    for said first ring buffer, the location signified by such descriptor being a location containing a message for transmission to the second processor;

    for said second ring buffer, the location signified by such descriptor being a location for holding a message from the second processor; and

    the communications control means permitting each of said processors to operate at its own rate, independent of the other of said processors, and to access a ring buffer for writing thereto only when the buffer does not contain information previously written to such buffer but not yet read from it and for reading to such buffer only when the buffer contains information written to it but not yet read therefrom, thus preventing race conditions from developing across said bus means in relation to accessing the interface memory locations.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×