Strong APA Scheduler : First Draft

Richi Dubey richidubey at gmail.com
Mon Jul 27 07:44:43 UTC 2020


>
> Which compiler error do you get? Maybe there is a cyclic dependency.


I assumed that the schedulersmp.h already includes the percpu.h which was
not the case. My bad. The error has been removed.

I assumed this because schedulersmp.h uses
<https://git.rtems.org/rtems/tree/cpukit/include/rtems/score/schedulersmp.h?id=3a95a07d88a6926bd2f67dc53c977b8dbc828f9c#n127>
Per_CPU_Control
and does not show any compilation error, so it should have the percpu.h
included in one of its included header files right? If it has, why did my
schedulerstrongapa.h that had the schedulersmp.h included give the
following error:

/home/richi/quick-start/src/rtems/cpukit/include/rtems/score/schedulerstrongapa.h:102:3:
error: unknown type name 'Per_CPU_Control'
   Per_CPU_Control cpu;

On Mon, Jul 27, 2020 at 10:30 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 26/07/2020 16:03, Gedare Bloom wrote:
>
> > On Sat, Jul 25, 2020 at 11:21 AM Richi Dubey<richidubey at gmail.com>
> wrote:
> >> Dear Dr. Bloom,
> >>
> >> Please find the pull request at the following link:
> https://github.com/RTEMS/rtems/pull/39.
> >>
> > It would be great if you can create a GitHub Pull Request (PR) for
> > your branch against your "master" branch in your fork.
> >
> > I'd prefer you not submit a PR to RTEMS repo, but rather, to your
> > forked repo. We don't review PRs on RTEMS/github in general, so it is
> > better to keep this review off the github mirror.
> Yes, this would be nice.
> >> Please note that I have tried to remove all the compilation errors but
> this still won't compile right now, because my implementation requires the
> use of percpu.h file, which (I'm assuming) is not currently linked with the
> source files related to Strong APA.
> >>
> > That seems strange.
> >
> Which compiler error do you get? Maybe there is a cyclic dependency.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200727/c06ee48a/attachment-0001.html>


More information about the devel mailing list