arm_external_debug
interface is used for
external debug feature.
The handle_semihosting function is called whenever the aarch64 instruction hlt 0xf000 is executed where semihosting is enabled for use.
The read_reg function is called reading the registers in external debug device.
The write_reg function is called writing the registers in external debug device.