×

Method, apparatus, and system for operating shared resource in asynchronous multiprocessing system

  • US 9,519,652 B2
  • Filed: 04/25/2013
  • Issued: 12/13/2016
  • Est. Priority Date: 04/27/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for operating a shared hardware resource in an asynchronous multiprocessing system, comprising:

  • accessing by a first and a second processor in the asynchronous multiprocessing system, a shared hardware resource through a same hardware resource lock register, wherein the same hardware resource lock register is coupled to the first and the second processor which are separately located from the same hardware resource lock register through first and second respective buses;

    wherein the same hardware resource lock register is implemented by a plurality of register circuitry portions comprised within the same hardware resource lock register, including;

    a first register circuitry portion comprising a lock register circuitry portion,a second register circuitry portion comprising an unlock circuitry register portion, anda third register circuitry portion comprising a lock state register circuitry portion;

    the method comprising;

    receiving by a first input of the lock register circuitry portion, a lock command sent from the first processor in the asynchronous multiprocessing system, wherein the lock command is multiplexed with a lock state signal received at a second input of the lock register circuitry portion, wherein the received lock state signal is sent from the lock state register circuitry portion of the same hardware resource lock register to further perform one of the following;

    when the received lock state signal at the second input of the lock register circuitry portion is in an unlock state, outputting by the lock register circuitry portion, a lock enable signal to the lock state register circuitry portion to set the same hardware resource lock register to a state of being locked by the first processor, so that the first processor operates the shared resource, wherein after the setting, by the lock state register circuitry portion, the state of the same hardware resource lock register to a state of being locked by the first processor in order that the first processor operates the shared resource, the method further comprises;

    receiving at a first input of the unlock register portion;

    an unlock command sent by the first processor to trigger an output by the unlock register portion, and a resource unlock enable command to a first input of the lock state register portion; and

    restoring, by the lock state register portion of the hardware resource lock, the state of the same hardware resource lock register to the unlocked state according to the received unlock command;

    orignoring by the lock register circuitry portion, the lock command at the first input when the received lock state signal at the second input of the lock register circuitry portion is in a lock state.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×