summaryrefslogtreecommitdiff
path: root/src/arch/arm64/smc_asm.S
blob: 74b62c1ffa5b44b22c4b7d55dfc693538bcc6196 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: GPL-2.0-only */

#include <arch/asm.h>

ENTRY(smc)
	/* W0, X1-X7 passed as arguments. Function ID is always W0. */
	smc	#0
	ret			/* X0 passed back as return value */
ENDPROC(smc)