diff --git a/fpga/include/villas/memory_manager.hpp b/fpga/include/villas/memory_manager.hpp index 877456abe..387f5c0a2 100644 --- a/fpga/include/villas/memory_manager.hpp +++ b/fpga/include/villas/memory_manager.hpp @@ -115,7 +115,7 @@ private: return stream << static_cast(mapping) << " = " << mapping.name << std::hex - << "(src=0x" << mapping.src + << " (src=0x" << mapping.src << ", dest=0x" << mapping.dest << ", size=0x" << mapping.size << ")"; @@ -160,6 +160,10 @@ public: getProcessAddressSpace() { return getOrCreateAddressSpace("villas-fpga"); } + AddressSpaceId + getPciAddressSpace() + { return getOrCreateAddressSpace("PCIe"); } + AddressSpaceId getProcessAddressSpaceMemoryBlock(const std::string& memoryBlock) { return getOrCreateAddressSpace(getSlaveAddrSpaceName("villas-fpga", memoryBlock)); }