mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
Move PSCI global functions out of private header
Move the PSCI global functions out of psci_private.h and into psci.h to allow the standard service to only depend on psci.h. Change-Id: I8306924a3814b46e70c1dcc12524c7aefe06eed1
This commit is contained in:
parent
5b827a8fb6
commit
c5945735a9
4 changed files with 13 additions and 15 deletions
|
@ -191,6 +191,19 @@ extern void psci_register_spd_pm_hook(const spd_pm_ops *);
|
|||
extern int psci_get_suspend_stateid(unsigned long mpidr);
|
||||
extern int psci_get_suspend_afflvl(unsigned long mpidr);
|
||||
|
||||
extern uint64_t psci_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);
|
||||
|
||||
/* PSCI setup function */
|
||||
extern int32_t psci_setup(void);
|
||||
|
||||
|
||||
#endif /*__ASSEMBLY__*/
|
||||
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include <arch.h>
|
||||
#include <platform.h>
|
||||
#include <psci.h>
|
||||
#include <runtime_svc.h>
|
||||
#include <asm_macros.S>
|
||||
#include <cm_macros.S>
|
||||
|
|
|
@ -156,19 +156,6 @@ extern int psci_afflvl_suspend(unsigned long,
|
|||
int);
|
||||
extern unsigned int psci_afflvl_suspend_finish(unsigned long, int, int);
|
||||
|
||||
/* Private exported functions from psci_main.c */
|
||||
extern uint64_t psci_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);
|
||||
|
||||
/* PSCI setup function */
|
||||
extern int32_t psci_setup(void);
|
||||
|
||||
#endif /*__ASSEMBLY__*/
|
||||
|
||||
#endif /* __PSCI_PRIVATE_H__ */
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include <std_svc.h>
|
||||
#include <psci.h>
|
||||
#include <debug.h>
|
||||
#include "psci/psci_private.h"
|
||||
|
||||
/* Standard Service UUID */
|
||||
DEFINE_SVC_UUID(arm_svc_uid,
|
||||
|
|
Loading…
Add table
Reference in a new issue