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// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2016 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_IFACE_PCI_UPSTREAM_OPERATION_INTERFACE_H
17#define SIMICS_SYSTEMC_IFACE_PCI_UPSTREAM_OPERATION_INTERFACE_H
18
21#include <stdint.h>
22
23namespace simics {
24namespace systemc {
25namespace iface {
26
29 public:
30 // The address, buffer, size and op-type (read/write) must also be encoded
31 // in the TLM2 GP that is the carrier of the PciUpstreamOperation extension
32 // where these interface methods are encoded. A return value of 0 indicates
33 // that the GP op-type is inconsistent with the extension method
34 // invocation.
36 uint16_t rid,
37 types::addr_space_t space) = 0;
39 uint16_t rid,
40 types::addr_space_t space) = 0;
42};
43
44} // namespace iface
45} // namespace systemc
46} // namespace simics
47
48#endif
Simics SystemC pci_upstream_operation interface.
Definition: pci_upstream_operation_interface.h:28
virtual ~PciUpstreamOperationInterface()
Definition: pci_upstream_operation_interface.h:41
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:23
addr_space_t
Stand-alone, version of the Simics addr_space_t enum.
Definition: addr_space.h:23
Definition: pci_bus_interface.h:24