why all the source files in the cpukit include a config.h, is this file realy needed in all the files?

2016-04-13 Thread
there is a config.h included in all C source files in the cpukit, but not included in bsps, why? how can I figure out if this file is needed? Can we remove this file in some source files? ___ devel mailing list devel@rtems.org

about FAST_IDLE in Clock_isr

2020-08-13 Thread
Hi, everyone Is there any consideration why the FAST_IDLE is separated from normal path,can I change the FAST_IDLE like the following? #if defined(BSP_FEATURE_IRQ_EXTENSION) || \ (CPU_SIMPLE_VECTORED_INTERRUPTS != TRUE) void Clock_isr(void *arg); void Clock_isr(void *arg) { #else rtems_isr

Re: [PATCH v1] fix compiling warning

2023-01-16 Thread
with RTEMS_SMP or RTEMS_PROFILING defined, it will call _Thread_Dispatch_disable_critical( _context ) only in UP system with RTEMS_PROFILING not defined, it will call _Thread_Dispatch_disable_critical( NULL ), in this case, the real function use the lock_context is

Re: [PATCH v1] move isr_level of SMP_lock_Context into ISR_lock_Context

2023-01-16 Thread
On Mon, Jan 16, 2023 at 2:47 PM Sebastian Huber wrote: > > On 16.01.23 07:33, Zhu Zhongjie wrote: > > From: Zhongjie Zhu > > > > when Acquires an ISR lock in SMP system, it first call _ISR_Local_disable() > > to disable ISR, this is the same with in UP system, so we could > > use the same