class PciRegionAllocator

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

PciRegionAllocators are a wrapper around RegionAllocators to allow Bridge

objects to implement the UpstreamNode interface by using regions that they

are provided by nodes further upstream. They hand out PciRegionAllocations

which will release allocations back upstream if they go out of scope.

Public Methods

zx::result<std::unique_ptr<PciAllocation>> Allocate (std::optional<zx_paddr_t> base, size_t size)

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

zx_status_t SetParentAllocation (std::unique_ptr<PciAllocation> alloc)

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

void ~PciRegionAllocator ()

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

pci_address_space_t type ()

Region allocators are unique in that they derive their time from their backing allocation.

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