ARM interrupt processing method and system

An ARM processor and processing method technology, applied in the field of ARM interrupt processing methods and systems, can solve problems such as unfavorable efficiency, time-consuming and laborious, and achieve the effect of reducing labor costs and time costs

Inactive Publication Date: 2017-04-19
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, every time interrupt nesting is performed, technicians are required to manually rewrite the corresponding code to save the contents of the rel

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
  • ARM interrupt processing method and system
  • ARM interrupt processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0030] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0031] The embodiment of the invention discloses an ARM interrupt processing method, see figure 1 As shown, the method includes:

[0032] Step S11: If the first interrupt event is triggered, call the package program code written based on assembly language in advance, and use the package program code to perform corresponding processing, including: starting the shielding of the interrupt and switching the working mode of the ARM processor To...

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

The invention discloses an ARM interrupt processing method. The ARM interrupt processing method comprises the steps of calling a package program code written based on a compilation language in advance if a first interrupt event is triggered, and performing corresponding processing by the package program code; calling an interrupt processing function written based on a C language in advance when an ARM processor is in a system mode state, executing an interrupt service program corresponding to the first interrupt event by employing the interrupt processing function, and closing shielding on interrupt during execution process of the interrupt service program; calling the package program code again to achieve interrupt nesting if a second interrupt event is triggered during the execution process of the interrupt service program corresponding to the first interrupt event. By the ARM interrupt processing method, labor cost and time cost which are required during the process of achieving ARM interrupt nesting can be substantially reduced. Moreover, the invention also discloses an ARM interrupt processing system.

Description

technical field [0001] The invention relates to the technical field of interrupts, in particular to an ARM interrupt processing method and system. Background technique [0002] Currently, ARM processor cores are used more and more widely. In the mobile device market, ARM processors have a market share of more than 90%. In the server market, ARM processors are expected to become mainstream. [0003] When an ARM processor processes an interrupt event, it often needs to perform nested processing on multiple interrupt events. However, every time interrupt nesting is performed, technicians are required to manually rewrite the corresponding code to save the contents of the relevant registers and restore the original working state, which is obviously time-consuming and laborious, and is not conducive to improving efficiency. [0004] From the above, it can be seen that how to reduce the labor cost and time cost required in the process of realizing ARM interrupt nesting is a probl...

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
IPC IPC(8): G06F9/48
CPCG06F9/4812
Inventor 郑擘
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products