xref: /optee_os/core/arch/arm/kernel/semihosting_a64.S (revision 19a31ec40245ae01a9adcd206eec2a4bb4479fc9)
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