psci-call.S 856 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * This program is free software; you can redistribute it and/or modify
  3. * it under the terms of the GNU General Public License version 2 as
  4. * published by the Free Software Foundation.
  5. *
  6. * This program is distributed in the hope that it will be useful,
  7. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. * GNU General Public License for more details.
  10. *
  11. * Copyright (C) 2015 ARM Limited
  12. *
  13. * Author: Will Deacon <will.deacon@arm.com>
  14. */
  15. #include <linux/linkage.h>
  16. /* int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1, u64 arg2) */
  17. ENTRY(__invoke_psci_fn_hvc)
  18. hvc #0
  19. ret
  20. ENDPROC(__invoke_psci_fn_hvc)
  21. /* int __invoke_psci_fn_smc(u64 function_id, u64 arg0, u64 arg1, u64 arg2) */
  22. ENTRY(__invoke_psci_fn_smc)
  23. smc #0
  24. ret
  25. ENDPROC(__invoke_psci_fn_smc)