SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
bank_instrumentation_subscribe_interface.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2019 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_INSTRUMENTATION_BANK_INSTRUMENTATION_SUBSCRIBE_INTERFACE_H
17#define SIMICS_SYSTEMC_IFACE_INSTRUMENTATION_BANK_INSTRUMENTATION_SUBSCRIBE_INTERFACE_H
18
19#include <stdint.h>
20
21#include <simics/model-iface/bank-instrumentation.h>
22
23namespace simics {
24namespace systemc {
25namespace iface {
26namespace instrumentation {
27
30 public:
31 virtual bank_callback_handle_t register_before_read(
32 conf_object_t *connection,
33 uint64_t offset,
34 uint64_t size,
35 before_read_callback_t before_read,
36 lang_void *user_data) = 0;
37 virtual bank_callback_handle_t register_after_read(
38 conf_object_t *connection,
39 uint64_t offset,
40 uint64_t size,
41 after_read_callback_t after_read,
42 lang_void *user_data) = 0;
43 virtual bank_callback_handle_t register_before_write(
44 conf_object_t *connection,
45 uint64_t offset,
46 uint64_t size,
47 before_write_callback_t before_write,
48 lang_void *user_data) = 0;
49 virtual bank_callback_handle_t register_after_write(
50 conf_object_t *connection,
51 uint64_t offset,
52 uint64_t size,
53 after_write_callback_t after_write,
54 lang_void *user_data) = 0;
55
56 virtual void remove_callback(bank_callback_handle_t callback) = 0;
58 conf_object_t *NOTNULL connection) = 0;
60 conf_object_t *NOTNULL connection) = 0;
62 conf_object_t *NOTNULL connection) = 0;
63
65};
66
67} // namespace instrumentation
68} // namespace iface
69} // namespace systemc
70} // namespace simics
71
72#endif
Definition: bank_instrumentation_subscribe_interface.h:29
virtual bank_callback_handle_t register_before_read(conf_object_t *connection, uint64_t offset, uint64_t size, before_read_callback_t before_read, lang_void *user_data)=0
virtual void disable_connection_callbacks(conf_object_t *NOTNULL connection)=0
virtual void remove_connection_callbacks(conf_object_t *NOTNULL connection)=0
virtual bank_callback_handle_t register_before_write(conf_object_t *connection, uint64_t offset, uint64_t size, before_write_callback_t before_write, lang_void *user_data)=0
virtual bank_callback_handle_t register_after_read(conf_object_t *connection, uint64_t offset, uint64_t size, after_read_callback_t after_read, lang_void *user_data)=0
virtual bank_callback_handle_t register_after_write(conf_object_t *connection, uint64_t offset, uint64_t size, after_write_callback_t after_write, lang_void *user_data)=0
virtual void enable_connection_callbacks(conf_object_t *NOTNULL connection)=0
virtual ~BankInstrumentationSubscribeInterface()
Definition: bank_instrumentation_subscribe_interface.h:64
Definition: pci_bus_interface.h:24