ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
SwitchSystem.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2//
3// This file is part of ETISS. It is licensed under the BSD 3-Clause License; you may not use this file except in
4// compliance with the License. You should have received a copy of the license along with this project. If not, see the
5// LICENSE file.
6
7#include "etiss/jit/ReturnCode.h"
8#include "etiss/Plugin.h"
9
10namespace etiss
11{
12
13namespace plugin
14{
15
16namespace fault
17{
18
20{
21
22 public:
23 virtual bool interruptWrite(unsigned bit, bool value) = 0;
24
25 int32_t iread(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len);
26 int32_t iwrite(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len);
27 int32_t dread(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len);
28 int32_t dwrite(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len);
29};
30
31} // namespace fault
32
33} // namespace plugin
34
35} // namespace etiss
plugins for extensions to code translation and instruction execution
static __inline__ uint32_t
Definition arm_cde.h:25
static __inline__ uint64_t
Definition arm_cde.h:31
static __inline__ int32_t
Definition arm_mve.h:51
static __inline__ uint8_t
Definition arm_mve.h:323
int32_t dwrite(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len)
int32_t iwrite(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len)
virtual bool interruptWrite(unsigned bit, bool value)=0
gets called whenever an external write to the interrrupt vector takes place
int32_t dread(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len)
int32_t iread(uint64_t &time_ps, uint64_t addr, uint8_t *buf, uint32_t len)
forwards: include/jit/*
Definition Benchmark.h:17