14#ifndef SIMICS_SYSTEMC_KERNEL_H
15#define SIMICS_SYSTEMC_KERNEL_H
29 explicit Kernel(sc_core::sc_simcontext *context)
30 : former_context_(
sc_core::sc_curr_simcontext) {
31 sc_core::sc_default_global_context = context;
32 sc_core::sc_curr_simcontext = context;
35 sc_core::sc_default_global_context = former_context_;
36 sc_core::sc_curr_simcontext = former_context_;
39 sc_core::sc_simcontext *former_context_;
Utility class that reset the current context to the previous one upon leaving current scope.
Definition: kernel.h:27
Kernel(sc_core::sc_simcontext *context)
Definition: kernel.h:29
~Kernel()
Definition: kernel.h:34
Definition: argument_registry.h:24