blob: 1a27bdfaee5e2fbe9c74a5c52d0197c696660a3f [file] [log] [blame]
Tejas Patel354fe572018-12-14 00:55:37 -08001/*
Venkatesh Yadav Abbarapuc8bbedc2021-04-19 07:49:57 -06002 * Copyright (c) 2019-2022, Xilinx, Inc. All rights reserved.
Jay Buddhabhatti26e138a2022-12-21 23:03:35 -08003 * Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved.
Tejas Patel354fe572018-12-14 00:55:37 -08004 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#ifndef PM_SVC_MAIN_H
9#define PM_SVC_MAIN_H
10
11#include <pm_common.h>
12
Venkatesh Yadav Abbarapubde87592022-05-24 11:11:12 +053013int32_t pm_setup(void);
Tejas Patel59c608a2019-01-09 04:10:29 -080014uint64_t pm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3,
Venkatesh Yadav Abbarapud3c0eb42022-05-24 14:02:52 +053015 uint64_t x4, const void *cookie, void *handle,
Tejas Patel59c608a2019-01-09 04:10:29 -080016 uint64_t flags);
Tejas Patel354fe572018-12-14 00:55:37 -080017
Venkatesh Yadav Abbarapubde87592022-05-24 11:11:12 +053018int32_t pm_register_sgi(uint32_t sgi_num, uint32_t reset);
Tejas Patel354fe572018-12-14 00:55:37 -080019#endif /* PM_SVC_MAIN_H */