METHOD FOR PROCESSING INTERRUPT AND INTERRUPT PROCESSING DEVICE

    公开(公告)号:US20240330038A1

    公开(公告)日:2024-10-03

    申请号:US18595994

    申请日:2024-03-05

    CPC classification number: G06F9/4818 G06F9/30101 G06F9/461

    Abstract: The present disclosure provides methods and apparatuses for interrupt processing. An interrupt processing method includes executing a first interrupt by using a common register, receiving a second interrupt and a second priority of the second interrupt during execution of the first interrupt, comparing a first priority of the first interrupt with the second priority of the second interrupt, generating a first register index corresponding to the second priority of the second interrupt by using a look-up table based on the second priority of the second interrupt being greater than the first priority, and, based on the first register index being a dedicated index, maintaining a context of the first interrupt stored in the common register, assigning a dedicated register for execution of the second interrupt, and executing an interrupt program corresponding to the second interrupt by using the assigned dedicated register. The interrupt program is saved in a memory.

Patent Agency Ranking