aboutsummaryrefslogtreecommitdiff
path: root/environments/opteesp/libsp_entry.c
blob: 92c046c508d1b45dadda016357ddc6aa00aa5886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include "ffa_internal_api.h"
#include "optee_sp_internal_api.h"
#include "sp_api.h"

void __noreturn optee_sp_entry(uintptr_t a0, uintptr_t a1, uintptr_t a2,
			 uintptr_t a3)
{
	(void)a1;
	(void)a2;
	(void)a3;

	sp_main((struct ffa_init_info *)a0);
}

void optee_sp_log_puts(const char *str)
{
	(void)str;
}

void __noreturn optee_sp_panic(void)
{
	while (1)
		;
}