Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Keystone Secure APIs
0004  *
0005  * Copyright (C) 2013 Texas Instruments, Inc.
0006  *  Santosh Shilimkar <santosh.shilimkar@ti.com>
0007  */
0008 
0009 #include <linux/linkage.h>
0010 
0011 /**
0012  * u32 keystone_cpu_smc(u32 command, u32 cpu, u32 addr)
0013  *
0014  * Low level CPU monitor API
0015  * @command:    Monitor command.
0016  * @cpu:    CPU Number
0017  * @addr:   Kernel jump address for boot CPU
0018  *
0019  * Return: Non zero value on failure
0020  */
0021     .arch_extension sec
0022 ENTRY(keystone_cpu_smc)
0023     stmfd   sp!, {r4-r11, lr}
0024     smc #0
0025     ldmfd   sp!, {r4-r11, pc}
0026 ENDPROC(keystone_cpu_smc)