Align with native_simulator's upstream main 64b8be6311a61df2c63987813e8058560c8dc49c Which includes: * 64b8be6 Make: Give option to add extra localization parameters * 05bc3ce Generalize code for N CPUs/MCUs * 489069b Makefile: Generalize for N embedded images * a4c817e runner->embedded trampolines: Improve definitions * 8d8dd29 nsi_utils: Provide debracket macro * 6b4956e Add optional embedded test hook definition Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
31 lines
633 B
C
31 lines
633 B
C
/*
|
|
* Copyright (c) 2023 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef NSI_COMMON_SRC_NSI_CPUN_IF_H
|
|
#define NSI_COMMON_SRC_NSI_CPUN_IF_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Equivalent interfaces to nsi_cpu<n>_* but for the native simulator internal use
|
|
*/
|
|
|
|
void nsif_cpun_pre_cmdline_hooks(int n);
|
|
void nsif_cpun_pre_hw_init_hooks(int n);
|
|
void nsif_cpun_boot(int n);
|
|
int nsif_cpun_cleanup(int n);
|
|
void nsif_cpun_irq_raised(int n);
|
|
void nsif_cpun_irq_raised_from_sw(int n);
|
|
void nsif_cpun_test_hook(int n, void *p);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* NSI_COMMON_SRC_NSI_CPUN_IF_H */
|