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/*
2 © 2019 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_IFACE_INSTRUMENTATION_BANK_INSTRUMENTATION_SUBSCRIBE_INTERFACE_H
15#define SIMICS_SYSTEMC_IFACE_INSTRUMENTATION_BANK_INSTRUMENTATION_SUBSCRIBE_INTERFACE_H
16
17#include <stdint.h>
18
19#include <simics/model-iface/bank-instrumentation.h>
20
21namespace simics {
22namespace systemc {
23namespace iface {
24namespace instrumentation {
25
28 public:
29 virtual bank_callback_handle_t register_before_read(
30 conf_object_t *connection,
31 uint64_t offset,
32 uint64_t size,
33 before_read_callback_t before_read,
34 lang_void *user_data) = 0;
35 virtual bank_callback_handle_t register_after_read(
36 conf_object_t *connection,
37 uint64_t offset,
38 uint64_t size,
39 after_read_callback_t after_read,
40 lang_void *user_data) = 0;
41 virtual bank_callback_handle_t register_before_write(
42 conf_object_t *connection,
43 uint64_t offset,
44 uint64_t size,
45 before_write_callback_t before_write,
46 lang_void *user_data) = 0;
47 virtual bank_callback_handle_t register_after_write(
48 conf_object_t *connection,
49 uint64_t offset,
50 uint64_t size,
51 after_write_callback_t after_write,
52 lang_void *user_data) = 0;
53
54 virtual void remove_callback(bank_callback_handle_t callback) = 0;
56 conf_object_t *NOTNULL connection) = 0;
58 conf_object_t *NOTNULL connection) = 0;
60 conf_object_t *NOTNULL connection) = 0;
61
63};
64
65} // namespace instrumentation
66} // namespace iface
67} // namespace systemc
68} // namespace simics
69
70#endif
Definition: bank_instrumentation_subscribe_interface.h:27
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:62
Definition: adapter.h:79