[PATCH] rtems: Include <rtems/score/cpuopts.h>
Joel Sherrill
joel at rtems.org
Thu Sep 8 13:03:07 UTC 2022
Ok. Did it get removed from anywhere?
On Thu, Sep 8, 2022, 1:11 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> Directly include <rtems/score/cpuopts.h> in header files using CPU build
> options.
> ---
> cpukit/include/rtems/config.h | 1 +
> cpukit/include/rtems/rtems/intr.h | 1 +
> cpukit/include/rtems/rtems/types.h | 1 +
> 3 files changed, 3 insertions(+)
>
> diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
> index f3c806d494..56d8f2dd46 100644
> --- a/cpukit/include/rtems/config.h
> +++ b/cpukit/include/rtems/config.h
> @@ -61,6 +61,7 @@
> #include <stdint.h>
> #include <rtems/rtems/config.h>
> #include <rtems/score/cpu.h>
> +#include <rtems/score/cpuopts.h>
> #include <rtems/score/isr.h>
> #include <rtems/score/memory.h>
> #include <rtems/score/object.h>
> diff --git a/cpukit/include/rtems/rtems/intr.h
> b/cpukit/include/rtems/rtems/intr.h
> index 8128ff08af..07c55b27a8 100644
> --- a/cpukit/include/rtems/rtems/intr.h
> +++ b/cpukit/include/rtems/rtems/intr.h
> @@ -67,6 +67,7 @@
> #include <rtems/score/basedefs.h>
> #include <rtems/score/chain.h>
> #include <rtems/score/cpu.h>
> +#include <rtems/score/cpuopts.h>
> #include <rtems/score/isr.h>
> #include <rtems/score/isrlevel.h>
> #include <rtems/score/isrlock.h>
> diff --git a/cpukit/include/rtems/rtems/types.h
> b/cpukit/include/rtems/rtems/types.h
> index 4779e61b9c..1dd5f8da86 100644
> --- a/cpukit/include/rtems/rtems/types.h
> +++ b/cpukit/include/rtems/rtems/types.h
> @@ -61,6 +61,7 @@
> #include <sys/_timeval.h>
> #include <sys/cpuset.h>
> #include <rtems/rtems/modes.h>
> +#include <rtems/score/cpuopts.h>
> #include <rtems/score/mppkt.h>
> #include <rtems/score/object.h>
> #include <rtems/score/watchdogticks.h>
> --
> 2.35.3
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220908/aaf3f396/attachment.htm>
More information about the devel
mailing list