Skip to content
  • Liviu Ionescu's avatar
    Rework/update ARM semihosting · 2517bae6
    Liviu Ionescu authored
    
    
    In 2016, ARM released the second edition of the semihosting specs
    ("Semihosting for AArch32 and AArch64"), adding support for 64-bits.
    
    To ease the reuse of the semihosting logic for other platforms
    (like RISC-V), the semihosting code was isolated from the ARM
    target and updated to the latest specs.
    
    The new code is already in use since January (in GNU MCU Eclipse
    OpenOCD) and no problems were reported, neither for ARM nor for
    RISC-V targets, after more than 7K downloads.
    
    The 2 new files were formatted with uncrustify.
    
    Change-Id: Ie84dbd86a547323bb8a5d24eab68fc7dad013d96
    Signed-off-by: default avatarLiviu Ionescu <ilg@livius.net>
    Reviewed-on: http://openocd.zylin.com/4518
    
    
    Tested-by: jenkins
    Reviewed-by: default avatarMatthias Welwarsky <matthias@welwarsky.de>
    2517bae6