[PATCH 1/2] m68k/include/rtems/score/cpu.h: Add include of address.h

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jan 17 06:34:34 UTC 2019


On 16/01/2019 22:44, Joel Sherrill wrote:
> ---
>   cpukit/score/cpu/m68k/include/rtems/score/cpu.h | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/cpukit/score/cpu/m68k/include/rtems/score/cpu.h b/cpukit/score/cpu/m68k/include/rtems/score/cpu.h
> index 08690f2..38fe763 100644
> --- a/cpukit/score/cpu/m68k/include/rtems/score/cpu.h
> +++ b/cpukit/score/cpu/m68k/include/rtems/score/cpu.h
> @@ -222,6 +222,8 @@ typedef struct {
>       #define _CPU_Context_Initialize_fp( _fp_area ) \
>         memset( *(_fp_area), 0, sizeof( Context_Control_fp ) )
>     #else
> +    #include <rtems/score/address.h>
> +
>       /*
>        *  FP context save area for the M68881/M68882 and 68060 numeric
>        *  coprocessors.

We have a cyclic dependency here, since <rtems/score/address.h> includes 
<rtems/score/cpu.h>. See:

https://lists.rtems.org/pipermail/devel/2019-January/024431.html

-- 
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