SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
dmi_data_table.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2015 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_SIMICS2TLM_DMI_DATA_TABLE_H
17#define SIMICS_SYSTEMC_SIMICS2TLM_DMI_DATA_TABLE_H
18
19#include <systemc>
20#include <tlm>
21#include <string>
22#include <ostream> // NOLINT(readability/streams)
23#include <vector>
24
25namespace simics {
26namespace systemc {
27namespace simics2tlm {
28
31 public:
32 unsigned char *dmiPointer(sc_dt::uint64 start, sc_dt::uint64 range,
33 bool is_read);
34 void add(const tlm::tlm_dmi &dmi_data);
35 void remove(sc_dt::uint64 start_range, sc_dt::uint64 end_range);
36 std::string print() const;
37 private:
38 std::vector<tlm::tlm_dmi> table_;
39};
40
41} // namespace simics2tlm
42} // namespace systemc
43} // namespace simics
44
45#endif
Definition: dmi_data_table.h:30
void add(const tlm::tlm_dmi &dmi_data)
unsigned char * dmiPointer(sc_dt::uint64 start, sc_dt::uint64 range, bool is_read)
void remove(sc_dt::uint64 start_range, sc_dt::uint64 end_range)
Definition: pci_bus_interface.h:24