semihosting: add semihosting handlers to AArch64
note: this works only when the PE is in AArch64 state Change-Id: Id6a336ca7d201df72bd1aaaeccce4185473fc1bd Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/5474 Tested-by: jenkins Reviewed-by: Muhammad Omair Javaid <omair.javaid@linaro.org> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
afe899f938
commit
221fe49879
|
@ -2782,7 +2782,16 @@ static const struct command_registration aarch64_exec_command_handlers[] = {
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern const struct command_registration semihosting_common_handlers[];
|
||||||
|
|
||||||
static const struct command_registration aarch64_command_handlers[] = {
|
static const struct command_registration aarch64_command_handlers[] = {
|
||||||
|
{
|
||||||
|
.name = "arm",
|
||||||
|
.mode = COMMAND_ANY,
|
||||||
|
.help = "ARM Command Group",
|
||||||
|
.usage = "",
|
||||||
|
.chain = semihosting_common_handlers
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.chain = armv8_command_handlers,
|
.chain = armv8_command_handlers,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue