ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
etiss
src
jitlibs
semihost
SemihostingCalls.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: BSD-3-Clause
2
//
3
// This file is part of ETISS. It is licensed under the BSD 3-Clause License; you may not use this file except in
4
// compliance with the License. You should have received a copy of the license along with this project. If not, see the
5
// LICENSE file.
6
7
#ifndef ETISS_INCLUDE_SEMIHOSTING_CALLS_H_
8
#define ETISS_INCLUDE_SEMIHOSTING_CALLS_H_
9
10
// taken from
11
// https://github.com/ARM-software/abi-aa/releases/download/2022Q1/semihosting.pdf
12
13
#define SYS_OPEN 0x01
14
#define SYS_CLOSE 0x02
15
#define SYS_WRITEC 0x03
16
#define SYS_WRITE0 0x04
17
#define SYS_WRITE 0x05
18
#define SYS_READ 0x06
19
#define SYS_READC 0x07
20
#define SYS_ISERROR 0x08
21
#define SYS_ISTTY 0x09
22
#define SYS_SEEK 0x0A
23
#define SYS_FLEN 0x0C
24
#define SYS_TMPNAM 0x0D
25
#define SYS_REMOVE 0x0E
26
#define SYS_RENAME 0x0F
27
#define SYS_CLOCK 0x10
28
#define SYS_TIME 0x11
29
#define SYS_SYSTEM 0x12
30
#define SYS_ERRNO 0x13
31
#define SYS_GET_CMDLINE 0x15
32
#define SYS_HEAPINFO 0x16
33
#define SYS_EXIT 0x18
34
#define SYS_EXIT_EXTENDED 0x20
35
#define SYS_ELAPSED 0x30
36
#define SYS_TICKFREQ 0x31
37
38
#endif
Generated on Sat Nov 15 2025 19:30:09 for ETISS 0.11.2 by
1.9.8