1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef NSI_COMMON_SRC_NSI_CPUN_IF_H 8 #define NSI_COMMON_SRC_NSI_CPUN_IF_H 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 /* 15 * Equivalent interfaces to nsi_cpu<n>_* but for the native simulator internal use 16 */ 17 18 void nsif_cpun_pre_cmdline_hooks(int n); 19 void nsif_cpun_pre_hw_init_hooks(int n); 20 void nsif_cpun_boot(int n); 21 int nsif_cpun_cleanup(int n); 22 void nsif_cpun_irq_raised(int n); 23 void nsif_cpun_irq_raised_from_sw(int n); 24 void nsif_cpun_test_hook(int n, void *p); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif /* NSI_COMMON_SRC_NSI_CPUN_IF_H */ 31