2 * Semihosting Console Test
4 * Copyright (c) 2019 Linaro Ltd
6 * SPDX-License-Identifier: GPL-2.0-or-later
14 uintptr_t __semi_call(uintptr_t type
, uintptr_t arg0
)
16 register uintptr_t t
asm("x0") = type
;
17 register uintptr_t a0
asm("x1") = arg0
;
29 ml_printf("Semihosting Console Test\n");
30 ml_printf("hit X to exit:");
33 c
= __semi_call(SYS_READC
, 0);