CN117785300A - Method and device for setting Setup option of BIOS under operating system - Google Patents

Method and device for setting Setup option of BIOS under operating system Download PDF

Info

Publication number
CN117785300A
CN117785300A CN202311758169.9A CN202311758169A CN117785300A CN 117785300 A CN117785300 A CN 117785300A CN 202311758169 A CN202311758169 A CN 202311758169A CN 117785300 A CN117785300 A CN 117785300A
Authority
CN
China
Prior art keywords
bios
option
setup
modifiable
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311758169.9A
Other languages
Chinese (zh)
Inventor
陈小春
张超
朱立森
孙亮
高岭
唐爱六
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunlun Taike Beijing Technology Co ltd
Original Assignee
Kunlun Taike Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunlun Taike Beijing Technology Co ltd filed Critical Kunlun Taike Beijing Technology Co ltd
Priority to CN202311758169.9A priority Critical patent/CN117785300A/en
Publication of CN117785300A publication Critical patent/CN117785300A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a device for setting a Setup option of a BIOS under an operating system, wherein the method comprises the following steps: the BIOS gathers all the modifiable Setup options and option information corresponding to each Setup option; the BIOS forms all modifiable Setup options into a modifiable item list, and copies the modifiable item list into a custom ACPI table constructed in the BIOS; the BIOS reports the custom ACPI table to an operating system; and the application program acquires the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and uses a run Service provided by a UEFI BIOS mode to transfer information corresponding to the modifiable item list into a memory, so as to set a Setup option of the BIOS. The method builds a custom ACPI table, records the related information of Setup options convenient for setting BIOS, and is convenient for updating and modifying; and various SPI ROM direct operation of application programs is avoided, and the program complexity is greatly simplified.

Description

Method and device for setting Setup option of BIOS under operating system
Technical Field
The present invention relates to the field of computer firmware technologies, and in particular, to a method and an apparatus for setting a Setup option of a BIOS under an operating system.
Background
Existing methods of modifying BIOS options are implemented by an application directly operating a fixed offset address on the SPI ROM area of the electronic device.
The BIOS engineer informs the application engineer of details such as the offset value and length of the configurable option in the SPI ROM through documents such as technical specifications. An application program under the operating system directly operates the SPI ROM to update the value on the agreed offset address, so that the aim of modifying the corresponding BIOS configuration options is fulfilled.
However, the prior art describes modifiable option details through technical specifications, if modifiable option parameters in the project change, the specifications need to be updated frequently, and an application program cannot automatically acquire the BIOS modifiable option on the current machine, so that the operation is complex. Furthermore, the modification of the BIOS option is achieved in the prior art by directly operating the SPI ROM. Because SPI ROM is various, the application program needs to support the SPI ROM of various models of reading and writing, has increased the development degree of difficulty. And because of the security mechanism of some computer platforms, an application program under an operating system cannot directly write to the SPI ROM, so that the modification of the BIOS option cannot be realized.
Disclosure of Invention
In view of this, the present invention provides a method and apparatus for setting a Setup option of a BIOS under an operating system, which can solve the technical problem of complicated modification of the BIOS option in the prior art.
The present invention is so implemented as to solve the above-mentioned technical problems.
A method of setting a Setup option of a BIOS under an operating system, the method comprising:
step S1: the BIOS gathers all the modifiable Setup options and option information corresponding to each Setup option, wherein the option information comprises variable names of variables corresponding to the Setup options in EFI, global Unique Identifiers (GUIDs) of the variables, offset values and lengths;
step S2: the BIOS forms a modifiable item list from all modifiable Setup options and option information corresponding to each Setup option, and copies the modifiable item list into a custom ACPI table constructed in the BIOS;
step S3: the BIOS reports the custom ACPI table to an operating system; the method comprises the steps that an operating system loader acquires pointers pointing to an ACPI root system description table RSDT and an extended system description table XSDT from an EFI system table before handing over control rights to the operating system, and the RSDP or the XSDT sets a physical pointer to the custom ACPI table after the table head, so that the custom ACPI table is reported to the operating system;
step S4: and the application program acquires the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and uses a run Service provided by a UEFI BIOS mode to transfer information corresponding to the modifiable item list into a memory, so as to set a Setup option of the BIOS.
Preferably, the creating time of the custom ACPI table is that when the BIOS is in the starting process, all modifiable options and option information corresponding to the options are obtained and summarized so as to generate the custom ACPI table; the custom ACPI table is a leaf node of the ACPI table under the operating system.
Preferably, the step S4: the application program obtains the custom ACPI table through an interface provided by an operating system to obtain the modifiable item list, comprising:
step S41: the application program obtains the identification corresponding to the custom ACPI table through an interface provided by an operating system, so that the custom ACPI table is confirmed to be searched;
step S42: acquiring the modifiable item list from the custom ACPI table based on an identification;
step S43: and displaying a modification option interface on the user interface, wherein the modification option interface is used for receiving user input information for modifying a Setup option of the BIOS.
Preferably, the step S4: the method for setting the Setup option of the BIOS comprises the following steps of:
step S44: obtaining an EFI variable original value from a BIOS variable area by using a GetVariable Service in a run time Service provided by a UEFI BIOS, wherein the EFI variable original value is a set of option values of a series of modifiable Setup options and is used for indicating the current value of the modifiable Setup options of the BIOS; the modifiable Setup option accounting for one or more bytes in the EFI variable; the EFI variable is obtained through a GetVariable service, and parameters of the EFI variable are obtained as variable names and global unique identifiers GUIDs of the variables; storing the EFI variable original value into a memory, and displaying the EFI variable original value to a modification option interface for display; the EFI variable corresponding to the EFI variable original value can be modified;
step S45: the user determines a target option value of a modifiable Setup option of the BIOS based on the modification option interface and the variable primitive value, wherein the target option value is an option value of the Setup option of the BIOS set by the user, and the target option value is determined based on an option value selectable by the Setup option;
step S46: using a GetVariable function in a run Service provided by a UEFI BIOS mode to read an EFI variable corresponding to the target option value into a memory, and updating the variable value of the corresponding EFI variable into the target option value in the memory; writing the updated EFI variable and EFI variable value back to the variable area of the BIOS through a GetVariable function, and restarting the electronic equipment; at this time, the Setup option value of the BIOS set by the user takes effect.
Preferably, the custom ACPI table is stored by the BIOS within an address range of an addressrange ACPI type defined by the ACPI specification.
The invention provides a device for setting a Setup option of a BIOS under an operating system, which comprises:
an initialization module: the method comprises the steps that the BIOS is configured to summarize all the Setup options capable of being modified and option information corresponding to each Setup option, wherein the option information comprises variable names of variables corresponding to the Setup options in EFI, globally Unique Identifiers (GUIDs) of the variables, offset values and lengths;
and a self-defining module: the method comprises the steps that the BIOS is configured to form a modifiable item list from all modifiable Setup options and option information corresponding to each Setup option, and copy the modifiable item list into a custom ACPI table constructed in the BIOS;
reporting an operating system module: the BIOS is configured to report the custom ACPI table to an operating system; the method comprises the steps that an operating system loader acquires pointers pointing to an ACPI root system description table RSDT and an extended system description table XSDT from an EFI system table before handing over control rights to the operating system, and the RSDP or the XSDT sets a physical pointer to the custom ACPI table after the table head, so that the custom ACPI table is reported to the operating system;
and (3) a setting module: the application program is configured to acquire the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and the run Service provided by the UEFI BIOS mode is used for transmitting information corresponding to the modifiable item list to the memory, so that a Setup option of the BIOS is set.
The invention provides a computer readable storage medium, wherein a plurality of instructions are stored in the storage medium; the plurality of instructions are for loading and executing by a processor the method as described above.
The invention provides an electronic device, which is characterized by comprising:
a processor for executing a plurality of instructions;
a memory for storing a plurality of instructions;
wherein the plurality of instructions are for storage by the memory and loading and executing by the processor the method as described above.
The invention has the beneficial technical effects that:
(1) The invention builds the self-defined ACPI table, records the related information of Setup options which are convenient for setting BIOS, and is convenient for updating and modifying.
(2) The invention reports the details of all modifiable BIOS configuration options to the operating system by the custom ACPI table, and the application program can conveniently and automatically acquire the information.
(3) The application program updates the EFI Variable where the BIOS configuration options are located through EFI Runtime Service, so that the application program is prevented from directly operating SPI ROM with various types, and the program complexity is greatly simplified. And EFI Runtime Service is a runtime service provided by the BIOS, which is a basic service provided by the UEFI BIOS to the operating system. That is, the SetVariable service in EFI Runtime Service is not affected by security mechanisms such as SPI Lock.
Drawings
FIG. 1 is a flowchart illustrating a method for setting a Setup option of a BIOS in an operating system according to the present invention;
FIG. 2 is a flow chart of generating a custom ACPI table according to the present invention;
FIG. 3 is a schematic diagram of setting a Setup option of BIOS under the operating system of the present invention;
FIG. 4 is a flowchart of the application program of the present invention obtaining a custom ACPI table and updating the Setup option of BIOS under the operating system;
FIG. 5 is a schematic diagram of a Setup option for setting BIOS under an operating system according to the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and examples.
As shown in fig. 1-4, the present invention proposes a method for setting Setup option of BIOS under an operating system, the method comprising:
step S1: the BIOS gathers all the modifiable Setup options and option information corresponding to each Setup option, wherein the option information comprises variable names of variables corresponding to the Setup options in EFI, global Unique Identifiers (GUIDs) of the variables, offset values and lengths;
step S2: the BIOS forms a modifiable item list from all modifiable Setup options and option information corresponding to each Setup option, and copies the modifiable item list into a custom ACPI table constructed in the BIOS;
step S3: the BIOS reports the custom ACPI table to an operating system; the method comprises the steps that an operating system loader acquires pointers pointing to an ACPI root system description table RSDT and an extended system description table XSDT from an EFI system table before handing over control rights to the operating system, and the RSDP or the XSDT sets a physical pointer to the custom ACPI table after the table head, so that the custom ACPI table is reported to the operating system;
step S4: and the application program acquires the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and uses a run Service provided by a UEFI BIOS mode to transfer information corresponding to the modifiable item list into a memory, so as to set a Setup option of the BIOS.
In this embodiment, pointers to the ACPI root system description table RSDT and the extended system description table XSDT are RSDP structures.
Further, when the creation opportunity of the custom ACPI table is BIOS in the starting process, all modifiable options and option information corresponding to the options are obtained and summarized so as to generate the custom ACPI table; the custom ACPI table is a leaf node of the ACPI table under the operating system.
ACPI (Advanced Configuration and Power Interface) is created by BIOS/UEFI collecting system information on various aspects during system startup, and is stored in system physical memory in a substantially tree-like organization. That is, the ACPI table that the BIOS delivers to the operating system is a tree structure with an RSDP structure pointer as an entry point, and the custom ACPI table is a leaf node in the ACPI table of the operating system.
The whole ACPI table takes RSDP (Root System Descriptor Pointer Table) as an entry point, each non-leaf node contains pointers to other sub-tables, each table has a header, the header contains a corresponding signature for identifying the table, the signature corresponds to the identification ID of the table, and in addition, the header contains information such as checksum, version number, OEM ID and the like. The key to looking up the ACPI table is to locate in memory a pointer to the RSDP structure that points to the ACPI Root System Description Table (RSDT) and the extended system description table (XSDT), while one of the physical pointers following the head of the RSDP or XSDT (greater than 32 bits) table points to the custom ACPI table.
The custom ACPI table is stored by BIOS in the address range of the ADDRESPRangeACPI type defined by the ACPI specification. The operating system loader starts a service function through UEFI, acquires memory resources in an address range of an Address range ACPI type through a function GetMemoryMap (), and transmits the memory resources to an operating system; the memory resources are not destroyed until the operating system reads the ACPI. Modifiable item list information can be communicated from the BIOS to the OS.
Further, the step S4: the application program obtains the custom ACPI table through an interface provided by an operating system to obtain the modifiable item list, comprising:
step S41: the application program obtains the identification corresponding to the custom ACPI table through an interface provided by an operating system, so that the custom ACPI table is confirmed to be searched;
step S42: acquiring the modifiable item list from the custom ACPI table based on an identification;
step S43: and displaying a modification option interface on the user interface, wherein the modification option interface is used for receiving user input information for modifying a Setup option of the BIOS.
Further, the step S4 is to use a run Service provided by the UEFI BIOS mode to transfer information corresponding to the modifiable item list to the memory, so as to set a Setup option of the BIOS, and includes:
step S44: obtaining an EFI variable original value from a BIOS variable area by using a GetVariable Service in a run time Service provided by a UEFI BIOS, wherein the EFI variable original value is a set of option values of a series of modifiable Setup options and is used for indicating the current value of the modifiable Setup options of the BIOS; the modifiable Setup option accounting for one or more bytes in the EFI variable; the EFI variable is obtained through a GetVariable service, and parameters of the EFI variable are obtained as variable names and global unique identifiers GUIDs of the variables; storing the EFI variable original value into a memory, and displaying the EFI variable original value to a modification option interface for display; the EFI variable corresponding to the EFI variable original value can be modified;
step S45: the user determines a target option value of a modifiable Setup option of the BIOS based on the modification option interface and the variable primitive value, wherein the target option value is an option value of the Setup option of the BIOS set by the user, and the target option value is determined based on an option value selectable by the Setup option;
step S46: using a GetVariable function in a run Service provided by a UEFI BIOS mode to read an EFI variable corresponding to the target option value into a memory, and updating the variable value of the corresponding EFI variable into the target option value in the memory; writing the updated EFI variable and EFI variable value back to the variable area of the BIOS through a GetVariable function, and restarting the electronic equipment; at this time, the Setup option value of the BIOS set by the user takes effect.
That is, the application modifies the EFI variable stored in memory based on the offset value in the description of the modifiable item. And finally, writing the EFI variable temporarily stored in the memory back to the BIOS variable area by using a SetVariable Service in the run Service, thereby setting a Setup option of the BIOS.
In the present invention, the EFI variable is a structure having a fixed header format and an unfixed content length. As shown in the lower left-hand dashed box of FIG. 3, the selectable item "NumLock" in the illustration is stored in an EFI variable named L "SystemSetupConfig", which is one of the EFI variables in the EFI variable region.
The list of modifiable options is obtained through an ACPI custom table. Including information of options available for setting. Taking the "NumLock" option as an example, the information of the option information provides the information that the EFI variable name of the option is L "SystemSetupConfig", the GUID is 3336B68B-9F08-47DA-BC4F-C995C0A47C4C, the offset value is 103 and the like. The variable name and the variable GUID user obtain the content of the L 'SystemSetupConfig' EFI variable in which the option is located from the EFI variable area into the memory, and the offset value is used for indicating that the option to be modified is located in the position of the EFI variable. For example, to modify the "NumLock" option from "On" to "Off", what is to be done is to copy the 103 th byte in memory of the EFI variable from 1 to 0. And then writing the modified EFI variable memory copy back to the EFI variable area through a SetVariable function provided by the run Service. This completes the modification of the setting value.
In the present invention, for UEFI-based SYSTEMs, the RSDP structure is located in efi_system_table, so the Linux kernel can look up the RSDP structure directly into the TABLE and then locate all ACPI TABLEs.
Under windows, EFI_SYSTEM_TABLE can be obtained using the following function
UINT GetSystemFirmwareTable(
[in]DWORD FirmwareTableProviderSignature,
[in]DWORD FirmwareTableID,
[out]PVOID pFirmwareTableBuffer,
[in]DWORD BufferSize
)
In the invention, the runtime service entering the DXE stage is initialized until the operating system is finished, and the runtime service always exists and provides services to the upper layer. The runtime services mainly include: time services, read-write system variables, virtual memory services, other services.
EFI Runtime Services Table contains a header and pointers to all run services. Unlike EFI Boot Services Table, the function pointer of this table remains valid after the operating system loader and OS call EFI_BOOT_SERVICES. If the operating system calls SetVirtualAddressMap (), the function pointer in this table will be fixed to point to the new virtual map entry point.
The UEFI system variable services include: getVariable, setVariable, getNextVariableName.
GetVariable is used to obtain variable values and attributes from variable names.
SetVariable has three functions: new, update, delete variables.
The invention provides a specific embodiment of a method for setting a Setup option of a BIOS under an operating system.
Step A1: the BIOS collects all modifiable options, including EFI Variable names, variable GUIDs, offset values, lengths, menu display names, selectable values corresponding to character strings and other information of each option.
Step A2: the BIOS copies the modifiable item list to Acpi Reserved Memory.
Step A3: the BIOS creates a custom ACPI table pointing to ACPI Reserved Memory as described above.
Step A4: the BIOS reports the ACPI tables to the OS.
Step B1: the application finds the custom ACPI table specifying Signature (e.g., "BSCT") through the OS-provided interface.
Step B2: according to the Setup Table Region pointer stored in the "BSCT" table.
Step B3: the BIOS Setup modifiable item list stored in ACPI Reserved Memory by the BIOS is found based on the pointer.
Step B4: the application uses GetVariable in the run time Service provided by the UEFI BIOS to read the data of the UEFI Variable where the modifiable item is located into the memory, for example, the Variable whose Variable Name is L "systemsetutpconfig".
Step B5: the application program may modify the data in the item list according to the BIOS Setup, creating user interface options.
Step B6: the user modifies the option value and the application modifies the variables stored in the memory in step B4.
Step B7: the application updates the variable through EFI Runtime Service, modifying the BIOS Setup option.
Step B8: restarting the system validates the modification to the BIOS Setup.
As shown in fig. 5, the present invention provides an apparatus for setting a Setup option of a BIOS under an operating system, the apparatus comprising:
an initialization module: the method comprises the steps that the BIOS is configured to summarize all the Setup options capable of being modified and option information corresponding to each Setup option, wherein the option information comprises variable names of variables corresponding to the Setup options in EFI, globally Unique Identifiers (GUIDs) of the variables, offset values and lengths;
and a self-defining module: the method comprises the steps that the BIOS is configured to form a modifiable item list from all modifiable Setup options and option information corresponding to each Setup option, and copy the modifiable item list into a custom ACPI table constructed in the BIOS;
reporting an operating system module: the BIOS is configured to report the custom ACPI table to an operating system; the method comprises the steps that an operating system loader acquires pointers pointing to an ACPI root system description table RSDT and an extended system description table XSDT from an EFI system table before handing over control rights to the operating system, and the RSDP or the XSDT sets a physical pointer to the custom ACPI table after the table head, so that the custom ACPI table is reported to the operating system;
and (3) a setting module: the application program is configured to acquire the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and the run Service provided by the UEFI BIOS mode is used for transmitting information corresponding to the modifiable item list to the memory, so that a Setup option of the BIOS is set.
The invention provides a computer readable storage medium, wherein a plurality of instructions are stored in the storage medium; the plurality of instructions are for loading and executing by a processor the method as described above.
The invention provides an electronic device, which is characterized by comprising:
a processor for executing a plurality of instructions;
a memory for storing a plurality of instructions;
wherein the plurality of instructions are for storage by the memory and loading and executing by the processor the method as described above.
The above specific embodiments merely describe the design principle of the present invention, and the shapes of the components in the description may be different, and the names are not limited. Therefore, the technical scheme described in the foregoing embodiments can be modified or replaced equivalently by those skilled in the art; such modifications and substitutions do not depart from the spirit and technical scope of the invention, and all of them should be considered to fall within the scope of the invention.

Claims (8)

1. A method for setting a Setup option of a BIOS under an operating system, comprising:
step S1: the BIOS gathers all the modifiable Setup options and option information corresponding to each Setup option, wherein the option information comprises variable names of variables corresponding to the Setup options in EFI, global Unique Identifiers (GUIDs) of the variables, offset values and lengths;
step S2: the BIOS forms a modifiable item list from all modifiable Setup options and option information corresponding to each Setup option, and copies the modifiable item list into a custom ACPI table constructed in the BIOS;
step S3: the BIOS reports the custom ACPI table to an operating system; the method comprises the steps that an operating system loader acquires pointers pointing to an ACPI root system description table RSDT and an extended system description table XSDT from an EFI system table before handing over control rights to the operating system, and the RSDP or the XSDT sets a physical pointer to the custom ACPI table after the table head, so that the custom ACPI table is reported to the operating system;
step S4: and the application program acquires the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and uses a run Service provided by a UEFIBIOS mode to transfer information corresponding to the modifiable item list into a memory, so as to set a Setup option of the BIOS.
2. The method of claim 1, wherein the creation opportunity of the custom ACPI table is that the BIOS obtains and gathers all modifiable options and option information corresponding to the options during the startup process to generate the custom ACPI table; the custom ACPI table is a leaf node of the ACPI table under the operating system.
3. The method according to claim 1, wherein the step S4 of the application program obtaining the custom ACPI table through an interface provided by an operating system to obtain the modifiable item list includes:
step S41: the application program obtains the identification corresponding to the custom ACPI table through an interface provided by an operating system, so that the custom ACPI table is confirmed to be searched;
step S42: acquiring the modifiable item list from the custom ACPI table based on an identification;
step S43: and displaying a modification option interface on the user interface, wherein the modification option interface is used for receiving user input information for modifying a Setup option of the BIOS.
4. The method of claim 3, wherein the step S4 of transferring the information corresponding to the modifiable item list to the memory using a run Service provided by a UEFIBIOS mode, thereby setting a Setup option of the BIOS, comprises:
step S44: obtaining an EFI variable original value from a BIOS variable area by using a GetVariable Service in a run time Service provided by a UEFI BIOS, wherein the EFI variable original value is a set of option values of a series of modifiable Setup options and is used for indicating the current value of the modifiable Setup options of the BIOS; the modifiable Setup option accounting for one or more bytes in the EFI variable; the EFI variable is obtained through a GetVariable service, and parameters of the EFI variable are obtained as variable names and global unique identifiers GUIDs of the variables; storing the EFI variable original value into a memory, and displaying the EFI variable original value to a modification option interface for display; the EFI variable corresponding to the EFI variable original value can be modified;
step S45: the user determines a target option value of a modifiable Setup option of the BIOS based on the modification option interface and the variable primitive value, wherein the target option value is an option value of the Setup option of the BIOS set by the user, and the target option value is determined based on an option value selectable by the Setup option;
step S46: using a GetVariable function in a run Service provided by a ue fibios mode to read an EFI variable corresponding to the target option value into a memory, and updating the variable value of the corresponding EFI variable into the target option value in the memory; writing the updated EFI variable and EFI variable value back to the variable area of the BIOS through a GetVariable function, and restarting the electronic equipment; at this time, the Setup option value of the BIOS set by the user takes effect.
5. The method of any of claims 1-4, wherein the custom ACPI table is stored by the BIOS within an address range of an addressrange ACPI type defined by the ACPI specification.
6. An apparatus for setting a Setup option of a BIOS under an operating system, comprising:
an initialization module: the method comprises the steps that the BIOS is configured to summarize all the Setup options capable of being modified and option information corresponding to each Setup option, wherein the option information comprises variable names of variables corresponding to the Setup options in EFI, globally Unique Identifiers (GUIDs) of the variables, offset values and lengths;
and a self-defining module: the method comprises the steps that the BIOS is configured to form a modifiable item list from all modifiable Setup options and option information corresponding to each Setup option, and copy the modifiable item list into a custom ACPI table constructed in the BIOS;
reporting an operating system module: the BIOS is configured to report the custom ACPI table to an operating system; the method comprises the steps that an operating system loader acquires pointers pointing to an ACPI root system description table RSDT and an extended system description table XSDT from an EFI system table before handing over control rights to the operating system, and the RSDP or the XSDT sets a physical pointer to the custom ACPI table after the table head, so that the custom ACPI table is reported to the operating system;
and (3) a setting module: the application program is configured to acquire the custom ACPI table through an interface provided by an operating system to acquire the modifiable item list, and the run Service provided by the UEFIBIOS mode is used for transmitting information corresponding to the modifiable item list to the memory, so that a Setup option of the BIOS is set.
7. A computer-readable storage medium having stored therein a plurality of instructions; the plurality of instructions for loading and executing the method of any of claims 1-5 by a processor.
8. An electronic device, the electronic device comprising:
a processor for executing a plurality of instructions;
a memory for storing a plurality of instructions;
wherein the plurality of instructions are for storage by the memory and loading and executing by the processor the method of any of claims 1-5.
CN202311758169.9A 2023-12-20 2023-12-20 Method and device for setting Setup option of BIOS under operating system Pending CN117785300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311758169.9A CN117785300A (en) 2023-12-20 2023-12-20 Method and device for setting Setup option of BIOS under operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311758169.9A CN117785300A (en) 2023-12-20 2023-12-20 Method and device for setting Setup option of BIOS under operating system

Publications (1)

Publication Number Publication Date
CN117785300A true CN117785300A (en) 2024-03-29

Family

ID=90382772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311758169.9A Pending CN117785300A (en) 2023-12-20 2023-12-20 Method and device for setting Setup option of BIOS under operating system

Country Status (1)

Country Link
CN (1) CN117785300A (en)

Similar Documents

Publication Publication Date Title
US8549271B1 (en) Method, system, and computer readable medium for updating and utilizing the contents of a non-essential region of a memory device
US5325532A (en) Automatic development of operating system boot image
US7934209B2 (en) Method for firmware variable storage with eager compression, fail-safe extraction and restart time compression scan
US6434695B1 (en) Computer operating system using compressed ROM image in RAM
US6167511A (en) Method to reflect BIOS set up changes into ACPI machine language
US5758154A (en) Method and system for storing configuration data into a common registry
US7310801B2 (en) Servicing a component-based software product throughout the software product lifecycle
US6490723B1 (en) Method and system for installing files in a computing system
US7805409B2 (en) Dynamic composition of an execution environment from multiple immutable file system images
US8260818B1 (en) Method, apparatus, and computer-readable medium for space-efficient storage of variables in a non-volatile computer memory
US11016785B2 (en) Method and system for mirror image package preparation and application operation
US20040225873A1 (en) Method and system for recovering program code in a computer system
WO1999030227A1 (en) Method and apparatus standardizing use of non-volatile memory within a bios-rom
US20040111707A1 (en) Debugger for multiple processors and multiple debugging types
WO2022262754A1 (en) Operating system data updating method and device, storage medium, and program product
CN110162429B (en) System repair method, server and storage medium
US7716664B2 (en) Metadata-based application model for large applications
CN113821221B (en) Method, apparatus and storage medium for installing operating system
JP2971267B2 (en) Personal computer using flash memory as BIOS-ROM
CN117785300A (en) Method and device for setting Setup option of BIOS under operating system
CN113821234B (en) Operating system upgrade method, apparatus, storage medium, and computer program product
JP2001142714A (en) Method and device for executing application in prebooting and postbooting operation of computer under ordinary os control
CN115113912A (en) Method, apparatus and computer program product for composing modular firmware
Matzigkeit et al. the GNU GRUB manual
CN115509634A (en) Input method configuration method, character input method, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination