搜尋此網誌

2011年5月30日 星期一

EFI Shell commands -- LOAD(載入驅動程式)

Loads and optionally connects one or more EFI drivers.

LOAD [-nc] file [file...]

    -nc      - Loads but does not connect the driver
    file      - EFI driver image file (wildcards are permitted)

Note:
    1. LOAD can deal with multiple files and supports wildcards.
    2. If the -nc option is not specified, then the loaded drivers will be
       automatically connected. If -nc is specified, then none of the loaded
       drivers will be connected. Loading without -nc could cause the
       previously loaded drivers to be connected. This is compliant with the
       EFI Specification.
    3. Use the 'UNLOAD' command to unload a driver.

Examples:
 * To load a driver:
   fs0:\> load Isabus.efi
   load: Image 'fs0:\Isabus.efi' loaded at 18FE000 - Success

 * To load multiple drivers:
   fs0:\> load Isabus.efi IsaSerial.efi
   load: Image 'fs0:\Isabus.efi' loaded at 18E5000 - Success
   load: Image 'fs0:\IsaSerial.efi' loaded at 18DC000 - Success

 * To load multiple drivers using filename wildcards:
   fs0:\> load Isa*.efi
   load: Image 'fs0:\IsaBus.efi' loaded at 18D4000 - Success
   load: Image 'fs0:\IsaSerial.efi' loaded at 18CB000 - Success

 * To load a driver without connecting:
   fs0:\> load -nc IsaBus.efi
   load: Image 'fs0:\Isabus.efi' loaded at 18FE000 - Success

沒有留言:

張貼留言