Method and electronic device for continuing executing procedure being aborted from physical address where error occurs
AssigneeAcer Incorporated
InventorKuan-Ju Chen
Life of this patent
Estimating the term…
Abstract
A fault tolerant operating method and an electronic device using the same are provided. The method includes: performing a first procedure by a first executive file installed in the electronic device; when an error occurs to cause the first procedure to abort, sending an aborted notification to a fault tolerant module by an operating system (OS) and obtaining an aborted address information of the first procedure by the fault tolerant module; and sending the aborted address information to the OS by the fault tolerant module, such that the OS calls the first executive file to continue executing the first procedure based on the aborted address information.
Claims12
A fault tolerant operating method, adapted to an electronic device having an operating system, the fault tolerant operating method comprising:
- performing a first procedure by a first executive file installed in the electronic device, wherein the first executive file comprises a recovery executive file, and the first procedure comprises a recovery procedure;
- sending an abort notification and process information of the recovery procedure to a fault tolerant module by the operating system when an error occurs to cause the recovery procedure to abort,
- obtaining a virtual memory address and a paging content from the process information by the fault tolerant module;
- analyzing the virtual memory address to obtain execution information of the recovery procedure under a user mode;
- analyzing the paging content to obtain physical address information of the recovery procedure under a core mode;
- and
- sending abort address information to the operating system by the fault tolerant module, such that the operating system calls the recovery executive file to continue executing the recovery procedure based on the abort address information, wherein the abort address information comprises the execution information and the physical address information.
An electronic device, comprising:
- a storage device, comprising:
- an operating system;
- a fault tolerant module;
- and
- a first executive file, configured to execute a first procedure, wherein the first executive file comprises a recovery executive file, and the first procedure comprises a recovery procedure;
- and
- a processor, coupled to the storage device, and configured to execute the operating system, the fault tolerant module and the first executive file,
- wherein the processor sends an abort notification and process information of the recovery procedure to the fault tolerant module through the operating system when an error occurs to cause the recovery procedure to abort,
- the processor obtains a virtual memory address and a paging content from the process information through the fault tolerant module,
- the processor analyzes the virtual memory address to obtain execution information of the recovery procedure under a user mode,
- the processor analyzes the paging content to obtain physical address information of the recovery procedure under a core mode, and
- the processor sends abort address information to the operating system through the fault tolerant module, such that the operating system calls the recovery executive file to continue executing the recovery procedure based on the abort address information, wherein the abort address information comprises the execution information and the physical address information.
Dependencies are inferred from the claim text.