Skip to content

Commit

Permalink
[CORRECTIVE] Fix dts generator test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
epekkar committed Dec 5, 2023
1 parent 0ccba08 commit aff895f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#include <IPXACTmodels/Component/AddressBlock.h>
#include <IPXACTmodels/Component/AddressSpace.h>
#include <IPXACTmodels/Component/BusInterface.h>
#include <IPXACTmodels/Component/MasterInterface.h>
#include <IPXACTmodels/Component/SlaveInterface.h>
#include <IPXACTmodels/Component/MirroredSlaveInterface.h>
#include <IPXACTmodels/Component/InitiatorInterface.h>
#include <IPXACTmodels/Component/TargetInterface.h>
#include <IPXACTmodels/Component/MirroredTargetInterface.h>
#include <IPXACTmodels/Component/TransparentBridge.h>
#include <IPXACTmodels/Component/Cpu.h>

Expand Down Expand Up @@ -1305,7 +1305,7 @@ QSharedPointer<BusInterface> tst_LinuxDeviceTreeGenerator::createMasterBusInterf

if (referencedSpace)
{
QSharedPointer<MasterInterface> newMasterInterface(new MasterInterface());
QSharedPointer<InitiatorInterface> newMasterInterface(new InitiatorInterface());
newMasterInterface->setAddressSpaceRef(referencedSpace->name());
newMasterBus->setMaster(newMasterInterface);
}
Expand All @@ -1321,7 +1321,7 @@ QSharedPointer<BusInterface> tst_LinuxDeviceTreeGenerator::createSlaveBusInterfa
{
QSharedPointer<BusInterface> newSlaveBus = createBusInterface(busName, General::SLAVE, containingComponent);

QSharedPointer<SlaveInterface> newSlaveInterface(new SlaveInterface());
QSharedPointer<TargetInterface> newSlaveInterface(new TargetInterface());

if (referencedMap)
{
Expand All @@ -1342,7 +1342,7 @@ QSharedPointer<BusInterface> tst_LinuxDeviceTreeGenerator::createMirroredSlaveBu
QSharedPointer<BusInterface> newMirrorSlaveBus =
createBusInterface(busName, General::MIRROREDSLAVE, containingComponent);

QSharedPointer<MirroredSlaveInterface> newMirrorSlaveInterface(new MirroredSlaveInterface());
QSharedPointer<MirroredTargetInterface> newMirrorSlaveInterface(new MirroredTargetInterface());
newMirrorSlaveInterface->setRange(remapRange);
newMirrorSlaveInterface->setRemapAddress(remapAddress);

Expand Down

0 comments on commit aff895f

Please sign in to comment.