搜尋此網誌

2011年5月31日 星期二

EFI Shell commands -- RECONNECT(重新連結一個或多個EFI驅動程式到一個裝置)

Reconnects one or more EFI drivers to a device.

RECONNECT DeviceHandle [DriverHandle [ChildHandle]]
RECONNECT -r


    DeviceHandle - Device handle in hexadecimal format
    DriverHandle - Driver handle in hexadecimal format
    ChildHandle  - Child handle of device in hexadecimal format
    -r           - Reconnect drivers to all devices

Note:
    1. This command disconnects the drivers from the controller similar to
       'DISCONNECT'.  The main difference is this command then immediately
       reconnects all drivers recursively.
    2. If no 'DriverHandle' parameter is specified, all drivers on the
       specified device will be the default.
    3. If no 'ChildHandle' parameter is specified, all child handles of the
       specified device will be the default.
    4. If 'DriverHandle' parameter is provided, the specified driver will have
       highest priority on connecting the device(s).
    5. If the '-r' option is specified, any drivers that are binding to any
       devices will be disconnected first and then connected recursively.
    6. This command is a great way to test if drivers are compliant with the
       EFI 1.10 Driver Model.
    7. This command does not support output redirection.

Examples:
  * To reconnect all drivers to all devices:
    Shell> reconnect -r

  * To reconnect all drivers to device 0x28:
    fs0:\> reconnect 28

  * To disconnect 0x17 from 0x28 then reconnect drivers with 0x17 as highest
    priority to device 0x28:
    fs0:\> reconnect 28 17

  * To disconnect 0x17 from 0x28 destroying child 0x32 then reconnect drivers
    with 0x17 as highest priority to device 0x28
    fs0:\> reconnect 28 17 32

沒有留言:

張貼留言