ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
libsemihost.h
Go to the documentation of this file.
1#ifndef JITLIB_SEMIHOST_H
2#define JITLIB_SEMIHOST_H
3
4#include <stdint.h>
5#include "etiss/jit/CPU.h"
6#include "etiss/jit/System.h"
7
10
14int64_t etiss_semihost(ETISS_CPU *const cpu, ETISS_System *const etissSystem, void *const *const _, uint32_t XLEN,
15 uint64_t operation, uint64_t parameter);
16
17#endif
static __inline__ uint32_t
Definition arm_cde.h:25
static __inline__ uint64_t
Definition arm_cde.h:31
static __inline__ uint8_t
Definition arm_mve.h:323
uint8_t etiss_semihost_enabled()
Checks whether semihosting is enabled in the config.
Definition semihost.cpp:43
int64_t etiss_semihost(ETISS_CPU *const cpu, ETISS_System *const etissSystem, void *const *const _, uint32_t XLEN, uint64_t operation, uint64_t parameter)
Executes the semihosting call based on the operation number.
Definition semihost.cpp:48
basic cpu state structure needed for execution of any cpu architecture.
Definition CPU.h:89
memory access and time synchronization functions.
Definition System.h:78