Go to the documentation of this file.
29 #ifndef __SIM_SYSCALLRETURN_HH__
30 #define __SIM_SYSCALLRETURN_HH__
int64_t returnValue() const
The return value.
bool suppressed() const
Should returning this value be suppressed?
int errnoValue() const
The errno value.
bool needsRetry() const
Does the syscall need to be retried?
SyscallReturn()
A SyscallReturn constructed with no value means don't return anything.
This class represents the return value from an emulated system call, including any errno setting.
SyscallReturn(int64_t v1, int64_t v2)
A SyscallReturn constructed with two values means put the second value in additional return registers...
int64_t encodedValue() const
The encoded value (as described above)
int count() const
How many values did the syscall attempt to return?
static SyscallReturn retry()
Pseudo-constructor to create an instance with the retry flag set.
bool successful() const
Was the system call successful?
SyscallReturn(int64_t v)
For simplicity, allow the object to be initialized with a single signed integer using the same positi...
Generated on Wed Sep 30 2020 14:02:14 for gem5 by doxygen 1.8.17