qemu-options.hx: Fix indentation of some option descriptions
[qemu/ar7.git] / tests / tcg / nios2 / semicall.h
blob6ad4978099d4f65d20f3e41c03fe06abb28ed592
1 /*
2 * Nios2 semihosting interface.
4 * Copyright Linaro Ltd 2022
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
8 #ifndef SEMICALL_H
9 #define SEMICALL_H
11 #define HOSTED_EXIT 0
12 #define HOSTED_INIT_SIM 1
13 #define HOSTED_OPEN 2
14 #define HOSTED_CLOSE 3
15 #define HOSTED_READ 4
16 #define HOSTED_WRITE 5
17 #define HOSTED_LSEEK 6
18 #define HOSTED_RENAME 7
19 #define HOSTED_UNLINK 8
20 #define HOSTED_STAT 9
21 #define HOSTED_FSTAT 10
22 #define HOSTED_GETTIMEOFDAY 11
23 #define HOSTED_ISATTY 12
24 #define HOSTED_SYSTEM 13
26 #define semihosting_call break 1
28 #endif /* SEMICALL_H */