class PciAllocator
Defined at line 139 of file ../../src/devices/bus/drivers/pci/allocation.h
The base class for Root
&
Region allocators used by UpstreamNodes
Public Methods
zx::result<std::unique_ptr<PciAllocation>> Allocate (std::optional<zx_paddr_t> base, size_t size)
Request a region of address space spanning from |base| to |base| + |size|
for a downstream device or bridge. If |base| is nullopt then the region can be
allocated from any base.
void ~PciAllocator ()
Defined at line 141 of file ../../src/devices/bus/drivers/pci/allocation.h
void PciAllocator (const PciAllocator & )
Delete Copy and Assignment ctors
Defined at line 143 of file ../../src/devices/bus/drivers/pci/allocation.h
void PciAllocator (PciAllocator && )
Delete Copy and Assignment ctors
Defined at line 143 of file ../../src/devices/bus/drivers/pci/allocation.h
PciAllocator & operator= (const PciAllocator & )
Delete Copy and Assignment ctors
Defined at line 143 of file ../../src/devices/bus/drivers/pci/allocation.h
PciAllocator & operator= (PciAllocator && )
Delete Copy and Assignment ctors
Defined at line 143 of file ../../src/devices/bus/drivers/pci/allocation.h
zx_status_t SetParentAllocation (std::unique_ptr<PciAllocation> alloc)
Provide this allocator with a PciAllocation, granting it ownership of that
range of address space for calls to Allocate.
Defined at line 151 of file ../../src/devices/bus/drivers/pci/allocation.h
pci_address_space_t type ()
Defined at line 155 of file ../../src/devices/bus/drivers/pci/allocation.h
Protected Methods
void PciAllocator (pci_address_space_t type)
Defined at line 158 of file ../../src/devices/bus/drivers/pci/allocation.h
void PciAllocator ()
Defined at line 159 of file ../../src/devices/bus/drivers/pci/allocation.h