ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
Namespaces | Functions
System.cpp File Reference

implements etiss/System.h. More...

#include <stdlib.h>
#include "etiss/System.h"
#include "etiss/jit/System.h"
#include "etiss/jit/CPU.h"
Include dependency graph for System.cpp:

Go to the source code of this file.

Namespaces

namespace  etiss
 forwards: include/jit/*
 

Functions

static etiss_int32 system_call_iread (void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint32 length)
 
static etiss_int32 system_call_iwrite (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_dwrite (void *handle, ETISS_CPU *cpu, etiss_uint64 addr, etiss_uint8 *buffer, etiss_uint32 length)
 
static etiss_int32 system_call_dbg_read (void *handle, 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 void system_call_syncTime (void *handle, ETISS_CPU *cpu)
 
int ETISS_System_isvalid (ETISS_System *sys)
 
etiss::int32 etiss::dbg_print (etiss::uint32 reg)
 

Detailed Description

implements etiss/System.h.

manly consists of the implementation of std::shared_ptr<ETISS_System> etiss::wrap(etiss::System * sys)

Definition in file System.cpp.

Function Documentation

◆ ETISS_System_isvalid()

int ETISS_System_isvalid ( ETISS_System sys)

Definition at line 84 of file System.cpp.

References ETISS_System::dread, ETISS_System::dwrite, ETISS_System::iread, ETISS_System::iwrite, and ETISS_System::syncTime.

Referenced by etiss::CPUCore::execute().

Here is the caller graph for this function:

◆ system_call_dbg_read()

static etiss_int32 system_call_dbg_read ( void *  handle,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 43 of file System.cpp.

References length().

Referenced by etiss::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_call_dbg_write()

static etiss_int32 system_call_dbg_write ( void *  handle,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 48 of file System.cpp.

References length().

Referenced by etiss::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_call_dread()

static etiss_int32 system_call_dread ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 32 of file System.cpp.

References length().

Referenced by etiss::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_call_dwrite()

static etiss_int32 system_call_dwrite ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 37 of file System.cpp.

References length().

Referenced by etiss::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_call_iread()

static etiss_int32 system_call_iread ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint32  length 
)
static

Definition at line 22 of file System.cpp.

References length().

Referenced by etiss::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_call_iwrite()

static etiss_int32 system_call_iwrite ( void *  handle,
ETISS_CPU cpu,
etiss_uint64  addr,
etiss_uint8 buffer,
etiss_uint32  length 
)
static

Definition at line 26 of file System.cpp.

References length().

Referenced by etiss::wrap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ system_call_syncTime()

static void system_call_syncTime ( void *  handle,
ETISS_CPU cpu 
)
static

Definition at line 53 of file System.cpp.

Referenced by etiss::wrap().

Here is the caller graph for this function: