]>
git.proxmox.com Git - mirror_qemu.git/blob - tests/tcg/aarch64/semicall.h
2 * Semihosting Tests - AArch64 helper
5 * Written by Alex Bennée <alex.bennee@linaro.org>
7 * SPDX-License-Identifier: GPL-3.0-or-later
10 uintptr_t __semi_call(uintptr_t type
, uintptr_t arg0
)
12 register uintptr_t t
asm("x0") = type
;
13 register uintptr_t a0
asm("x1") = arg0
;