TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
multi_core_ns_interface_testsuite.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include "os_wrapper/mutex.h"
#include "os_wrapper/thread.h"
#include "os_wrapper/tick.h"
#include "psa/client.h"
#include "psa/internal_trusted_storage.h"
#include "psa_manifest/sid.h"
#include "test_framework_helpers.h"
#include "tfm_ns_mailbox.h"
Include dependency graph for multi_core_ns_interface_testsuite.c:

Go to the source code of this file.

Data Structures

struct  test_params
 

Macros

#define NR_MULTI_CALL_CHILD   0
 
#define TEST_CHILD_EVENT_FLAG(x)   (uint32_t)(0x1UL << (x))
 
#define MAX_NR_LIGHT_TEST_ROUND   0x200
 
#define MAX_NR_HEAVY_TEST_ROUND   0x20
 
#define MULTI_CALL_LIGHT_TEST_STACK_SIZE   0x200
 
#define MULTI_CALL_HEAVY_TEST_STACK_SIZE   0x300
 
#define TEST_UID_1   2U
 
#define ITS_DATA   "ITSDataForMultiCore"
 
#define ITS_DATA_LEN   sizeof(ITS_DATA)
 

Functions

void register_testsuite_multi_core_ns_interface (struct test_suite_t *p_test_suite)
 Register testsuite for multi-core topology. More...
 

Macro Definition Documentation

#define ITS_DATA   "ITSDataForMultiCore"

Definition at line 40 of file multi_core_ns_interface_testsuite.c.

#define ITS_DATA_LEN   sizeof(ITS_DATA)

Definition at line 41 of file multi_core_ns_interface_testsuite.c.

#define MAX_NR_HEAVY_TEST_ROUND   0x20

Definition at line 31 of file multi_core_ns_interface_testsuite.c.

#define MAX_NR_LIGHT_TEST_ROUND   0x200

Definition at line 30 of file multi_core_ns_interface_testsuite.c.

#define MULTI_CALL_HEAVY_TEST_STACK_SIZE   0x300

Definition at line 35 of file multi_core_ns_interface_testsuite.c.

#define MULTI_CALL_LIGHT_TEST_STACK_SIZE   0x200

Definition at line 34 of file multi_core_ns_interface_testsuite.c.

#define NR_MULTI_CALL_CHILD   0

Definition at line 23 of file multi_core_ns_interface_testsuite.c.

#define TEST_CHILD_EVENT_FLAG (   x)    (uint32_t)(0x1UL << (x))

Definition at line 27 of file multi_core_ns_interface_testsuite.c.

#define TEST_UID_1   2U

Definition at line 38 of file multi_core_ns_interface_testsuite.c.

Function Documentation

void register_testsuite_multi_core_ns_interface ( struct test_suite_t p_test_suite)

Register testsuite for multi-core topology.

Parameters
[in]p_test_suiteThe test suite to be executed.

Definition at line 76 of file multi_core_ns_interface_testsuite.c.

Here is the call graph for this function: