×

Multi-core hardware semaphore in non-architectural address space

  • US 9,898,303 B2
  • Filed: 05/19/2014
  • Issued: 02/20/2018
  • Est. Priority Date: 08/28/2013
  • Status: Active Grant
First Claim
Patent Images

1. A microprocessor, comprising:

  • a plurality of processing cores;

    a plurality of resources, shared by the plurality of processing cores; and

    a plurality of hardware semaphores, each associated with a different one of the plurality of resources, wherein each hardware semaphore is readable and writeable by the plurality of processing cores over a bus at a predetermined address within a non-architectural address space of the cores, wherein the non-architectural space can only be accessed by microcode running on the processing cores;

    microcode on each of the plurality of cores that associates each one of the plurality hardware semaphores with ownership of a different shared resource and which is configured to read and write the hardware semaphores;

    wherein each of the plurality of processing cores is configured to write to a selected hardware semaphore to request ownership of an associated shared resource and to read from the selected hardware semaphore to determine whether or not the ownership was obtained; and

    wherein each of the plurality of processing cores is configured to write to the selected hardware semaphore to relinquish ownership of the associated shared resource.

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