zx_pci_map_中斷

摘要

這個函式已過時,不應使用。

宣告

#include <zircon/syscalls.h>

zx_status_t zx_pci_map_interrupt(zx_handle_t handle,
                                 int32_t which_irq,
                                 zx_handle_t* out_handle);

說明

這個函式已過時,不應使用。驅動程式通常會改用 PCI 通訊協定,一般來說,您可以透過 device_get_protocol()bind() 函式中取得這項資訊。

權限

handle 必須是 ZX_OBJ_TYPE_PCI_DEVICE 類型,且包含 ZX_RIGHT_READ

傳回值

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

錯誤

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

另請參閱

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