^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (C) 2012 Samsung Electronics.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copied from omap-smc.S Copyright (C) 2010 Texas Instruments, Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <linux/linkage.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * Function signature: void exynos_smc(u32 cmd, u32 arg1, u32 arg2, u32 arg3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) .arch armv7-a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) .arch_extension sec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) ENTRY(exynos_smc)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) stmfd sp!, {r4-r11, lr}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) dsb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) smc #0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) ldmfd sp!, {r4-r11, pc}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ENDPROC(exynos_smc)