A method for interrupt location, processor and terminal equipment
A processor and interrupt information technology, applied in electrical digital data processing, instruments, and response error generation, etc., can solve the problems of difficulty in interrupt positioning, time-consuming, complicated operation, etc., and achieve the effect of fast and effective positioning
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It shows the implementation process of a method for interrupt location provided by an embodiment of the present invention. The subject of execution of the process in this embodiment may be a processor, and the process is described in detail as follows:
[0032] Step S101 , calling a periodic sampling output function each time the IRQ interrupt service routine is executed, wherein the periodic sampling output function is used to periodically sample and output IRQ interrupt information.
[0033] Step S102, by calling the periodic sampling output function, to obtain the IRQ interrupt information of the processor.
[0034] In step S103, an abnormal interrupt event is determined according to the IRQ interrupt information.
[0035] In the processor, each time the IRQ interrupt service program is executed, the IRQ interrupt information will be generated. However, in the present embodiment, the IRQ interrupt information is not collected every time the interrupt is int...
Embodiment 2
[0108] Such as image 3 As shown, an embodiment of the present invention provides a processor 100 for executing figure 1 The method step in the corresponding embodiment, it comprises:
[0109] The function calling module 110 is used to call the periodic sampling output function each time the IRQ interrupt service program is executed, wherein the periodic sampling output function is used to periodically sample and output IRQ interrupt information.
[0110] The function execution module 120 is configured to obtain the IRQ interrupt information of the processor by calling the periodic sampling output function.
[0111] The interrupt location module 130 is configured to determine an abnormal interrupt event according to the IRQ interrupt information.
[0112] In one embodiment of the present invention, the processor 100 also includes:
[0113] The interface calling module is used for inserting the calling interface of the periodic sampling output function at the entrance of the...
Embodiment 3
[0127] Figure 5 It is a schematic diagram of a terminal device provided by an embodiment of the present invention. Such as Figure 5 As shown, the terminal device in this embodiment includes: a processor 100 , a memory 200 , and a computer program 300 stored in the memory 200 and operable on the processor 100 . When the processor 100 executes the computer program 300, it realizes the steps in each embodiment as described in Embodiment 1, for example figure 1 Steps S101 to S103 are shown. Alternatively, when the processor 100 executes the computer program 300, it realizes the functions of each module / unit in each system embodiment as described in Embodiment 2, for example image 3 The functions of modules 110 to 130 are shown.
[0128] The terminal equipment refers to terminals with data processing capabilities, including but not limited to computers, workstations, servers, and even smart phones with excellent performance, palmtop computers, tablet computers, personal digi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com