Method and device for processing interrupt
A processing method and interrupt information technology, applied in the network field, can solve the problem that the kernel cannot directly call the interrupt handler
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] see figure 1 , is Embodiment 1 of an interrupt processing method provided by the present invention. Embodiment 1 is described from the perspective of a process, and may specifically include:
[0022] Step 101, receiving the interrupt information sent by the kernel;
[0023] Step 102: Call an interrupt handler corresponding to the interrupt identifier to process the interrupt according to the interrupt identifier included in the interrupt information, and the interrupt handler is stored in a preset space outside the kernel in a manner corresponding to the interrupt identifier.
[0024] In Embodiment 1, when there is only one process running in the system, when an interrupt occurs, the kernel sends the interrupt information to the only process, and the process calls a corresponding interrupt handler to handle the interrupt. However, the actual situation is that there are often multiple processes running in the system. When an interrupt occurs, the kernel needs to send in...
Embodiment 2
[0038] see figure 2 , loading the driver in the process may include the following steps:
[0039] Step 201, sending the driver ID that the process can handle and the process ID corresponding to the driver ID to the kernel;
[0040] Step 202, the kernel receives loading request information, and the loading request information includes the identification of the driver to be loaded;
[0041] Step 203, the kernel finds the corresponding process ID according to the driver ID, and sends the loading request information to the process corresponding to the process ID, and the process calls the preset driver corresponding to the driver ID to respond to the loading request, and the preset driver Programs are stored in preset space outside the kernel.
[0042] When step 202 is specifically implemented, when there is a need to load the driver program, after the kernel receives such a request, the loading request is regarded as an interrupt.
[0043] When implementing step 203, the proc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
