Expand description
ARM semihosting support.
Specification: https://github.com/ARM-software/abi-aa/blob/2024Q3/semihosting/semihosting.rst
Structs§
- When using some semihosting commands, the target usually allocates a buffer for the host to read/write to. The targets just gives us an address pointing to two u32 values, the address of the buffer and the length of the buffer.
- A request to open a file on the host.
- Details of a semihosting exit with error
- A request to read the command line arguments from the target
- A request to open a file on the host.
- Details of a semihosting operation that we don’t support yet
- A request to write to the console
- A request to write to the console
Enums§
- Indicates the operation the target would like the debugger to perform.
Functions§
- Decodes a semihosting syscall without running the requested action. Only supports SYS_EXIT, SYS_EXIT_EXTENDED and SYS_GET_CMDLINE at the moment