Unlock instant, AI-driven research and patent intelligence for your innovation.

Interrupt processing method and interrupt controller

A processing method and controller technology, which is applied in the field of communication, can solve the problem of interrupt source processor taking too much time, and achieve the effect of avoiding response time and shortening time

Active Publication Date: 2015-11-25
ZTE CORP
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main technical problem to be solved by the present invention is to provide an interrupt processing method and an interrupt controller to solve the problem that the removal of existing interrupt sources takes a lot of time for the processor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interrupt processing method and interrupt controller
  • Interrupt processing method and interrupt controller
  • Interrupt processing method and interrupt controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] See figure 2 As shown, the interrupt processing method provided in this embodiment includes the following steps:

[0037] Step 201: Before the processor writes the interrupt processing completion identification information of the current interrupt into the interrupt controller, store the interrupt source clear information in the interrupt controller;

[0038] The interrupt processing completed identification information in this embodiment means that after the interrupt processing is completed, the interrupt handler will write the value required by the interrupt controller to the specified register in the interrupt controller group, so that the interrupt control logic of the interrupt controller will Enable the sampling interface to continue sampling the currently responding interrupt line to respond to new interrupts; at the same time, the total interrupt of the processor will be turned on to respond to other interrupts;

[0039] Step 202: When the interrupt controlle...

Embodiment 2

[0049] This embodiment provides an interrupt controller, please refer to image 3 As shown, including the storage module and the interrupt clearing module, among them:

[0050] The interrupt clearing module is used to obtain the interrupt source clearing information of the interrupt and store it in the storage module before the processor writes the interrupt processing completion identification information of the current interrupt into the interrupt controller; When the request to write the interrupt processing completion identification information is sent, the interrupt source of the interrupt is cleared according to the interrupt source clear information stored in the storage module.

[0051] It can be seen that compared with the existing terminal controller, the interrupt controller provided by this embodiment adds a storage module dedicated to storing interrupt source clearing information and performs interrupt source clearing according to the interrupt source clearing inf...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An interrupt processing method and interrupt controller; before a processor writes interrupt processing done identification information of the current interrupt into an interrupt controller, storing interrupt source clear information of the interrupt into the interrupt controller; then when the interrupt controller receives a request for writing the interrupt processing done identification information sent by the processor, directly clearing the interrupt source of the interrupt according to the interrupt source clear information stored in the interrupt controller, thus eliminating the need for the processor to access a corresponding external interrupt clear register via multiple bus transforming bridges to obtain information required for clearing the interrupt source to perform clearance. Therefore, to a large extent the solution can decrease processor time required for clearing the interrupt source, thus avoiding delaying the response time of other interrupts.

Description

technical field [0001] The invention relates to the communication field, in particular to an interrupt processing method and an interrupt controller. Background technique [0002] In the field of interrupt controller design on mobile chips, the current common interrupt controller processing method is to passively accept interrupt signals. The current interrupt controller structure is as follows: figure 1 shown. At present, the design of mobile chips is based on the SOC architecture. Almost all peripherals are integrated on the chip. The interaction with the CPU is completed through different buses and bus bridges as slaves, and the interaction with the CPU is completed as a master through interrupt lines. All interrupts inside the peripheral are connected to the interrupt controller through a shared interrupt line. The sampling interface in the interrupt controller samples the connected interrupt line, and sends the sampling result to the interrupt control logic. When a c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/24
CPCG06F13/24G06F2213/2416
Inventor 徐志国
Owner ZTE CORP