Method for executing embedded diagnostics from operating system-based applications
First Claim
1. In a computer comprising a hard disk and a memory device for storing BIOS code, a method for executing hardware diagnostics code embedded in said memory device, the method comprising,saving a state of said computer to said hard disk responsive to a request for execution of said embedded diagnostics code;
- automatically resetting said computer without additional user input;
responsive to said resetting, executing said embedded diagnostics code;
storing results of said executing to a nonvolatile storage device of said computer;
automatically resetting said computer a second time without additional user input after said storing; and
responsive to said second resetting, restoring said computer to said saved state.
7 Assignments
0 Petitions
Accused Products
Abstract
Method and apparatus for transparently executing embedded PC diagnostics from an OS-based application is disclosed. In a preferred embodiment, responsive to a user request to execute diagnostics code embedded in BIOS memory, an OS-based utility of the present invention calls an OS-independent BIOS routine for saving the state of the PC to a hard disk thereof, resetting the PC and initiating execution of the embedded diagnostics code. The embedded diagnostics code runs to completion from PC reset, saving failure and status information to a nonvolatile storage device, and resets the PC once more. The PC boots normally from reset and restores the state of the PC from the hard disk, thereby restoring the OS-based utility, which may then be used to access the saved failure and status information and display, print or otherwise act on the information.
92 Citations
30 Claims
-
1. In a computer comprising a hard disk and a memory device for storing BIOS code, a method for executing hardware diagnostics code embedded in said memory device, the method comprising,
saving a state of said computer to said hard disk responsive to a request for execution of said embedded diagnostics code; -
automatically resetting said computer without additional user input; responsive to said resetting, executing said embedded diagnostics code; storing results of said executing to a nonvolatile storage device of said computer; automatically resetting said computer a second time without additional user input after said storing; and responsive to said second resetting, restoring said computer to said saved state. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. In a computer comprising a hard disk and a memory device for storing BIOS code, a method for executing hardware diagnostics code embedded in said memory device:
-
requesting execution of said embedded diagnostics code from an operating system (OS)-based applications program; responsive to said requesting execution of said embedded diagnostics code, executing a BIOS function for saving a state of said computer to said hard disk;
resetting said computer;examining a TEST flag of said computer to determine whether said TEST flag is set or clear; responsive to said TEST flag being set; executing said embedded diagnostics code; saving results of said executing to a nonvolatile storage device of said computer; resetting said computer a second time after said saving; responsive to said TEST flag being clear; restoring said computer state from said hard disk. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. Apparatus for performing a series of hardware diagnostics tests in a computer comprising a processor, a hard disk, BIOS memory and a nonvolatile storage device electrically interconnected via at least one bus, the apparatus comprising:
-
BIOS code for execution by said processor and stored in said BIOS memory, said BIOS code comprising code for implementing an operating system (OS)-independent function for executing a suspend-to-disk (S2D) operation to save a state of said computer responsive to a request for performance of said hardware diagnostics tests, setting a TEST flag, and resetting said computer; diagnostics code for execution by said processor and stored in said BIOS memory, said diagnostics code comprising code for performing said hardware diagnostics tests, storing results of said hardware diagnostics tests in said nonvolatile storage device, clearing said TEST flag and resetting said computer a second time after said storing; said BIOS code further comprising code for execution by said processor examining said TEST flag responsive to said computer being reset, executing said diagnostics code if said examined TEST flag is set, and executing a resume-from-disk (RFD) operation to restore said saved computer state if said examined TEST flag is clear. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. In a computer comprising a hard disk and a memory device for storing BIOS code, an apparatus for executing hardware diagnostics code embedded in said memory device, the apparatus comprising:
-
means responsive to a request for execution of said embedded diagnostics code for saving a state of said computer to said hard disk and resetting said computer; means responsive to said resetting for initiating execution of said embedded diagnostics code; means for storing results of said executing to a nonvolatile storage device of said computer; means for resetting said computer a second time subsequent to said storing; and means responsive to said second resetting for restoring said computer to said saved state. - View Dependent Claims (25, 26, 27, 28, 29, 30)
-
Specification