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/*
2 © 2014 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_TLM2SIMICS_NULL_TRANSACTION_HANDLER_H
15#define SIMICS_SYSTEMC_TLM2SIMICS_NULL_TRANSACTION_HANDLER_H
16
19
20namespace simics {
21namespace systemc {
22namespace tlm2simics {
23
31 public InstanceCounter<NullTransactionHandler> {
32 public:
33 bool get_direct_mem_ptr(ConfObjectRef &simics_obj,
34 tlm::tlm_generic_payload &trans,
35 tlm::tlm_dmi& dmi_data) override {
36 return false;
37 }
38 tlm::tlm_response_status simics_transaction(
39 ConfObjectRef &simics_obj,
40 tlm::tlm_generic_payload *trans) override {
41 return tlm::TLM_OK_RESPONSE;
42 }
43 unsigned int debug_transaction(ConfObjectRef &simics_obj,
44 tlm::tlm_generic_payload *trans) override {
45 return 0;
46 }
47 void update_dmi_allowed(ConfObjectRef &simics_obj,
48 tlm::tlm_generic_payload *trans) override {}
49 bool byte_enable_supported(ConfObjectRef &simics_obj,
50 tlm::tlm_generic_payload *trans) override {
51 return false;
52 }
53 const GasketOwner *gasket_owner() const override {
54 return NULL;
55 }
56 const InterfaceProvider *interface_provider() const override {
57 return NULL;
58 }
59 // TransactionHandler
61 return NULL;
62 }
63};
64
65} // namespace tlm2simics
66} // namespace systemc
67} // namespace simics
68
69#endif
Keeps track of (counts) the number of instances for this type of class.
Definition: instance_counter.h:30
Returns the interface provided by the associated Simics object.
Definition: interface_provider.h:30
Interface implemented by the ExtensionReceiver class, used by the ExtensionDispatcher.
Definition: receiver_interface.h:27
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:29
Utility class that counts the number of instances.
Definition: null_transaction_handler.h:31
unsigned int debug_transaction(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:43
const GasketOwner * gasket_owner() const override
Definition: null_transaction_handler.h:53
void update_dmi_allowed(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:47
bool byte_enable_supported(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:49
const InterfaceProvider * interface_provider() const override
Definition: null_transaction_handler.h:56
bool get_direct_mem_ptr(ConfObjectRef &simics_obj, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
Definition: null_transaction_handler.h:33
tlm::tlm_response_status simics_transaction(ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
Definition: null_transaction_handler.h:38
iface::ReceiverInterface * receiver() override
Definition: null_transaction_handler.h:60
Interface used by Gasket, implemented by protocol specific transaction handlers.
Definition: transaction_handler_interface.h:34
Definition: adapter.h:79