custom_sip_svc.c 662 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <common/bl_common.h>
  7. #include <common/debug.h>
  8. #include <smccc_helpers.h>
  9. #include <custom_svc.h>
  10. uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2,
  11. uint64_t x3, uint64_t x4, void *cookie,
  12. void *handle, uint64_t flags)
  13. {
  14. (void)x1;
  15. (void)x2;
  16. (void)x3;
  17. (void)x4;
  18. (void)cookie;
  19. (void)flags;
  20. WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid);
  21. SMC_RET1(handle, SMC_UNK);
  22. }
  23. void custom_early_setup(void)
  24. {
  25. }
  26. void custom_mmap_add(void)
  27. {
  28. }
  29. void custom_runtime_setup(void)
  30. {
  31. }