×

Method and apparatus for interrupt redirection for arm processors

  • US 6,711,643 B2
  • Filed: 12/28/2001
  • Issued: 03/23/2004
  • Est. Priority Date: 12/11/2001
  • Status: Active Grant
First Claim
Patent Images

1. An interrupt redirection apparatus for inter-processor communication, comprising:

  • a plurality of ARM processors;

    an interrupt redirection unit for inter-processor communication between a transmission processor and a reception processor, comprising;

    an interrupt command register for designating targets and kinds of each interrupt to perform a function for receiving an inter-processor communication request command from a transmission processor and activating an interrupt request signal connected to a reception processor such that the transmission processor sends an inter-processor communication request interrupt to the reception processor, an interrupt data register for designating a start address of a fixed size of message, an interrupt signal generation unit for reading contents in the interrupt command register and activating an FIQ interrupt request signal connected to an ARM processor, and a bus interface unit used for providing read and write accesses of both the interrupt command register and the interrupt data register;

    wherein the inter-processor communication between an ARM processor designated as a transmission processor and an ARM processor designated as a reception processor using the interrupt redirection unit comprising;

    the message transmitting of the transmission processor comprising;

    the transmission processor preparing a transmission message of a fixed size in a region of a preset shared memory, the transmission processor preparing contents of the interrupt command register to be sent to the interrupt redirection unit in order to request an inter-processor communication, the transmission processor preparing a message start address for the interrupt data register, the transmission processor checking the pend field of the interrupt command register of the interrupt redirection unit, the transmission processor performing a write operation to the interrupt command register so as to request the inter-processor communication if the pend field is “

    0”

    checked as idle, the transmission processor performing a write operation to the interrupt data register so as to transfer the message start address, the transmission processor confirming whether or not the reception processor has received the message by periodically checking the pend field of the interrupt command register, and the transmission processor completing the message transmission if its is confirmed that the reception processor has received the message;

    the reception operation processing step comprising the steps of;

    the reception processor receiving an FIQ interrupt from the interrupt redirection unit, the reception processor jumping to an FIQ service routine, the reception processor reading the interrupt command register, the reception processor reading the interrupt data registers;

    the reception processor checking the class field in the interrupt command register to determine whether a corresponding interrupt is generated interrupt redirection or inter-processor communication, the reception processor branching to an inter-processor communication process routine if it is determined that the interrupt is generated by the inter-processor communication request according to the determined results, the reception processor receiving a message using the message start address transferred through the interrupt data register;

    the reception processor clearing the pend field of the interrupt command register to “

    0”

    so as to inform the transmission processor of the reception of the message, and the reception processor exiting the interrupt service routine.

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