native_simulator: Get latest from upstream
Align with native_simulator's upstream main
b4b9791ac822ae300363dc3ebbc7b7ac200632ce
Which includes:
* b4b9791 NATIVE_SIMULATOR_IF macros: Provide version with explicit
section names
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
54d1bb73dc
commit
9d5a09668b
@ -14,12 +14,16 @@ extern "C" {
|
||||
#include "nsi_cpu_if_internal.h"
|
||||
|
||||
/*
|
||||
* Any symbol annotated by this macro will be visible outside of the
|
||||
* Any symbol annotated by these macros will be visible outside of the
|
||||
* embedded SW library, both by the native simulator runner,
|
||||
* and other possible embedded CPU's SW.
|
||||
*/
|
||||
#define NATIVE_SIMULATOR_IF __attribute__((visibility("default"))) \
|
||||
__attribute__((__section__(".native_sim_if")))
|
||||
#define NATIVE_SIMULATOR_IF_SECT(sect) __attribute__((visibility("default"))) \
|
||||
__attribute__((__section__(sect)))
|
||||
#define NATIVE_SIMULATOR_IF NATIVE_SIMULATOR_IF_SECT(".native_sim_if")
|
||||
#define NATIVE_SIMULATOR_IF_DATA NATIVE_SIMULATOR_IF_SECT(".native_sim_if.data")
|
||||
#define NATIVE_SIMULATOR_IF_TEXT NATIVE_SIMULATOR_IF_SECT(".native_sim_if.text")
|
||||
|
||||
/*
|
||||
* Implementation note:
|
||||
* The interface between the embedded SW and the native simulator is allocated in its
|
||||
|
||||
Loading…
Reference in New Issue
Block a user