blob: 242f3eb6ccfc5d6af5697152b1279c4469e736c1 [file] [log] [blame]
Amit Nagalf7ecba32023-02-15 18:43:55 +05301/*
Michal Simekd4ff2722023-04-20 08:01:03 +02002 * Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved.
Amit Nagalf7ecba32023-02-15 18:43:55 +05303 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6#ifndef CUSTOM_SVC_H
7#define CUSTOM_SVC_H
8
9#define ZYNQMP_SIP_SVC_CUSTOM U(0x82002000)
10#define ZYNQMP_SIP_SVC64_CUSTOM U(0xC2002000)
11
12uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2,
13 uint64_t x3, uint64_t x4, void *cookie,
14 void *handle, uint64_t flags);
15
Amit Nagal71e1ffc2023-02-23 21:37:23 +053016void custom_early_setup(void);
17void custom_mmap_add(void);
Akshay Belsaree8af4da2023-04-06 11:09:20 +053018void custom_runtime_setup(void);
Amit Nagal71e1ffc2023-02-23 21:37:23 +053019
Amit Nagalf7ecba32023-02-15 18:43:55 +053020#endif /* CUSTOM_SVC_H */