[mgsim-refactor] Fixed deadlock detection bug.
[mgsim-refactor] Fixed deadlock detection bug.

The family table has no notion of reserved contexts, but for code simplicity it still allocates space for a reserved contexts counter. For deadlock detection, the sum of all free context types is calculated (which should be equal to the total family table size, iff there is no deadlock).

However, the reserved context counter was uninitialized, meaning the sum is non-deterministic, leading to false deadlock reports.



git-svn-id: c257622338fa90c299bfd3fbe1eee5dac8caa856@4436 e97e5017-a994-416e-809d-76780e9f78db

Bitblade-org/mgsim,Bitblade-org/mgsim,Bitblade-org/mgsim,Bitblade-org/mgsim