C++ Device API Reference Manual
Reference documentation for the Simics C++ Device API.
 
Loading...
Searching...
No Matches
bank-issue-callbacks-interface.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2022 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_IFACE_BANK_ISSUE_CALLBACKS_INTERFACE_H
17#define SIMICS_IFACE_BANK_ISSUE_CALLBACKS_INTERFACE_H
18
19#include <cstdint>
20
21// Forward declare of conf_object_t
22struct conf_object;
23typedef struct conf_object conf_object_t;
24
25namespace simics {
26
27class BankAccess;
28
29enum class CallbackType : int { AR = 1, AW, BR, BW };
30
32 public:
33 virtual ~BankIssueCallbacksInterface() = default;
34
35 virtual void issue_callbacks(BankAccess *handle,
36 CallbackType type) const = 0;
37};
38
39} // namespace simics
40
41#endif
struct conf_object conf_object_t
Definition: bank-issue-callbacks-interface.h:23
Definition: bank-issue-callbacks-interface.h:31
virtual ~BankIssueCallbacksInterface()=default
virtual void issue_callbacks(BankAccess *handle, CallbackType type) const =0
Definition: attr-value.h:23
CallbackType
Definition: bank-issue-callbacks-interface.h:29
Definition: bank-access.h:43