smc.S 688 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Keystone Secure APIs
  3. *
  4. * Copyright (C) 2013 Texas Instruments, Inc.
  5. * Santosh Shilimkar <santosh.shilimkar@ti.com>
  6. *
  7. * This program is free software,you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #include <linux/linkage.h>
  12. /**
  13. * u32 keystone_cpu_smc(u32 command, u32 cpu, u32 addr)
  14. *
  15. * Low level CPU monitor API
  16. * @command: Monitor command.
  17. * @cpu: CPU Number
  18. * @addr: Kernel jump address for boot CPU
  19. *
  20. * Return: Non zero value on failure
  21. */
  22. ENTRY(keystone_cpu_smc)
  23. stmfd sp!, {r4-r11, lr}
  24. smc #0
  25. ldmfd sp!, {r4-r11, pc}
  26. ENDPROC(keystone_cpu_smc)