Method and device for executing non-maskable interrupt

An execution module and preconfigured technology, applied in the server field, can solve problems such as not providing NMI mechanism support

Active Publication Date: 2016-01-27
HUAWEI TECH CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the Advanced RISC Machine (ARM) architecture, there is no corresponding hardware that enables NMI to be implemented in non-secure mode.
And the existing arm-v8 specification and software solutions do not provide support for the NMI mechanism

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
  • Method and device for executing non-maskable interrupt
  • Method and device for executing non-maskable interrupt
  • Method and device for executing non-maskable interrupt

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0036] Several basic concepts involved in the embodiments of the present invention are briefly introduced below.

[0037] NMI: Nonmaskable Interrupt (NonMaskableInterrupt), that is, an interrupt that cannot be masked by the Central Processing Unit (CPU), regardless of the status of the Interrupt Flag (InterruptFlag, IF) bit in the status register, the CPU must respond when it receives a valid NMI. NMI is usually used for fault handling, such as coproce...

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 a method and device for executing non-maskable interrupt. The method comprises the following steps: obtaining a safe interrupt request under an unsafe mode and interrupting the operation of an operating system OS, wherein the safe interrupt request is non-maskable; entering a safe mode through the safe interrupt request, and storing the interrupt context of the OS state when the operation of the OS is interrupted under the safe mode; returning to the unsafe mode to execute user defined processing; after the user defined processing is finished, entering the safe mode again and restoring the OS state according to the interrupt context under the safe mode; and returning to the unsafe mode again and continuing to execute the operation of the OS. According to the method and device for executing non-maskable interrupt, the NMI can be simply realized without hardware.

Description

technical field [0001] Embodiments of the present invention relate to the field of servers, and more specifically, to a method and device for performing non-maskable interrupts. Background technique [0002] Servers generally have extremely high requirements for system stability. When the system is running normally, the state of the system can be saved regularly. At the same time, it is also necessary to save some key data when the system is abnormal, so as to provide data support for locating the cause of system errors. Because when the system is running normally, there are many ways and means to save system data, but when the system is abnormal—the most serious is when it crashes, all conventional methods and means are no longer feasible, and all interruptions cannot respond. At this time, a non-maskable interrupt (NonMaskable Interrupt, NMI) mechanism is needed to save data. [0003] NMI is an interrupt that cannot be masked by the central processing unit (Central Proce...

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): G06F9/48
CPCG06F9/4812G06F13/24G06F1/24G06F9/48G06F11/0757G06F11/0793
Inventor 马军丁天虹童肇哲
Owner HUAWEI 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