SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
kernel_state_modifier.h
Go to the documentation of this file.
1
/*
2
© 2018 Intel Corporation
3
4
This software and the related documents are Intel copyrighted materials, and
5
your use of them is governed by the express license under which they were
6
provided to you ("License"). Unless the License provides otherwise, you may
7
not use, modify, copy, publish, distribute, disclose or transmit this software
8
or the related documents without Intel's prior written permission.
9
10
This software and the related documents are provided as is, with no express or
11
implied warranties, other than those that are expressly stated in the License.
12
*/
13
14
#ifndef SIMICS_SYSTEMC_KERNEL_STATE_MODIFIER_H
15
#define SIMICS_SYSTEMC_KERNEL_STATE_MODIFIER_H
16
17
#include <
simics/systemc/iface/simulation_interface.h
>
18
#include <
simics/systemc/kernel_state_comparator.h
>
19
20
#include <systemc>
21
22
#include <unordered_map>
23
24
namespace
simics
{
25
namespace
systemc {
26
31
class
KernelStateModifier
{
32
public
:
33
explicit
KernelStateModifier
(
iface::SimulationInterface
*simulation);
34
virtual
~KernelStateModifier
();
35
36
private
:
37
static
std::unordered_map<sc_core::sc_simcontext *,
38
KernelStateComparator
> comparators_;
39
};
40
41
}
// namespace systemc
42
}
// namespace simics
43
44
#endif
simics::systemc::KernelStateComparator
Definition:
kernel_state_comparator.h:26
simics::systemc::KernelStateModifier
Definition:
kernel_state_modifier.h:31
simics::systemc::KernelStateModifier::~KernelStateModifier
virtual ~KernelStateModifier()
simics::systemc::KernelStateModifier::KernelStateModifier
KernelStateModifier(iface::SimulationInterface *simulation)
simics::systemc::iface::SimulationInterface
Interface to the SystemC simulation.
Definition:
simulation_interface.h:25
kernel_state_comparator.h
simics
Definition:
adapter.h:79
simulation_interface.h