blob: b6e764f2cbe680ef107c42f97661f85427d3ef3c [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.
Tejas Patel354fe572018-12-14 00:55:37 -08003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PM_SVC_MAIN_H
8#define PM_SVC_MAIN_H
9
10#include <pm_common.h>
11
Venkatesh Yadav Abbarapubde87592022-05-24 11:11:12 +053012int32_t pm_setup(void);
Tejas Patel59c608a2019-01-09 04:10:29 -080013uint64_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 +053014 uint64_t x4, const void *cookie, void *handle,
Tejas Patel59c608a2019-01-09 04:10:29 -080015 uint64_t flags);
Tejas Patel354fe572018-12-14 00:55:37 -080016
Venkatesh Yadav Abbarapubde87592022-05-24 11:11:12 +053017int32_t pm_register_sgi(uint32_t sgi_num, uint32_t reset);
Tejas Patel354fe572018-12-14 00:55:37 -080018#endif /* PM_SVC_MAIN_H */