pm_svc_main.h 538 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved.
3
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
 */

7
8
#ifndef PM_SVC_MAIN_H
#define PM_SVC_MAIN_H
9
10
11
12
13
14
15
16

#include "pm_common.h"

int pm_setup(void);
uint64_t pm_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);

17
18
19
uint64_t em_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);
20
#endif /* PM_SVC_MAIN_H */