METHOD, COMPUTER PROGRAM, AND COMPUTER FOR RESTORING SET OF VARIABLES
First Claim
1. A method comprising:
- writing a set of variables into a reference area of system firmware firstly executed by a computer after power-up;
saving, into a prescribed area, the set of variables at the time when the computer was booted normally;
detecting, by the computer, during a boot of the computer, whether the set of variables in the reference area has been altered; and
replacing, by the computer, the set of variables in the reference area with the saved set of variables, in response to detecting that the set of variables was altered.
2 Assignments
0 Petitions
Accused Products
Abstract
A set of variables referred to by unified extensible firmware interface (UEFI) firmware is restored. The UEFI firmware stored in a read-only memory (ROM) is firstly executed after power-up. The UEFI firmware writes a variable set related to boot, into a variable area. As an operating system (OS) also writes a set of variables into the variable area, the boot-related variable set may be altered. The variable set is saved into a prescribed area, such as a universal serial bus (USB) memory key, when the computer boots normally. If alteration of the variable set in the reference area is detected during a boot of the computer, the variable set in the reference area is replaced with the saved variable set. The variable set alteration may be detected using a detection flag which is set immediately after a boot is started and reset immediately before an OS is loaded.
24 Citations
20 Claims
-
1. A method comprising:
-
writing a set of variables into a reference area of system firmware firstly executed by a computer after power-up; saving, into a prescribed area, the set of variables at the time when the computer was booted normally; detecting, by the computer, during a boot of the computer, whether the set of variables in the reference area has been altered; and replacing, by the computer, the set of variables in the reference area with the saved set of variables, in response to detecting that the set of variables was altered. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer program product comprising a computer readable storage medium that stores code executable by a processor, the executable code comprising code to perform:
-
saving the set of variables into a prescribed area; starting a boot of a computer; detecting that the boot did not reach a stage of loading an operating system; and replacing the set of variables in the firmware read-only memory with the saved set of variables in response to the detection. - View Dependent Claims (16, 17, 18)
-
-
19. A computer having installed therein system firmware firstly executed after power-up, the computer comprising:
-
a processor; a system memory; and a non-volatile memory storing the system firmware and a set of variables referred to by the system firmware, wherein the system firmware is configured to; save the set of variables into a prescribed area; detect whether a boot reached a stage of loading an operating system; and replace the set of variables in the non-volatile memory with the saved set of variables in response to the detection, in response to the boot not reaching the stage of loading the operating system. - View Dependent Claims (20)
-
Specification