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:
@ -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