SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
pci_upstream_operation_interface.h
Go to the documentation of this file.
1/*
2 © 2016 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_IFACE_PCI_UPSTREAM_OPERATION_INTERFACE_H
15#define SIMICS_SYSTEMC_IFACE_PCI_UPSTREAM_OPERATION_INTERFACE_H
16
19#include <stdint.h>
20
21namespace simics {
22namespace systemc {
23namespace iface {
24
27 public:
28 // The address, buffer, size and op-type (read/write) must also be encoded
29 // in the TLM2 GP that is the carrier of the PciUpstreamOperation extension
30 // where these interface methods are encoded. A return value of 0 indicates
31 // that the GP op-type is inconsistent with the extension method
32 // invocation.
34 uint16_t rid,
35 types::addr_space_t space) = 0;
37 uint16_t rid,
38 types::addr_space_t space) = 0;
40};
41
42} // namespace iface
43} // namespace systemc
44} // namespace simics
45
46#endif
Simics SystemC pci_upstream_operation interface.
Definition: pci_upstream_operation_interface.h:26
virtual ~PciUpstreamOperationInterface()
Definition: pci_upstream_operation_interface.h:39
virtual types::pci_bus_exception_type_t read(uint16_t rid, types::addr_space_t space)=0
virtual types::pci_bus_exception_type_t write(uint16_t rid, types::addr_space_t space)=0
pci_bus_exception_type_t
Reduced, stand-alone, version of the Simics exception_type_t enum.
Definition: pci_bus_exception_type.h:21
addr_space_t
Stand-alone, version of the Simics addr_space_t enum.
Definition: addr_space.h:21
Definition: adapter.h:79