arch/sim: Make the SIGUSR1 host signal to use the NuttX irq logic

Signed-off-by: Sebastian Ene <sene@apache.org>
This commit is contained in:
Sebastian Ene
2020-09-25 17:44:46 +03:00
committed by Xiang Xiao
parent 769d68a762
commit d6210fcd84
4 changed files with 48 additions and 86 deletions
-33
View File
@@ -40,14 +40,6 @@
#ifndef __ARCH_SIM_INCLUDE_ARCH_H
#define __ARCH_SIM_INCLUDE_ARCH_H
/****************************************************************************
* Included Files
****************************************************************************/
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/****************************************************************************
* Inline functions
****************************************************************************/
@@ -61,29 +53,4 @@ static inline uintptr_t sim_getsp(void)
return (uintptr_t)__builtin_frame_address(0);
}
/****************************************************************************
* Public Types
****************************************************************************/
/****************************************************************************
* Public Data
****************************************************************************/
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"
extern "C"
{
#else
#define EXTERN extern
#endif
#undef EXTERN
#ifdef __cplusplus
}
#endif
#endif /* __ARCH_SIM_INCLUDE_ARCH_H */