Added: 17
PROTOCOLS
DriverRegistrar
Defined in fuchsia.driver.registrar/driver-registrar.fidl
Protocol for registering ephemeral driver packages.
Register
Informs the driver framework of an ephemeral driver. The metadata will be cached by the driver index to be used in future matching operations.
- error a zx_status value indicating failure. One of the following:
ZX_ERR_PROTOCOL_NOT_SUPPORTEDif the ephermeral driver configenable_ephemeral_driversis not enabled.ZX_ERR_ACCESS_DENIEDif the device does not have permissions to fetch the package.ZX_ERR_ALREADY_EXISTSif the driver component being registered already exists in the boot or base drivers list.ZX_ERR_NOT_FOUNDif the package does not exist or it is missing a manifest or /pkg directory.ZX_ERR_IOif there is some other unspecified error during I/O.ZX_ERR_ADDRESS_UNREACHABLEif the package resolver does not know about the repo or the url cannot be parsed.ZX_ERR_INVALID_ARGSif the component decl cannot be parsed.ZX_ERR_NO_SPACEif the device is out of space.ZX_ERR_UNAVAILABLEif the package resolver could not be reached.ZX_ERR_INTERNALif an unspecified error was encountered.
Request
| Name | Type |
|---|---|
driver_url |
fuchsia.url/Url
|
Response
| Name | Type |
|---|---|
payload |
DriverRegistrar_Register_Result
|
STRUCTS
DriverRegistrar_Register_Response
Defined in fuchsia.driver.registrar/driver-registrar.fidl
<EMPTY>
UNIONS
DriverRegistrar_Register_Result strict
Defined in fuchsia.driver.registrar/driver-registrar.fidl
| Ordinal | Variant | Type | Description |
|---|---|---|---|
1 |
response |
DriverRegistrar_Register_Response
|
|
2 |
err |
zx/Status
|
|
3 |
framework_err |
internal
|