ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Functions
libsemihost.h File Reference
#include <stdint.h>
#include "etiss/jit/CPU.h"
#include "etiss/jit/System.h"
Include dependency graph for libsemihost.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t etiss_semihost_enabled ()
 Checks whether semihosting is enabled in the config. More...
 
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. More...
 

Function Documentation

◆ etiss_semihost()

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.

For description of all semihosting calls see: https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst

Definition at line 48 of file semihost.cpp.

◆ etiss_semihost_enabled()

uint8_t etiss_semihost_enabled ( )

Checks whether semihosting is enabled in the config.

Definition at line 43 of file semihost.cpp.