Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
3aae7ab0 SS |
2 | /* |
3 | * Keystone Secure APIs | |
4 | * | |
5 | * Copyright (C) 2013 Texas Instruments, Inc. | |
6 | * Santosh Shilimkar <santosh.shilimkar@ti.com> | |
3aae7ab0 SS |
7 | */ |
8 | ||
9 | #include <linux/linkage.h> | |
10 | ||
11 | /** | |
12 | * u32 keystone_cpu_smc(u32 command, u32 cpu, u32 addr) | |
13 | * | |
14 | * Low level CPU monitor API | |
15 | * @command: Monitor command. | |
16 | * @cpu: CPU Number | |
17 | * @addr: Kernel jump address for boot CPU | |
18 | * | |
19 | * Return: Non zero value on failure | |
20 | */ | |
21 | ENTRY(keystone_cpu_smc) | |
993211e0 | 22 | stmfd sp!, {r4-r11, lr} |
3aae7ab0 | 23 | smc #0 |
993211e0 | 24 | ldmfd sp!, {r4-r11, pc} |
3aae7ab0 | 25 | ENDPROC(keystone_cpu_smc) |