class FakeAllocation
Defined at line 24 of file ../../src/devices/pci/drivers/pci/test/fakes/fake_allocator.h
In integration tests, DriverTestRealm tears down the fake bus driver
at realm shutdown. For isolated unit tests, FakeAllocation instances
provide backing memory without requiring bus driver teardown tracking.
Public Methods
void FakeAllocation (pci_address_space_ttype,std::optional<zx_paddr_t>base,size_tsize,zx::resourceresource)
Defined at line 26 of file ../../src/devices/pci/drivers/pci/test/fakes/fake_allocator.h
zx_paddr_t base ()
Defined at line 33 of file ../../src/devices/pci/drivers/pci/test/fakes/fake_allocator.h
size_t size ()
Defined at line 34 of file ../../src/devices/pci/drivers/pci/test/fakes/fake_allocator.h
zx::result<zx::vmo> CreateVmo ()
Defined at line 35 of file ../../src/devices/pci/drivers/pci/test/fakes/fake_allocator.h
zx::result<zx::resource> CreateResource ()
Defined at line 44 of file ../../src/devices/pci/drivers/pci/test/fakes/fake_allocator.h