搜尋此網誌

2011年5月31日 星期二

EFI Shell commands -- DISCONNECT(分開鏈結一個或多個EFI驅動程式到一個裝置)

Disconnects one or more EFI drivers from a device.

DISCONNECT DeviceHandle [DriverHandle [ChildHandle]]
DISCONNECT -r


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

Note:
    1. If the 'DriverHandle' parameter is not specified, the default is to
       disconnect 'DeviceHandle'.
    2. If the 'ChildHandle' parameter is not specified, the default is to
       disconnect all child handles of the 'DeviceHandle'.
    3. If the '-r' option is specified, all drivers will be disconnected from
       all devices in the system. In this case, no other parameters are
       allowed.
    4. This command does not support output redirection.

Examples:
  * To disconnect all drivers from all devices:
    Shell> disconnect -r

  * To disconnect all drivers from device 0x28:
    fs0:\> disconnect 28

  * To disconnect driver 0x17 from device 0x28:
    fs0:\> disconnect 28 17

  * To disconnect driver 0x17 from controlling the child 0x32 of device 0x28
    fs0:\> disconnect 28 17 32

沒有留言:

張貼留言