blob: 4f8dc2b7f8491f6280928e50e0e2abc6cb6a1621 [file] [log] [blame]
Tejas Patel354fe572018-12-14 00:55:37 -08001/*
2 * Copyright (c) 2019, Xilinx, Inc. All rights reserved.
3 *
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
12int 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,
14 uint64_t x4, void *cookie, void *handle,
15 uint64_t flags);
Tejas Patel354fe572018-12-14 00:55:37 -080016
Venkatesh Yadav Abbarapuaa4898a2021-03-31 03:07:40 -060017int pm_register_sgi(unsigned int sgi_num);
Tejas Patel354fe572018-12-14 00:55:37 -080018#endif /* PM_SVC_MAIN_H */