From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.182.76 with SMTP id d12mr3234387itj.11.1518210191961; Fri, 09 Feb 2018 13:03:11 -0800 (PST) X-Received: by 10.157.112.141 with SMTP id l13mr188200otj.1.1518210191845; Fri, 09 Feb 2018 13:03:11 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!w142no29008ita.0!news-out.google.com!s63ni25itb.0!nntp.google.com!w142no29006ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 9 Feb 2018 13:03:11 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.113.16.86; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 76.113.16.86 References: <40a33f37-7a25-4587-a80e-2ef5f7528264@googlegroups.com> <9f4aa92f-f3bf-44f8-8316-c66e7eb0f4bc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Reducing the cost of real-time software through a cyclic task abstraction for Ada From: Shark8 Injection-Date: Fri, 09 Feb 2018 21:03:11 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:50349 Date: 2018-02-09T13:03:11-08:00 List-Id: On Thursday, February 8, 2018 at 3:25:45 AM UTC-7, Mark Lorenzen wrote: > On Wednesday, February 7, 2018 at 11:04:33 PM UTC+1, Simon Wright wrote: > > > I ws interested to see the claim that AdaCore BB RTS won't allow an MCU > > to enter a low-power mode. I've not had occasion to try it out, but > > FreeRTOS (which my Cortex GNAT RTS[1] runs on) does support this. > > Yes this claim seems rubbish to me. It is true that the AdaCore BB run-time idle loop is a busy loop which doesn't enter low-power mode, but this can be implemented by a lowest-priority task with an infinite loop entering low-power mode. > > On a LEON3 platform we assigned the lowest priority to the environment task and implemented such an infinite loop in the main program. It works very well. Interesting, but I think the pertinent parts in the paper are the better WCET analysis. (And, since he *was* in touch with AdaCore it's entirely possible that they were alerted to the problem and made a fix like yours / that allowed yours.)