Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 relevant registers and restore the original working state, which is obviously time-consuming and laborious, which is not conducive to improving efficiency

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

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] The embodiment of the present 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 packaged program code written in assembly language in advance, and use the packaged program code to perform corresponding processing, specifically including: starting the shielding of the interrupt, switching the working mode of the ARM processor Go to th...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products