zx_pci_init

总结

此函数已过时,不应使用。

声明

#include <zircon/syscalls.h>

zx_status_t zx_pci_init(zx_handle_t handle,
                        const zx_pci_init_arg_t* init_buf,
                        uint32_t len);

说明

此函数已过时,不应使用。驱动程序应改用 PCI 协议。通常情况下,您可以通过 device_get_protocol()bind() 函数中获取此协议。

权限

handle 必须具有资源种类 ZX_RSRC_KIND_MMIO

返回值

TODO(https://fxbug.dev/42108078)

错误

TODO(https://fxbug.dev/42108078)

另请参阅

TODO(https://fxbug.dev/42108078)