SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
pci_express.h
Go to the documentation of this file.
1
/*
2
© 2015 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_SIMICS2TLM_PCI_EXPRESS_H
15
#define SIMICS_SYSTEMC_SIMICS2TLM_PCI_EXPRESS_H
16
17
#if defined SIMICS_6_API || defined SHOW_OBSOLETE_API
18
19
#include <
simics/systemc/simics2tlm/gasket_owner.h
>
20
#include <
simics/systemc/simics2tlm/extension_sender.h
>
21
#include <
simics/systemc/iface/pci_express_extension.h
>
22
#include <
simics/systemc/iface/pci_express_interface.h
>
23
24
#include <vector>
25
26
namespace
simics
{
27
namespace
systemc {
28
namespace
simics2tlm {
29
34
class
PciExpress :
public
simics::systemc::iface::PciExpressInterface,
35
public
GasketOwner {
36
public
:
37
void
gasketUpdated()
override
;
38
// Methods translate Simics calls
39
int
send_message(
int
type,
const
std::vector<uint8_t> &payload)
override
;
40
41
private
:
42
ExtensionSender sender_;
43
iface::PciExpressExtension extension_;
44
};
45
46
}
// namespace simics2tlm
47
}
// namespace systemc
48
}
// namespace simics
49
50
#endif
51
#endif
simics
Definition:
adapter.h:79
pci_express_extension.h
pci_express_interface.h
extension_sender.h
gasket_owner.h