class PciAllocation

Defined at line 64 of file ../../src/devices/pci/drivers/pci/allocation.h

Public Methods

zx::result<zx::vmo> CreateVmo ()

Create a VMO bounded by the base/size of this allocation using the

provided resource. This is used to provide VMOs for device BAR

allocations.

Defined at line 23 of file ../../src/devices/pci/drivers/pci/allocation.cc

zx::result<zx::resource> CreateResource ()

Create a resource for use with zx_ioports_request in the device driver.

Defined at line 34 of file ../../src/devices/pci/drivers/pci/allocation.cc

void PciAllocation (const PciAllocation & )

Delete Copy and Assignment ctors

Defined at line 67 of file ../../src/devices/pci/drivers/pci/allocation.h

zx_paddr_t base ()
PciAllocation & operator= (const PciAllocation & )

Delete Copy and Assignment ctors

Defined at line 67 of file ../../src/devices/pci/drivers/pci/allocation.h

size_t size ()
void ~PciAllocation ()

Defined at line 69 of file ../../src/devices/pci/drivers/pci/allocation.h

fuchsia_hardware_pci_root::AddressSpace type ()

Defined at line 78 of file ../../src/devices/pci/drivers/pci/allocation.h

Protected Methods

void PciAllocation (fuchsia_hardware_pci_root::AddressSpace type, zx::resource && resource)

Defined at line 81 of file ../../src/devices/pci/drivers/pci/allocation.h

const zx::resource & resource ()

Defined at line 83 of file ../../src/devices/pci/drivers/pci/allocation.h

Friends

class Device
class PciRegionAllocator