systemc: Make some functions of the kernel static.
authorGabe Black <gabeblack@google.com>
Sat, 21 Jul 2018 02:23:58 +0000 (19:23 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 11 Sep 2018 21:44:35 +0000 (21:44 +0000)
commit3224bc355464bfa6bac924e6fa6d6d507700e3ff
treef35c31b2748ea0cebb4ff303e642371f76e14ede
parent81b6ef4478c014a77bd0253d316ab3d349ad8ac8
systemc: Make some functions of the kernel static.

This makes it possible to call them without having to have a kernel
instance available. The kernel is a singleton anyway, so there should
only ever be a single instance of any of these values.

Change-Id: I3610d60cc72e9f3114997fe63db94b96ccaac3cd
Reviewed-on: https://gem5-review.googlesource.com/12041
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/kernel.cc
src/systemc/core/kernel.hh
src/systemc/core/sc_main.cc