摘要 |
Techniques for the BIOS to install a file into the runtime environment of an operating system of a computer. A system management interrupt (SMI) handler, resident within the BIOS, receives a first request. The SMI handler identifies an address in memory at which a first file is to be stored, and determines how to access a function provided by a kernel of the operating system. The SMI handler calls the function using the address as an argument to create a thread in the runtime environment of the operating system. Upon the SMI handler receiving a request from the thread, the SMI handler stores a second file in the memory of the runtime environment of the operating system. The thread may, but need not, store the second file to a file system provided by the operating system. In this way, the BIOS need not include a driver to the file system.
|