44 #include "etiss/jit/ReturnCode.h"
54 return etiss::RETURNCODE::IBUS_WRITE_ERROR;
86 auto ret = std::make_shared<ETISS_System>();
99 ret->handle =
new uint8_t[size];
static void system_call_syncTime(void *handle, ETISS_CPU *cpu)
static etiss_int32 system_call_dbg_read(void *handle, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
static etiss_int32 system_call_iread(void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint32 length)
static etiss_int32 system_call_dwrite(void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
static etiss_int32 system_call_dread(void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
static etiss_int32 system_call_dbg_write(void *handle, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
static etiss_int32 system_call_iwrite(void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
provides a fast memory implementation for ETISS
__DEVICE__ void * memcpy(void *__a, const void *__b, size_t __c)
static __inline__ uint8_t
std::shared_ptr< ETISS_System > createFastMemory(size_t size)
creates a very fast ETISS_System structure.
float __ovld __cnfn length(float p)
Return the length of vector p, i.e., sqrt(p.x2 + p.y 2 + ...)
basic cpu state structure needed for execution of any cpu architecture.