SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
io_memory.h
Go to the documentation of this file.
1/*
2 © 2013 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_IO_MEMORY_H
15#define SIMICS_SYSTEMC_SIMICS2TLM_IO_MEMORY_H
16
20
21namespace simics {
22namespace systemc {
23namespace simics2tlm {
24
25#define DEPRECATED_FUNC(f) _deprecated_ ## f
26
41 public MultiGasketOwner {
42 public:
44 set_type();
45 }
46 int DEPRECATED_FUNC(map)(addr_space_t memory_or_io, map_info_t info) {
47 return 0; // short circuit deprecated functionality
48 }
49 exception_type_t operation(generic_transaction_t *mem_op,
50 const types::map_info_t &info) override;
51
52 private:
54};
55
56#undef DEPRECATED_FUNC
57
58} // namespace simics2tlm
59} // namespace systemc
60} // namespace simics
61
62#endif
void set_type()
Definition: class_type.h:51
Simics io_memory interface.
Definition: io_memory_interface.h:25
A memory manager that implements the tlm::tlm_mm_interface providing a pool of transaction objects.
Definition: transaction_pool.h:32
Class that implements the Simics io_memory interface and translates it into a TLM transaction.
Definition: io_memory.h:41
IoMemory()
Definition: io_memory.h:43
int DEPRECATED_FUNC() map(addr_space_t memory_or_io, map_info_t info)
Definition: io_memory.h:46
exception_type_t operation(generic_transaction_t *mem_op, const types::map_info_t &info) override
Container class for multiple GasketOwners, each given a unique ID.
Definition: multi_gasket_owner.h:38
Definition: adapter.h:79
#define DEPRECATED_FUNC(f)
Definition: pci_device_simics_adapter.h:28
Reduced, stand-alone, version of the Simics map_info_t struct.
Definition: map_info.h:23