configs/sim/nsh/defconfig -- refresh, enable wall-time, dow builds natively in 64-bit mode

This commit is contained in:
Gregory Nutt 2014-10-03 08:44:42 -06:00
parent 31049a203c
commit 48c76840a9
2 changed files with 5 additions and 4 deletions

View File

@ -82,7 +82,7 @@ struct xcptcontext
{ {
void *sigdeliver; /* Actual type is sig_deliver_t */ void *sigdeliver; /* Actual type is sig_deliver_t */
xcpt_reg_t regs[6]; xcpt_reg_t regs[XCPTCONTEXT_REGS];
}; };
#endif #endif
@ -111,7 +111,8 @@ static inline void irqrestore(irqstate_t flags)
#ifdef __cplusplus #ifdef __cplusplus
#define EXTERN extern "C" #define EXTERN extern "C"
extern "C" { extern "C"
{
#else #else
#define EXTERN extern #define EXTERN extern
#endif #endif

View File

@ -118,8 +118,8 @@
/* Compatibility definitions */ /* Compatibility definitions */
# define JB_SP JB_RSI # define JB_SP JB_RSP
# define JB_PC JB_RSP # define JB_PC JB_RSI
#else #else
/* Storage order: %ebx, $esi, %edi, %ebp, sp, and return PC */ /* Storage order: %ebx, $esi, %edi, %ebp, sp, and return PC */