TWI459291B - System and method for updating uefi setup information of a computer - Google Patents

System and method for updating uefi setup information of a computer Download PDF

Info

Publication number
TWI459291B
TWI459291B TW099113797A TW99113797A TWI459291B TW I459291 B TWI459291 B TW I459291B TW 099113797 A TW099113797 A TW 099113797A TW 99113797 A TW99113797 A TW 99113797A TW I459291 B TWI459291 B TW I459291B
Authority
TW
Taiwan
Prior art keywords
function
smi
computer
storage unit
uefi
Prior art date
Application number
TW099113797A
Other languages
Chinese (zh)
Other versions
TW201137745A (en
Inventor
De-Hua Dang
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW099113797A priority Critical patent/TWI459291B/en
Publication of TW201137745A publication Critical patent/TW201137745A/en
Application granted granted Critical
Publication of TWI459291B publication Critical patent/TWI459291B/en

Links

Landscapes

  • Stored Programmes (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

電腦介面資訊配置系統及方法 Computer interface information configuration system and method

本發明涉及一種電腦介面資訊配置修改系統及方法,尤其係關於一種在UEFI(Unified Extensible Firmware Interface,可擴展固件介面)平臺下更新電腦介面資訊配置的系統及方法。 The present invention relates to a computer interface information configuration modification system and method, and more particularly to a system and method for updating a computer interface information configuration under a UEFI (Unified Extensible Firmware Interface) platform.

於BIOS(Basic Input Output System,基本輸入輸出系統)平臺上,電腦介面資訊配置資料,例如啟動設備列表及順序等,基本上是儲存在南橋上的CMOS(Complementary Metal Oxide Semiconductor,互補金屬氧化物半導體)晶片裏。於CMOS晶片裏的資料除了開機時可進行配置修改外,也可以於作業系統(OS)下藉由驅動I/O埠(例如70/71埠)對I/O介面配置資料進行修改。隨著電腦技術的發展,傳統BIOS已經逐漸地被UEFI(Unified Extensible Firmware Interface,可擴展固件介面)所取代,UEFI係為一種Intel公司最新推出的電腦作業系統及平臺固件之間的介面標準。 On the BIOS (Basic Input Output System) platform, computer interface information configuration materials, such as boot device list and sequence, are basically CMOS (Complementary Metal Oxide Semiconductor), which is stored on the South Bridge. ) in the wafer. The data in the CMOS chip can be modified in addition to the configuration at boot time. The I/O interface configuration data can also be modified by the operating system (OS) by driving the I/O port (for example, 70/71埠). With the development of computer technology, the traditional BIOS has been gradually replaced by UEFI (Unified Extensible Firmware Interface), which is an interface standard between Intel's latest computer operating system and platform firmware.

由於UEFI與BIOS設計結構上存在差異,傳統BIOS很難透過驅動I/O埠來修改介面配置資料。原因於在UEFI平臺下的介面配置資料、硬體配置資料儲存在CMOS晶片裏,而啟動設備列表及配置順序等軟體配置資料則是儲存在FLASH晶片裏。通常,藉由南橋上 的SPI(Serial Peripheral Interface,串列外設介面)控制器對FLASH進行讀寫來修改FLASH晶片裏的介面配置資料,然而這種修改方式存在如下缺點:一是不同南橋晶片針對SPI控制器的控制寄存器不太一樣,不具有通用性;二是若電腦運行於保護模式下,例如電腦介面配置資料經過加密或者壓縮等操作,對用戶來講很難藉由傳統的BIOS修改方式對I/O介面配置資料進行修改。 Due to the difference in UEFI and BIOS design structure, it is difficult for the traditional BIOS to modify the interface configuration data by driving the I/O port. The reason is that the interface configuration data and the hardware configuration data in the UEFI platform are stored in the CMOS chip, and the software configuration data such as the boot device list and the configuration sequence are stored in the FLASH chip. Usually, by the South Bridge The SPI (Serial Peripheral Interface) controller reads and writes FLASH to modify the interface configuration data in the FLASH chip. However, this modification has the following disadvantages: First, the control of different south bridge chips for the SPI controller The registers are not the same, they are not universal; the second is that if the computer is running in protected mode, for example, the computer interface configuration data is encrypted or compressed, it is difficult for the user to modify the I/O interface by the traditional BIOS modification method. The configuration data is modified.

鑒於以上資料,有必要提供一種電腦介面資訊配置系統及方法,能夠在UEFI平臺下直接修改FLASH晶片中的電腦介面配置資訊。 In view of the above information, it is necessary to provide a computer interface information configuration system and method, which can directly modify the computer interface configuration information in the FLASH chip under the UEFI platform.

所述之電腦介面資訊配置系統安裝並運行於電腦的作業系統下,該電腦包括SMRAM儲存單元、UEFI儲存單元及FLASH晶片。所述之電腦介面資訊配置系統包括函數創建模組、函數調用模組及資訊配置模組。所述之函數創建模組用於在UEFI平臺下創建一個SMI函數,並將該SMI函數儲存在SMRAM儲存單元中。所述之函數調用模組用於產生一個SMI函數的入口位址並將該SMI函數的入口位址儲存在SMI表中,當用戶在作業系統下藉由I/O埠寫入SMI函數的入口位址時,在SMI表中查找到SMI函數的入口位址作為觸發SMI函數的SMI控制碼,藉由該SMI控制碼觸發SMRAM儲存單元內的SMI函數,及藉由該SMI函數調用UEFI儲存單元內的運行服務函數。所述之資訊配置模組用於在UEFI平臺下執行運行服務函數來讀寫儲存在FLASH晶片裏的電腦介面配置資訊。 The computer interface information configuration system is installed and runs under a computer operating system, and the computer includes an SMRAM storage unit, a UEFI storage unit, and a FLASH chip. The computer interface information configuration system includes a function creation module, a function calling module and an information configuration module. The function creation module is configured to create an SMI function under the UEFI platform, and store the SMI function in the SMRAM storage unit. The function calling module is configured to generate an entry address of an SMI function and store the entry address of the SMI function in the SMI table, and when the user writes the SMI function entry by the I/O in the operating system In the address, the SMI function is searched in the SMI table as the SMI control code for triggering the SMI function, and the SMI control code is used to trigger the SMI function in the SMRAM storage unit, and the UEFI storage unit is called by the SMI function. Run the service function inside. The information configuration module is configured to execute a running service function on the UEFI platform to read and write computer interface configuration information stored in the FLASH chip.

所述之電腦介面資訊配置方法能夠在UEFI平臺下對電腦的I/O介面配置資訊進行修改。該方法包括步驟:在UEFI平臺下創建一個SMI函數,並將該SMI函數儲存在SMRAM儲存單元中;產生一個SMI 函數的入口位址並將該SMI函數的入口位址儲存在SMI表中;當用戶在作業系統下藉由I/O埠寫入SMI函數的入口位址時,在SMI表中查找到SMI函數的入口位址作為觸發SMI函數的SMI控制碼;藉由該SMI控制碼觸發SMRAM儲存單元內的SMI函數;藉由該SMI函數調用UEFI儲存單元內的運行服務函數;在UEFI平臺下執行運行服務函數來讀寫儲存在FLASH晶片裏的電腦介面配置資訊。 The computer interface information configuration method can modify the I/O interface configuration information of the computer under the UEFI platform. The method includes the steps of: creating an SMI function under the UEFI platform, and storing the SMI function in the SMRAM storage unit; generating an SMI The entry address of the function and the entry address of the SMI function are stored in the SMI table; when the user writes the entry address of the SMI function by I/O in the operating system, the SMI function is found in the SMI table. The entry address is used as an SMI control code for triggering the SMI function; the SMI function is triggered by the SMI control code; the running service function in the UEFI storage unit is invoked by the SMI function; and the running service is executed under the UEFI platform. Function to read and write the computer interface configuration information stored in the FLASH chip.

相較於習知技術,本發明所述之電腦介面資訊配置系統及方法,當電腦運行於保護模式下作業系統無法直接調用到運行服務(Runtime Services)函數的執行進程時,用戶於作業系統下既可以藉由驅動I/O更改部分儲存在CMOS晶片中的介面配置資訊,也可以更改儲存在FLASH晶片中的介面配置資訊,從而達到在UEFI平臺下修改電腦介面配置資訊之目的。 Compared with the prior art, the computer interface information configuration system and method of the present invention, when the computer is running in the protection mode, the operating system cannot directly call the execution process of the Runtime Services function, and the user is under the operating system. The interface configuration information stored in the CMOS chip can be changed by driving the I/O, and the interface configuration information stored in the FLASH chip can be changed to achieve the purpose of modifying the computer interface configuration information under the UEFI platform.

10‧‧‧作業系統 10‧‧‧Operating system

11‧‧‧電腦介面資訊配置系統 11‧‧‧Computer Interface Information Configuration System

110‧‧‧函數創建模組 110‧‧‧Function creation module

111‧‧‧函數調用模組 111‧‧‧ function calling module

112‧‧‧資訊配置模組 112‧‧‧Information Configuration Module

20‧‧‧SMRAM儲存單元 20‧‧‧SMRAM storage unit

30‧‧‧UEFI儲存單元 30‧‧‧UEFI storage unit

40‧‧‧FLASH晶片 40‧‧‧FLASH chip

50‧‧‧CMOS晶片 50‧‧‧CMOS chip

圖1係為本發明電腦介面資訊配置系統較佳實施例之架構圖。 1 is a block diagram of a preferred embodiment of a computer interface information configuration system of the present invention.

圖2係為在UEFI平臺下的運行服務函數之示意圖。 Figure 2 is a schematic diagram of the running service function under the UEFI platform.

圖3係為本發明電腦介面資訊配置方法較佳實施例之流程圖。 3 is a flow chart of a preferred embodiment of a computer interface information configuration method according to the present invention.

如圖1所示,係為本發明電腦介面資訊配置系統11較佳實施例的架構圖。於本實施例中,所述之電腦介面資訊配置系統11(以下簡稱資訊配置系統11)安裝並運行於電腦的作業系統下,用於在UEFI(Unified Extensible Firmware Interface,可擴展固件介面)平臺下對電腦的I/O介面配置資訊進行修改。該電腦包括作業系統(OS)10、SMRAM儲存單元20、UEFI儲存單元30、FLASH晶片40及CMOS晶片50。所述之UEFI平臺係為一種Intel公司最新 推出的電腦作業系統及電腦硬體介面之間的介面標準。在UEFI平臺下,電腦硬體設備的配置資訊一般儲存在CMOS晶片50中,而啟動設備列表及配置順序等軟體配置資料則儲存在FLASH晶片40中。 As shown in FIG. 1, it is an architectural diagram of a preferred embodiment of the computer interface information configuration system 11 of the present invention. In this embodiment, the computer interface information configuration system 11 (hereinafter referred to as the information configuration system 11) is installed and runs under the operating system of the computer, and is used under the UEFI (Unified Extensible Firmware Interface) platform. Modify the I/O interface configuration information of the computer. The computer includes an operating system (OS) 10, an SMRAM storage unit 20, a UEFI storage unit 30, a FLASH wafer 40, and a CMOS wafer 50. The UEFI platform is the latest in Intel Corporation. The interface standard between the computer operating system and the computer hardware interface. Under the UEFI platform, the configuration information of the computer hardware device is generally stored in the CMOS chip 50, and the software configuration data such as the boot device list and the configuration sequence are stored in the FLASH wafer 40.

所述之SMRAM儲存單元20用於儲存可供作業系統10調用的SMI(System Management Interrupt,系統管理中斷)函數,其用於處理不同的電腦介面配置資訊。所述之UEFI儲存單元30用於儲存複數可供SMI函數調用的運行服務(Runtime Services)函數。在UEFI平臺下,其包含啟動服務(Boot Services)函數及Runtime Services函數,當啟動電腦運行作業系統10後,Runtime Services函數會一直等待作業系統10調用直到電腦關機。 The SMRAM storage unit 20 is configured to store an SMI (System Management Interrupt) function that is available to the operating system 10 for processing different computer interface configuration information. The UEFI storage unit 30 is configured to store a plurality of Runtime Services functions that are available for SMI function calls. Under the UEFI platform, it includes a Boot Services function and a Runtime Services function. When the computer runs the operating system 10, the Runtime Services function waits until the operating system 10 calls until the computer is shut down.

所述之資訊配置系統11包括函數創建模組110、函數調用模組111、及資訊配置模組112。所述之函數創建模組110用於在UEFI平臺下創建一個SMI函數,並將該SMI函數儲存在SMRAM儲存單元20中。本實施例中,當電腦運行於SMM(System Management Mode,系統管理模式)下需要處理中斷事件(例如,用戶需要配置電腦I/O埠資訊)時,函數創建模組110則在UEFI平臺下創建相應的SMI函數來處理中斷事件。 The information configuration system 11 includes a function creation module 110, a function calling module 111, and an information configuration module 112. The function creation module 110 is configured to create an SMI function under the UEFI platform and store the SMI function in the SMRAM storage unit 20. In this embodiment, when the computer needs to process an interrupt event in the SMM (System Management Mode) (for example, the user needs to configure the computer I/O information), the function creation module 110 is created under the UEFI platform. The corresponding SMI function handles the interrupt event.

所述之函數調用模組111用於產生一個SMI函數的入口位址(Index),例如Index值為“0xde”,並將該SMI函數的入口位址儲存在SMI表中,以及當用戶在OS下藉由I/O埠寫入Index值觸發SMI函數時藉由SMI表查找SMI函數的入口位址作為觸發SMI函數的SMI控制碼(Handler)。所述之SMI控制碼即為SMRAM儲存單元20 內SMI函數的入口位址,例如將首位址SMBase+8000H作為SMI函數的入口位址。 The function calling module 111 is configured to generate an entry address (Index) of an SMI function, for example, an Index value of “0xde”, and store the entry address of the SMI function in the SMI table, and when the user is in the OS. When the SMI function is triggered by writing the Index value by I/O, the SMI function is used to find the SMI function's entry address as the SMI control code (Handler) that triggers the SMI function. The SMI control code is the SMRAM storage unit 20 The entry address of the inner SMI function, for example, the first address SMBase+8000H is used as the entry address of the SMI function.

所述之函數調用模組111還用於藉由該SMI控制碼觸發儲存在SMRAM儲存單元20內的SMI函數,及藉由該SMI函數調用UEFI儲存單元30內的Runtime Services函數(運行服務函數)。於本實施例中,函數調用模組111藉由這個SMI控制碼將電腦系統後臺內的Runtime Services函數的介面給搜尋出來,並藉由如下觸發操作outpd(0xb2,0xde)來觸發SMI函數,其中“0xb2”為Intel處理器平臺上規定的SMI埠號,“0xde”為用戶藉由作業系統(OS)10寫入的Index值。當有SMI被觸發時,函數調用模組111切換到SMRAM儲存單元20中調用SMI函數。當電腦執行SMM模式時,函數調用模組111執行SMI控制碼來完成相應的操作。當SMI函數執行調用操作後,作業系統10會執行恢復指令(RSM),從而使電腦系統回到先前切入的SMM模式下。 The function calling module 111 is further configured to trigger an SMI function stored in the SMRAM storage unit 20 by the SMI control code, and invoke a Runtime Services function (running a service function) in the UEFI storage unit 30 by using the SMI function. . In this embodiment, the function calling module 111 searches the interface of the Runtime Services function in the background of the computer system by using the SMI control code, and triggers the SMI function by triggering the outpd (0xb2, 0xde) as follows. "0xb2" is the SMI nickname specified on the Intel processor platform, and "0xde" is the index value written by the user through the operating system (OS) 10. When an SMI is triggered, the function call module 111 switches to the SMRAM storage unit 20 to call the SMI function. When the computer executes the SMM mode, the function calling module 111 executes the SMI control code to complete the corresponding operation. When the SMI function performs the invocation operation, the operating system 10 executes a recovery instruction (RSM) to return the computer system to the previously switched SMM mode.

所述之資訊配置模組112用於執行Runtime Services函數來讀寫FLASH晶片40的電腦介面配置資訊,從而能夠在UEFI平臺下修改儲存在FLASH晶片40的電腦介面配置資訊。參考圖2所示,Runtime Services函數一般包括GetVariable函數,GetNextVariableName函數、SetVariable函數、及QueryVariableInfo函數。因此,用戶可利用不同的RuntimeServices函數的介面參數來修改FLASH晶片40內的電腦介面配置資訊。 The information configuration module 112 is configured to execute a Runtime Services function to read and write computer interface configuration information of the FLASH wafer 40, so that the computer interface configuration information stored in the FLASH wafer 40 can be modified under the UEFI platform. Referring to FIG. 2, the Runtime Services function generally includes a GetVariable function, a GetNextVariableName function, a SetVariable function, and a QueryVariableInfo function. Therefore, the user can modify the computer interface configuration information in the FLASH wafer 40 by using different interface parameters of the RuntimeServices function.

如圖3所示,係為本發明電腦介面資訊配置方法較佳實施例的流程圖。步驟S31,函數創建模組110在UEFI平臺下創建一個SMI函 數,並將該SMI函數儲存在SMRAM儲存單元20中。本實施例中,以電腦系統運行於SMM模式下為例,當電腦系統需要處理中斷事件(例如,用戶需要配置電腦I/O埠資訊)時,函數創建模組110在UEFI平臺下創建相應的SMI函數來處理中斷事件。 FIG. 3 is a flow chart of a preferred embodiment of a computer interface information configuration method according to the present invention. Step S31, the function creation module 110 creates an SMI function under the UEFI platform. The number is stored in the SMRAM storage unit 20. In this embodiment, the computer system runs in the SMM mode as an example. When the computer system needs to handle an interrupt event (for example, the user needs to configure computer I/O information), the function creation module 110 creates a corresponding one under the UEFI platform. SMI functions to handle interrupt events.

步驟S32,函數調用模組111產生一個SMI函數的入口位址(Index),例如Index值為“0xde”,並將該SMI函數的入口位址儲存在SMI表中。步驟S33,當用戶在OS下藉由I/O埠寫入Index值觸發SMI函數時,函數調用模組111藉由SMI表查找SMI函數的入口位址作為觸發SMI函數的SMI控制碼(Handler)。該SMI控制碼即為SMRAM儲存單元20內SMI函數的入口位址,例如將首位址SMBase+8000H作為SMI函數的入口位址。 In step S32, the function calling module 111 generates an entry address (Index) of an SMI function, for example, an Index value of "0xde", and stores the entry address of the SMI function in the SMI table. Step S33, when the user triggers the SMI function by writing the Index value by I/O under the OS, the function calling module 111 searches the entry address of the SMI function by using the SMI table as the SMI control code (Handler) that triggers the SMI function. . The SMI control code is the entry address of the SMI function in the SMRAM storage unit 20, for example, the first address SMBase+8000H is used as the entry address of the SMI function.

步驟S34,函數調用模組111藉由該SMI控制碼觸發儲存在SMRAM儲存單元20內的SMI函數。於本實施例中,函數調用模組111藉由這個SMI控制碼將電腦系統後臺的Runtime Services函數介面給搜尋出來,並藉由如下觸發操作outpd(0xb2,0xde)來觸發SMI函數,其中“0xb2”為Intel處理器平臺上規定的SMI埠號,“0xde”為用戶藉由作業系統(OS)10寫入的Index值。 In step S34, the function calling module 111 triggers the SMI function stored in the SMRAM storage unit 20 by the SMI control code. In this embodiment, the function calling module 111 searches for the Runtime Services function interface in the background of the computer system by using the SMI control code, and triggers the SMI function by triggering the outpd (0xb2, 0xde) as follows: “0xb2 "The SMI nickname specified on the Intel processor platform, "0xde" is the index value written by the user through the operating system (OS) 10.

步驟S35,函數調用模組111藉由SMI函數調用UEFI儲存單元30內的Runtime Services函數。當有SMI被觸發時,函數調用模組111切換到SMRAM儲存單元20中調用SMI函數。當電腦執行SMM模式下,函數調用模組111執行SMI控制碼來完成相應的操作。當SMI函數執行調用操作後,作業系統10會執行恢復指令(RSM),從而使電腦系統回到先前切入的SMM模式下。 In step S35, the function calling module 111 calls the Runtime Services function in the UEFI storage unit 30 by the SMI function. When an SMI is triggered, the function call module 111 switches to the SMRAM storage unit 20 to call the SMI function. When the computer executes the SMM mode, the function calling module 111 executes the SMI control code to complete the corresponding operation. When the SMI function performs the invocation operation, the operating system 10 executes a recovery instruction (RSM) to return the computer system to the previously switched SMM mode.

步驟S36,資訊配置模組112執行Runtime Services函數來讀寫 FLASH晶片40的I/O介面配置資料,從而能夠在UEFI平臺下修改儲存在FLASH晶片40的電腦介面配置資訊。 In step S36, the information configuration module 112 executes the Runtime Services function to read and write. The I/O interface configuration data of the FLASH wafer 40 enables the computer interface configuration information stored in the FLASH wafer 40 to be modified under the UEFI platform.

此外,當作業系統10運行於保護模式下,作業系統10無法直接調用到Runtime Services函數的執行進程時,用戶於作業系統10下既可以藉由驅動I/O更改部分存在於CMOS晶片50中的介面配置資訊,也可以藉由所述之電腦介面資訊配置系統及方法更改存在於FLASH晶片40中的介面配置資訊,從而達到在UEFI平臺下完全修改電腦介面配置資訊之目的。 In addition, when the operating system 10 is operating in the protection mode, and the operating system 10 cannot directly call the execution process of the Runtime Services function, the user can be partially present in the CMOS wafer 50 by driving the I/O change under the operating system 10. The interface configuration information can also be used to modify the interface configuration information existing in the FLASH chip 40 by using the computer interface information configuration system and method, thereby completely modifying the computer interface configuration information under the UEFI platform.

以上所述僅為本發明之較佳實施例而已,且已達廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等變化或修飾,均應包含於下述之申請專利範圍內。 The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications that are not departing from the spirit of the present invention should be included in the following patent application. Within the scope.

10‧‧‧作業系統 10‧‧‧Operating system

11‧‧‧電腦介面資訊配置系統 11‧‧‧Computer Interface Information Configuration System

110‧‧‧函數創建模組 110‧‧‧Function creation module

111‧‧‧函數調用模組 111‧‧‧ function calling module

112‧‧‧資訊配置模組 112‧‧‧Information Configuration Module

20‧‧‧SMRAM儲存單元 20‧‧‧SMRAM storage unit

30‧‧‧UEFI儲存單元 30‧‧‧UEFI storage unit

40‧‧‧FLASH晶片 40‧‧‧FLASH chip

50‧‧‧CMOS晶片 50‧‧‧CMOS chip

Claims (6)

一種電腦介面資訊配置系統,安裝並運行於電腦的作業系統下,該電腦包括SMRAM儲存單元、Unified Extensible Firmware Interface(UEFI)儲存單元及FLASH晶片,該電腦介面資訊配置系統包括:函數創建模組,用於在UEFI平臺下創建一個SMI函數,並將該SMI函數儲存在SMRAM儲存單元中;函數調用模組,用於產生一個SMI函數的入口位址並將該入口位址儲存在SMI表中,當用戶在作業系統下藉由I/O埠寫入SMI函數的入口位址時,在SMI表中查找SMI函數的入口位址作為觸發SMI函數的SMI控制碼,藉由該SMI控制碼觸發SMRAM儲存單元內的SMI函數,及藉由該SMI函數調用UEFI儲存單元內的運行服務函數;及資訊配置模組,用於在UEFI平臺下執行運行服務函數來讀寫儲存在FLASH晶片裏的電腦介面配置資訊。 A computer interface information configuration system is installed and operated under a computer operating system, which includes an SMRAM storage unit, a Unified Extensible Firmware Interface (UEFI) storage unit, and a FLASH chip. The computer interface information configuration system includes: a function creation module. For creating an SMI function under the UEFI platform, and storing the SMI function in the SMRAM storage unit; the function calling module is configured to generate an entry address of the SMI function and store the entry address in the SMI table, When the user writes the entry address of the SMI function by I/O in the operating system, the entry address of the SMI function is searched in the SMI table as the SMI control code that triggers the SMI function, and the SMRAM is triggered by the SMI control code. The SMI function in the storage unit, and the running service function in the UEFI storage unit is invoked by the SMI function; and the information configuration module is configured to execute the running service function on the UEFI platform to read and write the computer interface stored in the FLASH chip. Configuration information. 如申請專利範圍第1項所述之電腦介面資訊配置系統,其中,所述之UEFI平臺係為一種電腦作業系統及電腦硬體介面之間的介面標準。 The computer interface information configuration system according to claim 1, wherein the UEFI platform is an interface standard between a computer operating system and a computer hardware interface. 如申請專利範圍第1項所述之電腦介面資訊配置系統,其中,所述之運行服務函數包括GetVariable函數,GetNextVariableName函數、SetVariable函數及QueryVariableInfo函數。 The computer interface information configuration system of claim 1, wherein the running service function comprises a GetVariable function, a GetNextVariableName function, a SetVariable function, and a QueryVariableInfo function. 一種電腦介面資訊配置方法,在UEFI平臺下對電腦的I/O介面配置資訊進行修改,該電腦包括SMRAM儲存單元、UEFI儲存單元及FLASH晶片,該方法包括步驟:在UEFI平臺下創建一個SMI函數,並將該SMI函數儲存在SMRAM儲存單元中; 產生一個SMI函數的入口位址並將該入口位址儲存在SMI表中;當用戶在作業系統下藉由I/O埠寫入SMI函數的入口位址時,在SMI表中查找SMI函數的入口位址作為觸發SMI函數的SMI控制碼;藉由該SMI控制碼觸發SMRAM儲存單元內的SMI函數;藉由該SMI函數調用UEFI儲存單元內的運行服務函數;在UEFI平臺下執行運行服務函數來讀寫儲存在FLASH晶片裏的電腦介面配置資訊。 A computer interface information configuration method for modifying a computer I/O interface configuration information under a UEFI platform, the computer comprising an SMRAM storage unit, a UEFI storage unit and a FLASH chip, the method comprising the steps of: creating an SMI function under the UEFI platform And storing the SMI function in the SMRAM storage unit; Generate an entry address of the SMI function and store the entry address in the SMI table; when the user writes the entry address of the SMI function by I/O in the operating system, look up the SMI function in the SMI table. The entry address is used as an SMI control code for triggering the SMI function; the SMI function in the SMRAM storage unit is triggered by the SMI control code; the running service function in the UEFI storage unit is invoked by the SMI function; and the running service function is executed under the UEFI platform. To read and write computer interface configuration information stored in the FLASH chip. 如申請專利範圍第4項所述之電腦介面資訊配置方法,其中,所述之UEFI平臺係為一種電腦作業系統及電腦硬體介面之間的介面標準。 The computer interface information configuration method according to claim 4, wherein the UEFI platform is an interface standard between a computer operating system and a computer hardware interface. 如申請專利範圍第4項所述之電腦介面資訊配置方法,其中,所述之運行服務函數包括GetVariable函數,GetNextVariableName函數、SetVariable函數及QueryVariableInfo函數。 The computer interface information configuration method according to claim 4, wherein the running service function comprises a GetVariable function, a GetNextVariableName function, a SetVariable function, and a QueryVariableInfo function.
TW099113797A 2010-04-30 2010-04-30 System and method for updating uefi setup information of a computer TWI459291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099113797A TWI459291B (en) 2010-04-30 2010-04-30 System and method for updating uefi setup information of a computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099113797A TWI459291B (en) 2010-04-30 2010-04-30 System and method for updating uefi setup information of a computer

Publications (2)

Publication Number Publication Date
TW201137745A TW201137745A (en) 2011-11-01
TWI459291B true TWI459291B (en) 2014-11-01

Family

ID=46759651

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099113797A TWI459291B (en) 2010-04-30 2010-04-30 System and method for updating uefi setup information of a computer

Country Status (1)

Country Link
TW (1) TWI459291B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI559167B (en) * 2011-11-04 2016-11-21 系微股份有限公司 A unified extensible firmware interface(uefi)-compliant computing device and a method for administering a secure boot in the uefi-compliant computing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200745904A (en) * 2006-03-20 2007-12-16 Lenovo Singapore Pte Ltd Method and apparatus for binding computer memeory to motherboard
EP1892626A2 (en) * 2006-07-31 2008-02-27 Intel Corporation Method and apparatus for managing power from sequestered partition of a processing system
TW200903326A (en) * 2007-04-13 2009-01-16 Hewlett Packard Development Co Trusted component update system and method
US20090210689A1 (en) * 2008-02-18 2009-08-20 Dell Products L.P. Remote management of uefi bios settings and configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200745904A (en) * 2006-03-20 2007-12-16 Lenovo Singapore Pte Ltd Method and apparatus for binding computer memeory to motherboard
EP1892626A2 (en) * 2006-07-31 2008-02-27 Intel Corporation Method and apparatus for managing power from sequestered partition of a processing system
TW200903326A (en) * 2007-04-13 2009-01-16 Hewlett Packard Development Co Trusted component update system and method
US20090210689A1 (en) * 2008-02-18 2009-08-20 Dell Products L.P. Remote management of uefi bios settings and configuration

Also Published As

Publication number Publication date
TW201137745A (en) 2011-11-01

Similar Documents

Publication Publication Date Title
CN102236621B (en) Computer interface information configuration system and method
US11016906B2 (en) GPU virtualisation
US9495540B2 (en) Method and system for monitoring calls to an application program interface (API) function
US10353831B2 (en) Trusted launch of secure enclaves in virtualized environments
JP5367802B2 (en) Virtualization event processing in a layered virtualization architecture
US10445154B2 (en) Firmware-related event notification
US7454547B1 (en) Data exchange between a runtime environment and a computer firmware in a multi-processor computing system
JP2009508259A5 (en)
US8683191B2 (en) Reconfiguring a secure system
US20110219373A1 (en) Virtual machine management apparatus and virtualization method for virtualization-supporting terminal platform
US20090172385A1 (en) Enabling system management mode in a secure system
US8145819B2 (en) Method and system for stealing interrupt vectors
TWI459291B (en) System and method for updating uefi setup information of a computer
JP2017511938A (en) Operating system / hypervisor efficiency for granular privilege levels
CN106371818B (en) Method for processing user-level events to program application program
TWI726524B (en) Electronic processing devices and memory control methods thereof
US9886332B2 (en) Storage and application intercommunication using ACPI
WO2018214482A1 (en) Method and apparatus for monitoring virtual machines
US10592256B2 (en) Early boot display system
TWI478003B (en) Computer system data protection device and method
KR102411920B1 (en) Electronic device and control method thereof
JP2009093235A (en) Control method and computer system for executing the method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees