blob: 50bf3955fa2becb6a7825d8b54d0d0ea35b43b68 [file] [log] [blame]
mardyk0182389fb2023-09-25 16:34:56 -05001/*
mardyk017b51dbe2024-01-17 15:25:36 -06002 * Copyright (c) 2024, Arm Limited. All rights reserved.
mardyk0182389fb2023-09-25 16:34:56 -05003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
mardyk01f5b46352023-10-24 16:23:23 -05007#include <sdei_fuzz_helper.h>
Mark Dykes50297972024-03-15 12:49:22 -05008#include "smcmalloc.h"
mardyk01f5b46352023-10-24 16:23:23 -05009#include <tsp_fuzz_helper.h>
mardyk0182389fb2023-09-25 16:34:56 -050010
mardyk0182389fb2023-09-25 16:34:56 -050011/*
12 * Invoke the SMC call based on the function name specified.
13 */
Mark Dykes50297972024-03-15 12:49:22 -050014void runtestfunction(int funcid, struct memmod *mmod)
mardyk0182389fb2023-09-25 16:34:56 -050015{
Mark Dykes50297972024-03-15 12:49:22 -050016 run_sdei_fuzz(funcid, mmod);
mardyk017b51dbe2024-01-17 15:25:36 -060017 run_tsp_fuzz(funcid);
mardyk0182389fb2023-09-25 16:34:56 -050018}