Gyorgy Szing | 4909180 | 2020-11-24 00:33:09 +0100 | [diff] [blame] | 1 | /* |
| 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 | |
| 11 | void __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 | |
| 21 | void optee_sp_log_puts(const char *str) |
| 22 | { |
| 23 | (void)str; |
| 24 | } |
| 25 | |
| 26 | void __noreturn optee_sp_panic(void) |
| 27 | { |
| 28 | while (1) |
| 29 | ; |
| 30 | } |