template <typename GpuMapping, typename AddressSpaceBase>
class FakeAllocatingAddressSpace
Defined at line 17 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
AddressSpaceBase is the base class of the FakeAllocatingAddresSpace, could be
magma::AddressSpace or some derivative.
AddressSpaceBase should be templated by GpuMapping; this is checked via static_assert.
Public Methods
void FakeAllocatingAddressSpace<GpuMapping, AddressSpaceBase> (magma::AddressSpaceOwner *owner,uint64_tbase,uint64_tsize)
Defined at line 22 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
uint64_t Size ()
Defined at line 25 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
bool AllocLocked (size_tsize,uint8_talign_pow2,uint64_t *addr_out)
Defined at line 27 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
bool FreeLocked (uint64_t addr)
Defined at line 36 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
bool ClearLocked (uint64_t addr, magma::PlatformBusMapper::BusMapping * bus_mapping)
Defined at line 44 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
bool InsertLocked (uint64_taddr,magma::PlatformBusMapper::BusMapping *bus_mapping,uint32_tguard_page_count)
Defined at line 52 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
bool is_allocated (uint64_t addr)
Defined at line 61 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
bool is_clear (uint64_t addr)
Defined at line 68 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h
uint64_t allocated_size (uint64_t addr)
Defined at line 74 of file ../../src/graphics/magma/lib/magma_service/mock/fake_address_space.h