This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to handle Interrupt with certain interrupt ID in Arm Trusted Firmware

Hi, I'm new to Arm Community. Regarding to trusted firmware document, it seems that I cannot register an interrupt handler with certain interrupt ID. They reserved the id parameter as INTR_ID_UNAVAILABLE. 

I wonder how to make a customized interrupt handler with certain interrupt ID in ArmTF. Say, I want to handle PMU interrupt with interrupt ID 34 in Juno board.

DOCUMENT: trustedfirmware-a.readthedocs.io/.../interrupt-framework-design.html

Parents
  • All right guys I've come up with some solutions. Thanks.

    With these two APIs invoked in EHF:

    intr_raw = plat_ic_acknowledge_interrupt();

    intr = plat_ic_get_interrupt_id(intr_raw);

    I can get the interrupt ID.

Reply
  • All right guys I've come up with some solutions. Thanks.

    With these two APIs invoked in EHF:

    intr_raw = plat_ic_acknowledge_interrupt();

    intr = plat_ic_get_interrupt_id(intr_raw);

    I can get the interrupt ID.

Children
No data