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
23
24#include <vector>
25
26namespace simics {
27namespace systemc {
28namespace simics2tlm {
29
34class 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
Definition: adapter.h:79