blob: 019ee6804d150c4cf27cd084f3c8476278e57752 [file] [log] [blame]
mardyk01f5b46352023-10-24 16:23:23 -05001/*
mardyk017b51dbe2024-01-17 15:25:36 -06002 * Copyright (c) 2024, Arm Limited. All rights reserved.
mardyk01f5b46352023-10-24 16:23:23 -05003 *
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
mardyk017b51dbe2024-01-17 15:25:36 -060014#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
27void tftf_test_tsp_smc(uint64_t tsp_id, char *funcstr);
28void run_tsp_fuzz(int funcid);