systemc: Stop using python init to set up predefined message ids.
authorGabe Black <gabeblack@google.com>
Wed, 7 Nov 2018 06:54:45 +0000 (22:54 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 9 Nov 2018 01:25:54 +0000 (01:25 +0000)
commit296402abdfac1bcab998cb8613d14e65e671ddda
tree7a9ce75c6dd04f04952c0bcd1df63f6ba2289e8d
parent1c110fafffdf82034e34146f90729ad92865238d
systemc: Stop using python init to set up predefined message ids.

We can now be sure register_id will work even mid static initializers,
so we don't have to use python initialization as a hook to install
these predefined message ids.

Change-Id: I2e4d0c678ddda0a9ce5b114bdf1710f36e955f23
Reviewed-on: https://gem5-review.googlesource.com/c/13976
Maintainer: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/systemc/utils/report.cc
src/systemc/utils/report.hh