probe_rs

Module semihosting

Source
Expand description

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§

Functions§

  • Decodes a semihosting syscall without running the requested action. Only supports SYS_EXIT, SYS_EXIT_EXTENDED and SYS_GET_CMDLINE at the moment