]>
Commit | Line | Data |
---|---|---|
2ac16d01 RH |
1 | /* SPDX-License-Identifier: BSD-3-Clause */ |
2 | /* | |
3 | * QEMU internal errno values for implementing user-only POSIX. | |
4 | * | |
5 | * Copyright (c) 2021 Linaro, Ltd. | |
6 | */ | |
7 | ||
8 | #ifndef SPECIAL_ERRNO_H | |
9 | #define SPECIAL_ERRNO_H | |
10 | ||
11 | /* | |
12 | * All of these are QEMU internal, not visible to the guest. | |
13 | * They should be chosen so as to not overlap with any host | |
14 | * or guest errno. | |
15 | */ | |
16 | ||
17 | /* | |
18 | * This is returned when a system call should be restarted, to tell the | |
19 | * main loop that it should wind the guest PC backwards so it will | |
20 | * re-execute the syscall after handling any pending signals. | |
21 | */ | |
22 | #define QEMU_ERESTARTSYS 255 | |
23 | ||
24 | #endif /* SPECIAL_ERRNO_H */ |