1 #ifndef JITLIB_SEMIHOST_H
2 #define JITLIB_SEMIHOST_H
5 #include "etiss/jit/CPU.h"
6 #include "etiss/jit/System.h"
static __inline__ uint32_t
static __inline__ uint64_t
static __inline__ uint8_t
uint8_t etiss_semihost_enabled()
Checks whether semihosting is enabled in the config.
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.
basic cpu state structure needed for execution of any cpu architecture.
memory access and time synchronization functions.