plat_sip_calls.c 647 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2023, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <assert.h>
  7. #include <errno.h>
  8. #include <common/debug.h>
  9. #include <common/runtime_svc.h>
  10. #include <lib/mmio.h>
  11. #include <platform_def.h>
  12. #include <plat_sip_calls.h>
  13. #include <rockchip_sip_svc.h>
  14. uintptr_t rockchip_plat_sip_handler(uint32_t smc_fid,
  15. u_register_t x1,
  16. u_register_t x2,
  17. u_register_t x3,
  18. u_register_t x4,
  19. void *cookie,
  20. void *handle,
  21. u_register_t flags)
  22. {
  23. ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid);
  24. SMC_RET1(handle, SMC_UNK);
  25. }