16#ifndef SIMICS_SYSTEMC_KERNEL_H
17#define SIMICS_SYSTEMC_KERNEL_H
31 explicit Kernel(sc_core::sc_simcontext *context)
32 : former_context_(
sc_core::sc_curr_simcontext), context_(context) {
33 sc_core::sc_default_global_context = context;
34 sc_core::sc_curr_simcontext = context;
37 sc_core::sc_default_global_context = former_context_;
38 sc_core::sc_curr_simcontext = former_context_;
41 sc_core::sc_simcontext *former_context_;
42 sc_core::sc_simcontext *context_;
Utility class that reset the current context to the previous one upon leaving current scope.
Definition: kernel.h:29
Kernel(sc_core::sc_simcontext *context)
Definition: kernel.h:31
~Kernel()
Definition: kernel.h:36
Definition: argument_registry.h:26
Definition: pci_bus_interface.h:24