mardyk01 | f5b4635 | 2023-10-24 16:23:23 -0500 | [diff] [blame] | 1 | /* |
mardyk01 | 7b51dbe | 2024-01-17 15:25:36 -0600 | [diff] [blame^] | 2 | * Copyright (c) 2024, Arm Limited. All rights reserved. |
mardyk01 | f5b4635 | 2023-10-24 16:23:23 -0500 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <fuzz_helper.h> |
| 8 | #include <power_management.h> |
| 9 | #include <sdei.h> |
| 10 | #include <test_helpers.h> |
| 11 | #include <tftf_lib.h> |
| 12 | #include <timer.h> |
| 13 | |
mardyk01 | 7b51dbe | 2024-01-17 15:25:36 -0600 | [diff] [blame^] | 14 | #ifndef tsp_add_op_funcid |
| 15 | #define tsp_add_op_funcid 0 |
| 16 | #endif |
| 17 | #ifndef tsp_sub_op_funcid |
| 18 | #define tsp_sub_op_funcid 0 |
| 19 | #endif |
| 20 | #ifndef tsp_mul_op_funcid |
| 21 | #define tsp_mul_op_funcid 0 |
| 22 | #endif |
| 23 | #ifndef tsp_div_op_funcid |
| 24 | #define tsp_div_op_funcid 0 |
| 25 | #endif |
| 26 | |
| 27 | void tftf_test_tsp_smc(uint64_t tsp_id, char *funcstr); |
| 28 | void run_tsp_fuzz(int funcid); |