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 /* Native simulator CPU start/stop emulation module interface */ 14 15 void *nce_init(void); 16 void nce_terminate(void *this); 17 void nce_boot_cpu(void *this, void (*start_routine)(void)); 18 void nce_halt_cpu(void *this); 19 void nce_wake_cpu(void *this); 20 int nce_is_cpu_running(void *this); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* NSI_COMMON_SRC_INCL_NCE_IF_H */ 27