Commit Graph

30 Commits

Author SHA1 Message Date
0d32dac7c3 Some fixes and missing comments for restore-mechanism.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1236 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-05-16 12:02:28 +00:00
08c8b05b96 SALConfig.hpp simplified (#if).
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1210 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-05-09 09:14:42 +00:00
5eeda5a2a6 OVP_SAL: save/restore added
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1207 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-05-05 07:59:02 +00:00
544d4949f8 compile-warning removed...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1167 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-25 11:10:50 +00:00
hsc
35e9c40abe bugfix: another copy/paste fail (64-bit vs. 32-bit Bochs interfacing)
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1128 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-20 12:54:36 +00:00
hsc
8a306f8931 Bochs-internal hacks
- CPU-loop function loses unused pInstr parameter
- restore functionality in handleAsyncEvent moves *before* idle loop to
  make sure we catch restore requests right before falling asleep

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1120 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-19 18:02:10 +00:00
hsc
4c9ff80d79 SimulatorController: document important restore() side-effect
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1104 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-18 14:19:15 +00:00
d96d3c4c5b some changes on interrupt triggering and suppression
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1100 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-18 13:25:33 +00:00
hsc
0ed3295fda bugfix: bad typo in event management causing bad SEGV
It compiles, let's ship it!

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1092 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-17 17:56:20 +00:00
hsc
32002049c5 FailBochs: access to more CPU flags
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1076 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-16 11:42:23 +00:00
9a31ce2b04 bugfix
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1058 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-12 09:56:41 +00:00
hsc
c368e4bfeb a few FIXMEs
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1036 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-10 16:43:55 +00:00
hsc
ec2e658bec bugfix: correct save aspect ordering
I broke this in r977 ... :-(

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1035 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-10 16:43:52 +00:00
hsc
305c289730 SimCtl::terminate doesn't return
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1028 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-04 16:06:06 +00:00
hsc
7b30b33fc3 MemoryManager::get/setBytes: std::vector -> void*
Feels way more useful for the experiment I'm working on.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1026 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-04 16:06:01 +00:00
hsc
f3855293ca bugfix: properly remove remaining events of terminating experiment
Before this commit, EventList::getEventsOf() broke when *two* experiment
flows terminated in direct succession: (*it)->getParent() fails if the
underlying event doesn't exist anymore.

To fix this, I moved the event removal from SimulatorController to
EventList::remove(flow), and made it work on the internal event list
magic similarly to EventList::remove(event).

And I tested it with a few known-working experiments.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1022 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-03 14:05:24 +00:00
hsc
ccc8d4e4c5 GuestEvents work correctly
... although Adrian obviously hasn't tested them at all.  Not sure whether
that's good or bad.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1021 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-03 14:05:21 +00:00
hsc
a11b65230d SimCtrl: no need for virtual functions we don't plan to override soon
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1020 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-03 14:05:19 +00:00
hsc
cae7e8ade2 removing OVPController cruft
These interface functions were highly BochsController specific and need
not be implemented in OVPController for now.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1019 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-03 14:05:17 +00:00
hsc
8095335bf3 moving terminate() to SimulatorController
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1017 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-04-03 14:05:12 +00:00
8663f008a3 BochsController.cc is back
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1013 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-30 15:35:41 +00:00
70a5084759 forgotten aspect...
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1012 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-30 15:25:46 +00:00
2a979ba25c interrupts can now be fired
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1010 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-30 14:32:26 +00:00
hsc
f15586cb60 fixed compiler warning
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1007 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-21 18:40:23 +00:00
hsc
f9d8469114 proper naming for Breakpoints aspect
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@977 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-12 08:51:50 +00:00
hsc
35decda01b consistent header suffix
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@960 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-08 22:54:10 +00:00
hsc
a09fa19c1f disable_keyboard_interrupt compiles now
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@959 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-08 22:54:08 +00:00
hsc
97534f7a19 treat AspectConfig like other configuration headers
This is temporary; we need a proper configuration tool for this.
 - AspectConfig.hpp moves to config/AspectConfig.hpp.in
 - generate configuration in build tree

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@958 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-08 22:54:05 +00:00
hsc
e5fea2dbcd variant_config.h.in moves to config/
... and is instantiated in the build tree now.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@957 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-08 22:54:02 +00:00
hsc
b70b6fb43a another directory rename: failstar -> fail
"failstar" sounds like a name for a cruise liner from the 80s.  As "*" isn't a
desirable part of directory names, just name the whole thing "fail/", the core
parts being stored in "fail/core/".

Additionally fixing two build system dependency issues:
 - missing jobserver -> protomessages dependency
 - broken bochs -> fail dependency (add_custom_target DEPENDS only allows plain
   file dependencies ... cmake for the win)


git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@956 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
2012-03-08 19:43:02 +00:00