1 /*
2  * Copyright (c) 2023 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 #ifndef NSI_COMMON_SRC_INCL_NCE_IF_H
7 #define NSI_COMMON_SRC_INCL_NCE_IF_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*
14  * Native simulator CPU start/stop emulation module interface
15  *
16  * Check docs/NCE.md for an overview.
17  *
18  * A descriptions of each function can be found in the .c file
19  */
20 
21 void *nce_init(void);
22 void nce_terminate(void *this);
23 void nce_boot_cpu(void *this, void (*start_routine)(void));
24 void nce_halt_cpu(void *this);
25 void nce_wake_cpu(void *this);
26 int nce_is_cpu_running(void *this);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif /* NSI_COMMON_SRC_INCL_NCE_IF_H */
33