×

Apparatus and method for controlling exclusive access to portions of addressable memory in a multiprocessor system

  • US 5,408,629 A
  • Filed: 08/13/1992
  • Issued: 04/18/1995
  • Est. Priority Date: 08/13/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. An apparatus for coordinating exclusive access to selectable portions of addressable memory in a data processing system having a first storage controller, a second storage controller, a first addressable memory unit coupled to the first storage controller and a second addressable memory unit coupled to the second storage controller, wherein each of the storage controllers controls access to the coupled addressable memory unit and the first storage controller is coupled to the second storage controller, the system further including a first processor and a second processor coupled to the first storage controller, and a third processor coupled to the second storage controller, wherein the first, second, and third processors execute instructions and generate memory access requests to manipulate portions of the addressable memory, whereby the intercoupling of the first and second storage controllers provides access to the second addressable memory unit for the first and second processors and further provides access to the first addressable memory unit for the third processor, the apparatus comprising:

  • first storage request priority control means disposed within the first storage controller for selecting among memory access requests referencing the first addressable memory unit;

    second storage request priority control means disposed within the second storage controller for selecting among memory access requests referencing the second addressable memory unit;

    first lock control means disposed within the first storage controller and coupled to said first storage request priority means for coordinating memory access requests for exclusive access to a portion of memory in the first addressable memory unit;

    second lock control means disposed within the second storage controller and coupled to said second storage request priority means for coordinating memory access requests for exclusive access to a portion of memory in the second addressable memory unit;

    a first set of lock address registers disposed within the first storage controller and coupled to said first lock control means, wherein each one of said lock address registers in said first set stores an address referencing the first addressable memory unit and for which exclusive use is requested by a predetermined one and only one of the first, second, and third processors;

    a second set of lock address registers disposed within the second storage controller and coupled to said second lock control means, wherein each one of said lock address registers in said second set stores an address referencing the second addressable memory unit and for which exclusive use is requested by a predetermined one and only one of the first, second, and third processors;

    a first set of locked-bit registers disposed within the first storage controller and coupled to said first lock control means, wherein each one of said locked-bit registers in said first set of locked-bit registers indicates whether a predetermined one and only one of said lock address registers in said first set of lock address registers references a portion of addressable memory which is exclusively held;

    a second set of locked-bit registers disposed within the second storage controller and coupled to said second lock control means, wherein each one of said locked-bit registers in said second set of locked-bit registers indicates whether a predetermined one and only one of said lock address registers in said second set of lock address registers references a portion of addressable memory which is exclusively held;

    a first set of lock-requested-bit registers disposed within the first storage controller and coupled to the first lock control means, wherein each one of said lock-requested-bit registers in said first set of lock-request-bit registers indicates whether a predetermined one and only one of said lock address registers in said first set of lock address registers references a portion of addressable memory for which exclusive access is requested;

    a second set of lock-requested-bit registers disposed within the second storage controller and coupled to the second lock control means, wherein each one of said lock-requested-bit registers in said second set of lock-requested-bit registers indicates whether a predetermined one and only one of said lock address registers in said second set of lock address registers references a portion of addressable memory for which exclusive access is requested;

    first lock priority control means disposed within the first storage controller and coupled to the first lock control means for selecting memory access requests for exclusive access to a portion of memory in the first addressable memory unit, for sending a first lock granted signal to the first processor when exclusive access to a portion of addressable memory is granted to tile first processor, for sending a second lock granted signal to the second processor when exclusive access to a portion of addressable memory is granted to the second processor, for sending a third lock granted signal to the third processor when exclusive access to a portion of addressable memory is granted to the third processor, and for sending a fourth lock granted signal to the fourth processor when exclusive access to a portion of addressable memory is granted to the fourth processor; and

    second lock priority control means disposed within the second storage controller and coupled to the second lock control means for selecting memory access requests for exclusive access to a portion of memory in the second addressable memory unit, for sending a first lock granted signal to the first processor when exclusive access to a portion of addressable memory is granted to the first processor, for sending a second lock granted signal to the second processor when exclusive access to a portion of addressable memory is granted to the second processor, for sending a third lock granted signal to the third processor when exclusive access to a portion of addressable memory is granted to the third processor, and for sending a fourth lock granted signal to the fourth processor when exclusive access to a portion of addressable memory is granted to the fourth processor.

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