[PATCH 1/1] i386 libcpu-score changes

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Aug 20 09:09:01 UTC 2013


On 2013-08-20 10:55, philipp.eppelt at mailbox.tu-dresden.de wrote:
> diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
> index 43422ed..68b0e53 100644
> --- a/cpukit/score/cpu/i386/rtems/score/cpu.h
> +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
> @@ -29,9 +29,9 @@ extern "C" {
>
>   #include <rtems/score/types.h>
>   #include <rtems/score/i386.h>
> -
> +#include <libcpu/cpu-score-split.h>
>   #ifndef ASM
> -#include <rtems/score/interrupts.h>	/* formerly in libcpu/cpu.h> */
> +#include <libcpu/interrupts.h>	/* formerly in libcpu/cpu.h> */

The header files in cpukit must not use RTEMS header files outside the cpukit 
directory.

You must place the declarations in <rtems/score/cpu.h>.  You can move the 
implementation to libcpu.

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