mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
common/memory: provide getPciAddressSpace() for a common PCIe address space
This commit is contained in:
parent
1470490747
commit
2477ed4b4b
1 changed files with 5 additions and 1 deletions
|
@ -115,7 +115,7 @@ private:
|
|||
return stream << static_cast<const Edge&>(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)); }
|
||||
|
|
Loading…
Add table
Reference in a new issue