[PATCH 1/3] i386/smp: Define unused CPU_Interrupt_frame to fix compiler error

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 12 06:48:00 UTC 2018


On 10/03/18 15:11, Amaan Cheval wrote:
> CPU_INTERRUPT_FRAME_SIZE needs to also be set to allow the RTEMS_STATIC_ASSERT
> in percpuasm.c to be fulfilled.

The CPU_Interrupt_frame must properly defined. It must be used by the 
SMP context switch code (which is incomplete for i386). Please have a 
look at the ARM context switch code as an example:

https://git.rtems.org/rtems/tree/cpukit/score/cpu/arm/cpu_asm.S

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list