blob: 92c046c508d1b45dadda016357ddc6aa00aa5886 [file] [log] [blame]
Gyorgy Szing49091802020-11-24 00:33:09 +01001/*
2 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include "ffa_internal_api.h"
8#include "optee_sp_internal_api.h"
9#include "sp_api.h"
10
11void __noreturn optee_sp_entry(uintptr_t a0, uintptr_t a1, uintptr_t a2,
12 uintptr_t a3)
13{
14 (void)a1;
15 (void)a2;
16 (void)a3;
17
18 sp_main((struct ffa_init_info *)a0);
19}
20
21void optee_sp_log_puts(const char *str)
22{
23 (void)str;
24}
25
26void __noreturn optee_sp_panic(void)
27{
28 while (1)
29 ;
30}