|
gem5
v19.0.0.0
|
Semihosting call information structure. More...
Public Member Functions | |
| bool | implemented32 () const |
| Is call implemented in aarch32? More... | |
| bool | implemented64 () const |
| Is call implemented in aarch64? More... | |
Public Attributes | |
| const char * | name |
| Call name. More... | |
| RetErrno(ArmSemihosting::* | call )(ThreadContext *tc, bool aarch64, std::vector< uint64_t > &argv) |
| Pointer to call implementation. More... | |
| int | argc32 |
| Number of aarch32 arguments to read from guest memory. More... | |
| int | argc64 |
| Number of aarch32 arguments to read from guest memory. More... | |
Semihosting call information structure.
This structure describes how a semi-hosting call is implemented. It contains debug information (e.g., the name of the call), a pointer to the implementation, and information needed to read its parameters from guest memory.
Definition at line 284 of file semihosting.hh.
|
inline |
Is call implemented in aarch32?
Definition at line 311 of file semihosting.hh.
Referenced by ArmSemihosting::call32().
|
inline |
Is call implemented in aarch64?
Definition at line 313 of file semihosting.hh.
Referenced by ArmSemihosting::call64().
| int ArmSemihosting::SemiCall::argc32 |
Number of aarch32 arguments to read from guest memory.
-1 if unimplemented.
Definition at line 305 of file semihosting.hh.
Referenced by ArmSemihosting::call32().
| int ArmSemihosting::SemiCall::argc64 |
Number of aarch32 arguments to read from guest memory.
-1 if unimplemented.
Definition at line 308 of file semihosting.hh.
Referenced by ArmSemihosting::call64().
| RetErrno(ArmSemihosting::* ArmSemihosting::SemiCall::call) (ThreadContext *tc, bool aarch64, std::vector< uint64_t > &argv) |
Pointer to call implementation.
| tc | ThreadContext pointer for caller |
| aarch64 | True if in aarc64 mode, false otherwise. argv Argument vector. argv[0] always corresponds to the pointer to the argument list. Remaining entries are read as consecutive words starting at the address pointed to by argv[0]. |
Definition at line 300 of file semihosting.hh.
Referenced by ArmSemihosting::call32(), and ArmSemihosting::call64().
| const char* ArmSemihosting::SemiCall::name |
Call name.
Definition at line 287 of file semihosting.hh.
Referenced by ArmSemihosting::call32(), and ArmSemihosting::call64().