Fixes to compile OVP platform + bugfix in statreg
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1144 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -12,4 +12,4 @@ add_dependencies(ovp_cortexM3 protomessages )
|
||||
|
||||
target_link_libraries(ovp_cortexM3 ${SIM_LDFLAGS} SAL controller jobserver util )
|
||||
## OVP links all needed shared libraries via a runtimeloader
|
||||
set_target_properties(ovp_cortexM3 PROPERTIES LINK_FLAGS "-L${CMAKE_BINARY_DIR}/lib -lfail -lpcl -m32 ")
|
||||
set_target_properties(ovp_cortexM3 PROPERTIES LINK_FLAGS "-L${CMAKE_BINARY_DIR}/lib -lpcl -m32 ")
|
||||
|
||||
@ -356,7 +356,7 @@ int main(int argc, char **argv) {
|
||||
arm.makeSTRegister();
|
||||
arm.makePCRegister();
|
||||
|
||||
sal::simulator.finishedRegisterCreation();
|
||||
// sal::simulator.finishedRegisterCreation();
|
||||
|
||||
arm.startSimulation(argv[1]);
|
||||
}
|
||||
|
||||
@ -53,6 +53,8 @@ class CortexM3StatusRegister : public OVPStatusRegister {
|
||||
// OR with 0x00010000 (e.g.)
|
||||
val = val | bit;
|
||||
}
|
||||
|
||||
icmWriteRegInfoValue(cpuP, cpsr, (void *)&val);
|
||||
}
|
||||
|
||||
bool getSignFlag() const {
|
||||
|
||||
Reference in New Issue
Block a user