SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
null_transaction_handler.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2014 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_TLM2SIMICS_NULL_TRANSACTION_HANDLER_H
17#define SIMICS_SYSTEMC_TLM2SIMICS_NULL_TRANSACTION_HANDLER_H
18
21
22namespace simics {
23namespace systemc {
24namespace tlm2simics {
25
33 public InstanceCounter<NullTransactionHandler> {
34 public:
35 bool get_direct_mem_ptr(ConfObjectRef &simics_obj,
36 tlm::tlm_generic_payload &trans,
37 tlm::tlm_dmi& dmi_data) override {
38 return false;
39 }
40 tlm::tlm_response_status simics_transaction(
41 ConfObjectRef &simics_obj,
42 tlm::tlm_generic_payload *trans) override {
43 return tlm::TLM_OK_RESPONSE;
44 }
45 unsigned int debug_transaction(ConfObjectRef &simics_obj,
46 tlm::tlm_generic_payload *trans) override {
47 return 0;
48 }
49 void update_dmi_allowed(ConfObjectRef &simics_obj,
50 tlm::tlm_generic_payload *trans) override {}
51 bool byte_enable_supported(ConfObjectRef &simics_obj,
52 tlm::tlm_generic_payload *trans) override {
53 return false;
54 }
55 const GasketOwner *gasket_owner() const override {
56 return NULL;
57 }
58 const InterfaceProvider *interface_provider() const override {
59 return NULL;
60 }
61 // TransactionHandler
63 return NULL;
64 }
65};
66
67} // namespace tlm2simics
68} // namespace systemc
69} // namespace simics
70
71#endif
Keeps track of (counts) the number of instances for this type of class.
Definition: instance_counter.h:32
Returns the interface provided by the associated Simics object.
Definition: interface_provider.h:32
Interface implemented by the ExtensionReceiver class, used by the ExtensionDispatcher.
Definition: receiver_interface.h:29
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:31
Utility class that counts the number of instances.
Definition: null_transaction_handler.h:33
unsigned int debug_transaction(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:45
const GasketOwner * gasket_owner() const override
Definition: null_transaction_handler.h:55
void update_dmi_allowed(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:49
bool byte_enable_supported(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:51
const InterfaceProvider * interface_provider() const override
Definition: null_transaction_handler.h:58
bool get_direct_mem_ptr(ConfObjectRef &simics_obj, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
Definition: null_transaction_handler.h:35
tlm::tlm_response_status simics_transaction(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:40
iface::ReceiverInterface * receiver() override
Definition: null_transaction_handler.h:62
Interface used by Gasket, implemented by protocol specific transaction handlers.
Definition: transaction_handler_interface.h:36
Definition: pci_bus_interface.h:24