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