1/* SPDX-License-Identifier: BSD-2-Clause */ 2/* 3 * Copyright (c) 2024 Linaro, Ltd. 4 */ 5 6#include <asm.S> 7 8/* 9 * uintptr_t __do_semihosting(uintptr_t op, uintptr_t arg) 10 * 11 * Refer to "Semihosting for Aarch32 and Aarch64": 12 * https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst 13 */ 14FUNC __do_semihosting , : 15 hlt #0xf000 16 ret 17END_FUNC __do_semihosting 18