[go: up one dir, main page]

TW201516868A - Method for transmitting data between operation system and basic input/output system, recording media and computer program product - Google Patents

Method for transmitting data between operation system and basic input/output system, recording media and computer program product Download PDF

Info

Publication number
TW201516868A
TW201516868A TW102138415A TW102138415A TW201516868A TW 201516868 A TW201516868 A TW 201516868A TW 102138415 A TW102138415 A TW 102138415A TW 102138415 A TW102138415 A TW 102138415A TW 201516868 A TW201516868 A TW 201516868A
Authority
TW
Taiwan
Prior art keywords
memory block
basic input
data
memory
phase
Prior art date
Application number
TW102138415A
Other languages
Chinese (zh)
Other versions
TWI499978B (en
Inventor
yan-jun Chen
Original Assignee
Insyde Software Corp
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 Insyde Software Corp filed Critical Insyde Software Corp
Priority to TW102138415A priority Critical patent/TWI499978B/en
Publication of TW201516868A publication Critical patent/TW201516868A/en
Application granted granted Critical
Publication of TWI499978B publication Critical patent/TWI499978B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A method for transmitting data between operation system and basic input/output system is implemented by the platform system. The method includes the following steps: setting a memory block during starting-up stage; recording data to update the basic input/output system in the memory block in the operation system stage; and accessing data in the memory block to update the basic input/output system in the starting-up stage. The purpose of the invention is to provide a method for transmitting data between operation system and basic input/output system, recording media and computer program product. It replaces the memory space with the memory. Therefore, there is no need to call a driving program VariableRuntimeDxe to store data or information in the memory space such that data or information can be transmitted to the basic input/output system.

Description

作業系統與基本輸入輸出系統之間傳輸資料之方法、記錄媒體及電腦程式產品 Method for transferring data between operating system and basic input/output system, recording medium and computer program product

本發明有關於一種作業系統與基本輸入輸出系統,特別有關於一種作業系統與基本輸入輸出系統之間傳輸資料之方法、記錄媒體及電腦程式產品。 The invention relates to an operating system and a basic input/output system, in particular to a method for transferring data between an operating system and a basic input/output system, a recording medium and a computer program product.

所謂基本輸出入系統(Basic Input Output System,BIOS)是指存放在主機板上之快閃記憶體(Flash Memory),其中包含了許多例如電腦、平板電腦或智慧型手機等系統平台輸出入的基本副程式、在主機板上為處理軟體與硬體溝通設定,其BIOS的設定與系統平台之硬體具有關連性。例如如果任意更換系統平台之主機板上的BIOS的話,很可能會造成系統平台無法啟動。 The basic input and output system (BIOS) refers to the flash memory stored on the motherboard, which contains a lot of basic input and output system platforms such as computers, tablets or smart phones. The subroutine, on the motherboard for processing software and hardware communication settings, its BIOS settings and the hardware of the system platform are related. For example, if you replace the BIOS on the motherboard of the system platform, it is likely that the system platform will not start.

BIOS的功能是用來設定與控制中央處理單元(CPU)和各相關晶片的運作,時脈以及各種標準的周邊裝置作業之設定,例如:印表機、滑鼠、鍵盤、硬碟機與軟碟機。當BIOS啟動系統平台時,其首先會確定所有周邊是否就定位運作,再從硬碟或磁碟機將作業系統載入隨機存取記憶體(DRAM)。有了此BIOS,作業系統與應用程式可藉BIOS承繼輸出入裝置的詳細資料,如網路卡媒介存取控制(Medium Address Control,MAC位址)、磁碟機容量及位置等,倘若裝置變更,只需透過BIOS的更動,來通知作業系統或應用程式。 The function of the BIOS is to set and control the operation of the central processing unit (CPU) and related chips, the clock and various standard peripheral device settings, such as: printer, mouse, keyboard, hard drive and soft Disc player. When the BIOS boots the system platform, it first determines if all peripherals are located and then loads the operating system into random access memory (DRAM) from a hard drive or disk drive. With this BIOS, the operating system and applications can use the BIOS to inherit the details of the input and output devices, such as network card media access control (Medium Address Control, MAC address, drive capacity and location, etc., if the device changes, simply notify the operating system or application through the BIOS change.

在作業系統階段要對BIOS中之映象檔(Image File)要進行更新或者設定金鑰序號時,可能需要經由記憶空間來記錄一些資訊至BIOS。例如在作業系統階段更新BIOS映象檔時,平台系統執行一更新程式(Update Tool)來呼叫驅動程式VariableRuntimeDxe進行儲存資料於記憶空間中,並通知BIOS在下一次開機讀取記憶空間中之資料來更新韌體,或者在作業系統階段設定金鑰序號時,平台系統呼叫驅動程式VariableRuntimeDxe進行保存金鑰序號在記憶空間中,然後在下一次開機於記憶空間中讀取金鑰序號以儲存於BIOS中。其中,在BIOS中之記憶空間係為Variable(變數),其用以在作業系統之應用程式與UEFI BIOS之驅動程式之間可以傳遞資料,詳細資料請參考UEFI SPEC 2.4版本7.1章節。 In the operating system phase, if you want to update the image file in the BIOS or set the key number, you may need to record some information to the BIOS via the memory space. For example, when the BIOS image file is updated during the operating system phase, the platform system executes an Update Tool to call the driver VariableRuntimeDxe to store the data in the memory space, and notifies the BIOS to update the data in the memory space for the next boot. Firmware, or when setting the key number in the operating system stage, the platform system calls the driver VariableRuntimeDxe to save the key number in the memory space, and then reads the key number in the memory space for the next time to be stored in the BIOS. The memory space in the BIOS is Variable, which can be used to transfer data between the application of the operating system and the driver of the UEFI BIOS. For details, please refer to UEFI SPEC 2.4 Version 7.1.

然而,在某些具有安全性之系統平台中,當平台系統處於作業系統階段時是無法使用呼叫驅動程式VariableRuntimeDxe的方式以將資料或資訊儲存於記憶空間中,便無法進行在作業系統階段對BIOS之資料或資訊進行更新或設定。 However, in some secure system platforms, when the platform system is in the operating system phase, the call driver VariableRuntimeDxe cannot be used to store data or information in the memory space, and the BIOS cannot be performed during the operating system phase. Update or set the information or information.

鑒於上述問題,本發明之目的係提供一種作業系統與基本輸入輸出系統之間傳輸資料之方法、記錄媒體及電腦程式產品,其以記憶體來取代記憶空間,因此無需使用以呼叫驅動程式VariableRuntimeDxe進行資料或資訊儲存於記憶空間中之方式,而可將 資料或資訊傳送至BIOS。 In view of the above problems, an object of the present invention is to provide a method for transferring data between an operating system and a basic input/output system, a recording medium, and a computer program product, which replace the memory space with a memory, so that it is not necessary to use the call driver VariableRuntimeDxe. The way data or information is stored in the memory space, but Data or information is transferred to the BIOS.

本發明之第一態樣係提供一種作業系統與基本輸入輸出系統之間傳輸資料之方法,其由一平台系統來實施,該方法包括下列步驟:在開機階段,設置一記憶體區塊;在作業系統階段,記錄對該基本輸入輸出系統進行更新之資料於該記憶體區塊中;以及在開機階段,讀取在該記憶體區塊中之資料以對該基本輸入輸出系統進行更新。 A first aspect of the present invention provides a method of transferring data between an operating system and a basic input/output system, which is implemented by a platform system, the method comprising the steps of: setting a memory block during the booting phase; In the operating system phase, data for updating the basic input/output system is recorded in the memory block; and during the booting phase, data in the memory block is read to update the basic input/output system.

本發明之第二態樣係提供一種作業系統與基本輸入輸出系統之間傳輸資料之方法,其由一平台系統來實施,該方法包括下列步驟:設置一記憶體區塊;記錄該記憶體區塊之位址於一即時服務介面函式及一記憶空間中;記錄該即時服務介面函式之進入點於該記憶體區塊中之一系統組態表;建立一通用可延伸韌體介面表於該記憶體區塊中,並將該系統組態表在該記憶體區塊中之位址記錄在該通用可延伸韌體介面表中;由開機階段進入作業系統階段;在該記憶體區塊中之該通用可延伸韌體介面表讀取該系統組態表; 在該系統組態表中找到該介面函數之進入點,以執行該介面函數;記錄對該基本輸入輸出系統進行更新之資料於該記憶體區塊中;重新開機;在該記憶空間中讀取該記憶體區塊之位址;配置一新的記憶體區塊,並將該記憶體區塊中之資料複製到該新的記憶體區塊中;記錄該新的記憶體區塊之位址於一介面緩衝區;以及於該介面緩衝區中讀取該新的記憶體區塊之位址,以指向該新的記憶體區塊,將該新的記憶體區塊中之資料對該基本輸入輸出系統進行更新。 A second aspect of the present invention provides a method of transferring data between an operating system and a basic input/output system, implemented by a platform system, the method comprising the steps of: setting a memory block; recording the memory area The block address is in an instant service interface function and a memory space; recording the entry point of the instant service interface function in a system configuration table in the memory block; establishing a universal extendable firmware interface table In the memory block, the address of the system configuration table in the memory block is recorded in the universal extendable firmware interface table; from the boot phase to the operating system phase; in the memory region The universal extendable firmware interface table in the block reads the system configuration table; finds an entry point of the interface function in the system configuration table to execute the interface function; and records the update of the basic input output system Data in the memory block; reboot; read the address of the memory block in the memory space; configure a new memory block, and The data in the memory block is copied into the new memory block; the address of the new memory block is recorded in an interface buffer; and the new memory is read in the interface buffer The address of the block is directed to the new memory block, and the data in the new memory block is updated to the basic input/output system.

本發明之第三態樣係提供一種內儲一程式之記錄媒體,當一平台系統於該記錄媒體載入該程式並執行後,可完成本發明之第一及第二態樣之方法。 The third aspect of the present invention provides a recording medium storing a program. When a platform system loads and executes the program on the recording medium, the first and second aspects of the present invention can be completed.

本發明之第四態樣係提供一種內儲一程式之電腦程式產品,當一平台系統於電腦程式產品載入該程式並執行後,可完成本發明之第一及第二態樣之方法。 The fourth aspect of the present invention provides a computer program product for storing a program. When a platform system loads and executes the program in a computer program product, the first and second aspects of the present invention can be completed.

圖1為本發明之作業系統與基本輸入輸出系統之間傳輸資料之方法之流程圖;圖2為本發明之設置記憶體區塊之流程圖;圖3為本發明之設置記憶體區塊之流程圖; 圖4為本發明之記錄進行更新之資料於記憶體區塊中之流程圖;以及圖5為本發明之讀取在記憶體區塊中之資料以對UEFI BIOS進行更新之流程圖。 1 is a flow chart of a method for transmitting data between an operating system and a basic input/output system of the present invention; FIG. 2 is a flow chart of setting a memory block according to the present invention; FIG. 3 is a memory block for setting a memory of the present invention; flow chart; 4 is a flow chart of the data of the update of the record in the memory block of the present invention; and FIG. 5 is a flow chart of updating the data in the memory block to update the UEFI BIOS according to the present invention.

為使熟習本發明所屬技術領域之一般技藝者能更進一步了解本發明,下文特列舉本發明之較佳實施例,並配合所附圖式,詳細說明本發明的構成內容及所欲達成之功效。 The present invention will be further understood by those of ordinary skill in the art to which the present invention pertains. .

習知而未繪示之例如電腦、平板電腦或智慧型手機等系統平台包含有CPU、UEFI BIOS(Universal Extensible Firmware Interface Basic Input Output System,通用可延伸韌體介面基本輸入輸出系統)、記憶體及儲存媒體(例如硬碟)等以執行本發明之作業系統與基本輸入輸出系統之間傳輸資料之方法。 A system platform such as a computer, a tablet computer or a smart phone, which is not shown, includes a CPU, a UEFI BIOS (Universal Extensible Firmware Interface Basic Input Output System), a memory and A method of transferring data (such as a hard disk) or the like to perform transfer of data between the operating system of the present invention and a basic input/output system.

圖1為本發明之作業系統與基本輸入輸出系統之間傳輸資料之方法之流程圖。在圖1中,系統平台開啟電源,系統平台進入開機階段,由UEFI BIOS執行開機程序。在驅動程式執行(Driver Execution,DXE)階段,在記憶體中設置一記憶體區塊以供UEFI BIOS進行存取(步驟S10)。 1 is a flow chart of a method for transferring data between an operating system of the present invention and a basic input/output system. In Figure 1, the system platform turns on the power, the system platform enters the boot phase, and the boot process is executed by the UEFI BIOS. In the Driver Execution (DXE) phase, a memory block is set in the memory for access by the UEFI BIOS (step S10).

圖2為本發明之設置記憶體區塊之流程圖。步驟S10之進一步詳細步驟包含在圖2之各步驟,首先,在驅動程式執行階段,由平台系統在記憶體中設置記憶體區塊以供UEFI BIOS進行存取(步驟S100)。由平台系統記錄該記憶體區塊之位址於一即時服務介面函式 (Runtime Service Interface Functin)及一記憶空間中(步驟S102)。其中,即時服務介面係在執行即時服務介面函式期間與UEFI BIOS溝通之介面。 2 is a flow chart of setting a memory block of the present invention. The further detailed steps of step S10 are included in the steps of FIG. 2. First, in the driver execution phase, the platform system sets a memory block in the memory for access by the UEFI BIOS (step S100). Recording the address of the memory block by the platform system in an instant service interface function (Runtime Service Interface Functin) and a memory space (step S102). The instant service interface is an interface to communicate with the UEFI BIOS during the execution of the instant service interface function.

由平台系統記錄該即時服務介面函式之進入點(Enter Point)於記憶體區塊中之一系統組態表(步驟S104)。由平台系統在記憶體區塊中建立一通用可延伸韌體介面表,並將該系統組態表在該記憶體區塊中之位址記錄在通用可延伸韌體介面表中(步驟S106)。 The system configuration table of the entry point (Enter Point) of the instant service interface function in the memory block is recorded by the platform system (step S104). Forming, by the platform system, a universal extensible firmware interface table in the memory block, and recording the address of the system configuration table in the memory block in the universal extensible firmware interface table (step S106) .

圖3為本發明之設置記憶體區塊之流程圖。另一實施例中,在圖2之步驟S102及S104之間可增加一步驟,該步驟係由平台系統將在作業系統階段從UEFI BIOS所要存取之資料記錄於記憶體區塊中(步驟S103),如圖3所示。在步驟S103中,在作業系統階段,若任何應用程式欲從UEFI BIOS需要一些特定資料,則在開機階段將特定資料從UEFI BIOS中複製到記憶體區塊中。 3 is a flow chart of setting a memory block of the present invention. In another embodiment, a step may be added between steps S102 and S104 of FIG. 2, where the platform system records the data to be accessed from the UEFI BIOS in the operating system phase in the memory block (step S103). ),As shown in Figure 3. In step S103, in the operating system phase, if any application wants to obtain some specific data from the UEFI BIOS, the specific data is copied from the UEFI BIOS to the memory block during the booting phase.

再次參考圖1,在步驟S10之後,平台系統執行完開機程序,由開機階段進入作業系統階段(步驟S12)。在作業系統階段,平台系統記錄對UEFI BIOS進行更新之資料於記憶體區塊中(步驟S14)。例如,更新UEFI BIOS之映像檔(Image File)或設定金鑰序號,在作業系統階段,藉由執行應用程式將映像檔之二進制資料或金鑰序號之資料記錄於記憶體區塊中。 Referring again to FIG. 1, after step S10, the platform system executes the booting process, and enters the operating system phase from the booting phase (step S12). In the operating system phase, the platform system records the information for updating the UEFI BIOS in the memory block (step S14). For example, updating the image file of the UEFI BIOS or setting the key number, in the operating system stage, by executing the application, the data of the binary data or the key number of the image file is recorded in the memory block.

圖4為本發明之記錄進行更新之資料於記憶體區塊中之流程圖。步驟S14之進一步詳細步驟包含在圖4之各步驟,首先,在作業系統階段,由平台系統執行一更新應用程式,以在記憶體區塊中 之通用可延伸韌體介面表讀取在其中之系統組態表(步驟S140)。 4 is a flow chart of the data of the update of the record in the memory block of the present invention. The further detailed steps of step S14 are included in the steps of FIG. 4. First, in the operating system phase, an update application is executed by the platform system to be in the memory block. The universal extendable firmware interface table reads the system configuration table therein (step S140).

平台系統在所讀取之系統組態表中找到介面函數之進入點,以執行介面函數(步驟S142),此時平台系統在作業系統之操作環境將控制權交回UEFI BIOS。平台系統將更新UEFI BIOS之映像檔之二進制資料或設定金鑰序號之資料記錄於記憶體區塊中(步驟S144)。 The platform system finds an entry point of the interface function in the read system configuration table to execute an interface function (step S142), at which time the platform system returns control to the UEFI BIOS in the operating environment of the operating system. The platform system records the binary data of the image file of the UEFI BIOS or the data of the set key number in the memory block (step S144).

在步驟S14之後,由系統平台在作業系統階段執行暖開機,以進入開機階段(步驟S16)。在開機階段,由系統平台讀取在記憶體區塊中之資料以對UEFI BIOS進行更新(步驟S18)。 After step S14, warm booting is performed by the system platform in the operating system phase to enter the booting phase (step S16). During the boot phase, the data in the memory block is read by the system platform to update the UEFI BIOS (step S18).

圖5為本發明之讀取在記憶體區塊中之資料以對UEFI BIOS進行更新之流程圖。步驟S18之進一步詳細步驟包含在圖5之各步驟,首先,在預可延伸式韌體介面初始化階段(PEI(Pre-EFI(Extensible Firmware Interface,可延伸式韌體介面)Phase),由平台系統在記憶空間中讀取記憶體區塊之位址,以指向在記憶體區塊(步驟S180)。 FIG. 5 is a flow chart of reading the data in the memory block to update the UEFI BIOS according to the present invention. The further detailed steps of step S18 are included in the steps of FIG. 5, firstly, in the pre-extendable firmware interface initialization phase (PEI (Pre-EFI (Extensible Firmware Interface) Phase), by the platform system The address of the memory block is read in the memory space to point to the memory block (step S180).

由平台系統配置一新的記憶體區塊,並將記憶體區塊中之資料複製到新的記憶體區塊中(步驟S182)。由平台系統記錄新的記憶體區塊之位址於作為介面緩衝區之HOB(Hand-off block)(步驟S184)。其中,HOB是一種二進制資料結構,用來將資訊從HOB發射端傳遞至HOB接收端,詳細內容請參考Intel® Platform Innovation Framework for EFI Hand-off Block(HOB)Specification。 A new memory block is configured by the platform system and will The data in the memory block is copied into the new memory block (step S182). The address of the new memory block is recorded by the platform system as a HOB (Hand-off block) as an interface buffer (step S184). Among them, HOB is a binary data structure used to transfer information from the HOB transmitter to the HOB receiver. For details, please refer to the Intel® Platform Innovation Framework for EFI Hand-off Block (HOB) Specification.

在驅動程式執行階段(DXE Phase),平台系統於HOB中 讀取新的記憶體區塊之位址,以指向新的記憶體區塊,並將新的記憶體區塊中之資料對UEFI BIOS進行更新(步驟S186)。例如,平台系統將新的記憶體區塊中之映像檔之二進制資料來更新UEFI BIOS、或者將新的記憶體區塊中之金鑰序號之資料設定於UEFI BIOS中。 In the driver execution phase (DXE Phase), the platform system is in the HOB The address of the new memory block is read to point to the new memory block, and the data in the new memory block is updated to the UEFI BIOS (step S186). For example, the platform system updates the UEFI BIOS with the binary data of the image file in the new memory block, or sets the data of the key serial number in the new memory block to the UEFI BIOS.

本發明之上述作業系統與基本輸入輸出系統之間傳輸資料之方法可以一程式型態來完成,並可將該程式儲存於一記錄媒體,當電腦於該記錄媒體載入該程式並執行後,便可完成如上述說明及圖式中所示之方法步驟。 The method for transferring data between the above operating system and the basic input/output system of the present invention can be completed in a program mode, and the program can be stored in a recording medium. When the computer loads the program on the recording medium and executes it, The method steps as illustrated in the above description and the drawings can be completed.

同樣地,本發明之上述作業系統與基本輸入輸出系統之間傳輸資料之方法可以一電腦程式產品來完成,當電腦例如從網路下載該電腦程式產品並執行後,便可完成如上述說明及圖式中所示之方法步驟。 Similarly, the method for transmitting data between the above operating system and the basic input/output system of the present invention can be implemented by a computer program product. After the computer downloads the computer program product from the network, for example, the above description and The method steps shown in the figure.

本發明係提供一種作業系統與基本輸入輸出系統之間傳輸資料之方法、記錄媒體及電腦程式產品,其優點係以記憶體來取代記憶空間,因此無需使用以呼叫驅動程式VariableRuntimeDxe進行資料或資訊儲存於記憶空間中之方式,而可將資料或資訊傳送至UEFI BIOS。 The present invention provides a method for transferring data between an operating system and a basic input/output system, a recording medium, and a computer program product, the advantage of which is to replace the memory space with a memory, so that there is no need to use the call driver VariableRuntimeDxe for data or information storage. In the memory space, data or information can be transmitted to the UEFI BIOS.

雖然本發明已參照較佳具體例及舉例性附圖敘述如上,惟其應不被視為係限制性者。熟悉本技藝者對其形態及具體例之內容做各種修改、省略及變化,均不離開本發明之申請專利範圍之所主張範圍。 The present invention has been described above with reference to the preferred embodiments and the accompanying drawings, and should not be considered as limiting. Various modifications, omissions and changes may be made without departing from the scope of the invention.

Claims (10)

一種作業系統與基本輸入輸出系統之間傳輸資料之方法,其由一平台系統來實施,該方法包括下列步驟:在開機階段,設置一記憶體區塊;在作業系統階段,記錄對該基本輸入輸出系統進行更新之資料於該記憶體區塊中;以及在開機階段,讀取在該記憶體區塊中之資料以對該基本輸入輸出系統進行更新。 A method for transferring data between an operating system and a basic input/output system is implemented by a platform system, the method comprising the steps of: setting a memory block during the boot phase; and recording the basic input during the operating system phase The output system updates the data in the memory block; and during the boot phase, reads the data in the memory block to update the basic input/output system. 如申請專利範圍第1項之方法,進一步包括下列步驟:在設置該記憶體區塊之步驟之後,由開機階段進入作業系統階段;以及在記錄對該基本輸入輸出系統進行設定之資料於該記憶體區塊中之步驟之後,在作業系統階段重新開機。 The method of claim 1, further comprising the steps of: entering the operating system phase from the booting phase after the step of setting the memory block; and recording the data set for the basic input/output system in the memory After the steps in the body block, reboot in the operating system phase. 如申請專利範圍第1或2項之方法,其中,在設置該記憶體區塊之步驟包括下列步驟:在驅動程式執行階段,設置該記憶體區塊;記錄該記憶體區塊之位址於一即時服務介面函式及一記憶空間中;記錄該即時服務介面函式之進入點於該記憶體區塊中之一系統組態表;以及建立一通用可延伸韌體介面表於該記憶體區塊中,並將該系統組態表在該記憶體區塊中之位址記錄在該通用可延伸韌體介面表 中。 The method of claim 1 or 2, wherein the step of setting the memory block comprises the steps of: setting the memory block during a driver execution phase; recording the address of the memory block at An instant service interface function and a memory space; recording a system configuration table of the instant service interface function entry point in the memory block; and establishing a universal extendable firmware interface table in the memory In the block, and record the address of the system configuration table in the memory block in the universal extendable firmware interface table. in. 如申請專利範圍第1或2項之方法,其中,在設置該記憶體區塊之步驟包括下列步驟:在驅動程式執行階段,設置該記憶體區塊;記錄該記憶體區塊之位址於一即時服務介面函式及一記憶空間中;將在作業系統階段從該基本輸入輸出系統所要存取之資料記錄於該記憶體區塊中;記錄該即時服務介面函式之進入點於該記憶體區塊中之一系統組態表;以及建立一通用可延伸韌體介面表於該記憶體區塊中,並將該系統組態表在該記憶體區塊中之位址記錄在該通用可延伸韌體介面表中。 The method of claim 1 or 2, wherein the step of setting the memory block comprises the steps of: setting the memory block during a driver execution phase; recording the address of the memory block at An instant service interface function and a memory space; the data to be accessed from the basic input/output system in the operating system phase is recorded in the memory block; and the entry point of the instant service interface function is recorded in the memory a system configuration table in the body block; and establishing a universal extendable firmware interface table in the memory block, and recording the address of the system configuration table in the memory block in the general Extensible firmware interface table. 如申請專利範圍第1或2項之方法,其中,在記錄對該基本輸入輸出系統進行更新之資料於該記憶體區塊中之步驟包括下列步驟:在該記憶體區塊中之該通用可延伸韌體介面表讀取該系統組態表;在該系統組態表中找到該介面函數之進入點,以執行該介面函數;以及記錄對該基本輸入輸出系統進行更新之資料於該記憶體區塊中。 The method of claim 1 or 2, wherein the step of recording the updated data of the basic input/output system in the memory block comprises the step of: sharing the universal in the memory block Extending the firmware interface table to read the system configuration table; finding an entry point of the interface function in the system configuration table to execute the interface function; and recording information for updating the basic input/output system in the memory In the block. 如申請專利範圍第1或2項之方法,其中,在讀取在該記憶體區 塊中之資料以對該基本輸入輸出系統進行更新之步驟包括下列步驟:在預可延伸式韌體介面初始化階段,在該記憶空間中讀取該記憶體區塊之位址;配置一新的記憶體區塊,並將該記憶體區塊中之資料複製到該新的記憶體區塊中;記錄該新的記憶體區塊之位址於一介面緩衝區;以及在驅動程式執行階段,於該介面緩衝區中讀取該新的記憶體區塊之位址,以指向該新的記憶體區塊,將該新的記憶體區塊中之資料對該基本輸入輸出系統進行更新。 The method of claim 1 or 2, wherein the step of reading the data in the memory block to update the basic input/output system comprises the steps of: initializing the pre-extendable firmware interface Phase, reading the address of the memory block in the memory space; configuring a new memory block, and The data in the memory block is copied into the new memory block; the address of the new memory block is recorded in an interface buffer; and in the driver execution stage, the interface buffer is read. The address of the new memory block is taken to point to the new memory block, and the data in the new memory block is updated to the basic input/output system. 一種作業系統與基本輸入輸出系統之間傳輸資料之方法,其由一平台系統來實施,該方法包括下列步驟:設置一記憶體區塊;記錄該記憶體區塊之位址於一即時服務介面函式及一記憶空間中;記錄該即時服務介面函式之進入點於該記憶體區塊中之一系統組態表;建立一通用可延伸韌體介面表於該記憶體區塊中,並將該系統組態表在該記憶體區塊中之位址記錄在該通用可延伸韌體介面表中;由開機階段進入作業系統階段;在該記憶體區塊中之該通用可延伸韌體介面表讀取該系統組態 表;在該系統組態表中找到該介面函數之進入點,以執行該介面函數;記錄對該基本輸入輸出系統進行更新之資料於該記憶體區塊中;重新開機;在該記憶空間中讀取該記憶體區塊之位址;配置一新的記憶體區塊,並將該記憶體區塊中之資料複製到該新的記憶體區塊中;記錄該新的記憶體區塊之位址於一介面緩衝區;以及於該介面緩衝區中讀取該新的記憶體區塊之位址,以指向該新的記憶體區塊,將該新的記憶體區塊中之資料對該基本輸入輸出系統進行更新。 A method for transferring data between an operating system and a basic input/output system is implemented by a platform system, the method comprising the steps of: setting a memory block; recording the address of the memory block in an instant service interface a function and a memory space; recording an entry point of the instant service interface function in a system configuration table in the memory block; establishing a universal extendable firmware interface table in the memory block, and Recording, by the system configuration table, the address in the memory block in the universal extendable firmware interface table; entering the operating system phase from the booting phase; and the universal extendable firmware in the memory block The interface table reads the system configuration table; finds an entry point of the interface function in the system configuration table to execute the interface function; and records information for updating the basic input/output system in the memory block; Reboot; read the address of the memory block in the memory space; configure a new memory block, and The data in the memory block is copied into the new memory block; the address of the new memory block is recorded in an interface buffer; and the new memory is read in the interface buffer The address of the block is directed to the new memory block, and the data in the new memory block is updated to the basic input/output system. 如申請專利範圍第7項之方法,其中,在設置該記憶體區塊之步驟更包括下列步驟:將在作業系統階段從該基本輸入輸出系統所要存取之資料記錄於該記憶體區塊中。 The method of claim 7, wherein the step of setting the memory block further comprises the step of: recording, in the memory block, data to be accessed from the basic input/output system during the operating system phase. . 一種內儲一程式之記錄媒體,當一平台系統於該記錄媒體載入該程式並執行後,可完成申請專利範圍第1至8項中任一項之方法。 A recording medium storing a program, when a platform system loads and executes the program on the recording medium, the method of claiming any one of claims 1 to 8 can be completed. 一種內儲一程式之電腦程式產品,當一平台系統於電腦程式產品載入該程式並執行後,可完成申請專利範圍第1至8項中任一項之方法。 A computer program product that stores a program, and when a platform system is loaded into the program and executed by the computer program product, the method of claiming any one of claims 1 to 8 can be completed.
TW102138415A 2013-10-24 2013-10-24 A method of transferring data between a working system and a basic input / output system, a recording medium, and a computer program product TWI499978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102138415A TWI499978B (en) 2013-10-24 2013-10-24 A method of transferring data between a working system and a basic input / output system, a recording medium, and a computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102138415A TWI499978B (en) 2013-10-24 2013-10-24 A method of transferring data between a working system and a basic input / output system, a recording medium, and a computer program product

Publications (2)

Publication Number Publication Date
TW201516868A true TW201516868A (en) 2015-05-01
TWI499978B TWI499978B (en) 2015-09-11

Family

ID=53720392

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102138415A TWI499978B (en) 2013-10-24 2013-10-24 A method of transferring data between a working system and a basic input / output system, a recording medium, and a computer program product

Country Status (1)

Country Link
TW (1) TWI499978B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6732267B1 (en) * 2000-09-11 2004-05-04 Dell Products L.P. System and method for performing remote BIOS updates
TW201232401A (en) * 2011-01-20 2012-08-01 Elitegroup Computer Systems Co Ltd BIOS updating system and method, computer readable recording medium having BIOS updating program stored therein, and its computer program products
WO2013032448A1 (en) * 2011-08-30 2013-03-07 Hewlett-Packard Development Company, L.P. Bios network access
TWI441081B (en) * 2011-11-04 2014-06-11 Asrock Inc Method for flashing firmware and booting method and electronic apparatus using the method thereof

Also Published As

Publication number Publication date
TWI499978B (en) 2015-09-11

Similar Documents

Publication Publication Date Title
US11216206B2 (en) Method of operating data storage device
US10635450B2 (en) Electronic device performing booting operation based on boot-up instruction provided from endpoint device
US11789718B2 (en) System and method for subscription based solution modification implementation
CN105579953A (en) Flexible bootstrap code architecture
US10732889B2 (en) Information handling system with multi-key secure erase of distributed namespace
US10635311B2 (en) Information handling system with reduced reset during dual in-line memory module goal reconfiguration
US10324775B2 (en) Method for bidirectional calling between open system and mainframe system performed by computing device
TWI517047B (en) Pinning boot data for faster boot
WO2008138258A1 (en) Peripheral device operation method, peripheral device and host
TWI475485B (en) Firmware flashing method and related computer system
WO2025161378A1 (en) Server startup method, apparatus and system, and non-volatile readable storage medium and electronic device
US10466919B2 (en) Information handling system with elastic configuration pools in flash dual in-line memory modules
JP6588595B2 (en) Storage device, recording method, and prefetch method
US20140372745A1 (en) Booting a server using a remote read-only memory image
US12112050B2 (en) Microservice storage device system
US20240231677A9 (en) Reconfigurable microservice storage device system
TWI493463B (en) Electronic device, universal extension firmware interface Basic input and output system firmware update method, recording media and computer program products
CN104808953A (en) Device and method for controlling data storage and mobile terminal
US11340882B2 (en) Systems and methods for enforcing update policies while applying updates from bootable image file
TWI499978B (en) A method of transferring data between a working system and a basic input / output system, a recording medium, and a computer program product
US11966609B1 (en) Zoned namespace storage device system
US20160077959A1 (en) System and Method for Sharing a Solid-State Non-Volatile Memory Resource
US12524257B2 (en) Information processing system including multiple storages, information processing apparatus, method of controlling the same, and storage medium
CN113950673B (en) Non-volatile storage partition identifier
US20170083235A1 (en) Device capable of using external volatile memory and device capable of releasing internal volatile memory