class PciAllocation

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

Public Methods

void PciAllocation (const PciAllocation & )

Delete Copy and Assignment ctors

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

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

Delete Copy and Assignment ctors

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

size_t size ()
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/bus/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/bus/drivers/pci/allocation.cc

void ~PciAllocation ()

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

pci_address_space_t type ()

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

Protected Methods

void PciAllocation (pci_address_space_t type, zx::resource && resource)

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

const zx::resource & resource ()

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

Friends

class Device
class PciRegionAllocator