Go to the documentation of this file.
29 #ifndef __SIM_SYSCALLRETURN_HH__
30 #define __SIM_SYSCALLRETURN_HH__
int64_t returnValue() const
The return value.
int errnoValue() const
The errno value.
This class represents the return value from an emulated system call, including any errno setting.
static SyscallReturn retry()
Pseudo-constructor to create an instance with the retry flag set.
SyscallReturn()
A SyscallReturn constructed with no value means don't return anything.
SyscallReturn(int64_t v)
For simplicity, allow the object to be initialized with a single signed integer using the same positi...
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?
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
bool suppressed() const
Should returning this value be suppressed?
bool successful() const
Was the system call successful?
bool needsRetry() const
Does the syscall need to be retried?
Generated on Sun Jul 30 2023 01:57:00 for gem5 by doxygen 1.8.17