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