The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Apr. 06, 2021

Filed:

Oct. 03, 2019
Applicant:

Huawei Technologies Co., Ltd., Guangdong, CN;

Inventors:

Jun Ma, Shenzhen, CN;

Tianhong Ding, Hangzhou, CN;

Zhaozhe Tong, Hangzhou, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/48 (2006.01); G06F 13/24 (2006.01); G06F 1/24 (2006.01); G06F 11/07 (2006.01);
U.S. Cl.
CPC ...
G06F 9/48 (2013.01); G06F 1/24 (2013.01); G06F 9/4812 (2013.01); G06F 11/0757 (2013.01); G06F 11/0793 (2013.01); G06F 13/24 (2013.01);
Abstract

The present invention discloses a method and an apparatus for executing a non-maskable interrupt. The method includes: obtaining a secure interrupt request in a non-secure mode, and interrupting an operation of an operating system OS, where the secure interrupt request cannot be masked; entering a secure mode by using the secure interrupt request, and saving, in the secure mode, an interrupt context of an OS status when the operation of the OS is interrupted; returning to the non-secure mode to execute user-defined processing; after the user-defined processing is completed, entering the secure mode again, and resuming the OS status in the secure mode according to the interrupt context; and returning to the non-secure mode again, and continuing to execute an operation of the OS. The method and the apparatus for executing a non-maskable interrupt in embodiments of the present invention can easily implement an NMI mechanism without depending on hardware.


Find Patent Forward Citations

Loading…