blob: b595960717ee12bb8fb218727c5f7ca21597a6bf [file] [log] [blame] [view] [edit]
<!-- Generated by zircon/scripts/update-docs-from-fidl, do not edit! -->
# zx_pci_get_bar
## Summary
This function is obsolete and should not be used.
## Declaration
```c
#include <zircon/syscalls.h>
zx_status_t zx_pci_get_bar(zx_handle_t handle,
uint32_t bar_num,
zx_pci_bar_t* out_bar,
zx_handle_t* out_handle);
```
## Description
This function is obsolete and should not be used. Drivers should instead get the PCI Base Address
Register information from the [PCI driver
interface](/docs/development/drivers/concepts/driver_development/bar.md);
## Rights
*handle* must be of type **ZX_OBJ_TYPE_PCI_DEVICE** and have **ZX_RIGHT_READ** and have **ZX_RIGHT_WRITE**.
## Return value
TODO(fxbug.dev/32938)
## Errors
TODO(fxbug.dev/32938)
## See also
TODO(fxbug.dev/32938)