comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: ANN: Cortex GNAT RTS 2018-07-15
Date: Fri, 27 Jul 2018 13:51:39 -0700
Date: 2018-07-27T13:51:39-07:00	[thread overview]
Message-ID: <87in50e71g.fsf@nightsong.com> (raw)
In-Reply-To: lyd0v8qvln.fsf@pushface.org

Simon Wright <simon@pushface.org> writes:
> I agree that a considerable chunk of FreeRTOS could probably be replaced
> by straightforward Ada code, but that'd be someone else's project!

Thanks.  I wasn't suggesting that you rewrite FreeRTOS, but rather, I
was just wondering if there were technical obstacles to doing such such
machine-level stuff in Ada.

> The RTOS part of AdaCore's embedded Ravenscar RTOSs (s-bb*.ad?) is about
> 5500 lines (1250 semicolons) of Ada.

Fabien also Chouteau mentioned this.  Does it do mostly the same stuff
as FreeRTOS?  I had thought Ravenscar was deliberately very limited.

I've never used a thing like this and I've seen some incredibly tiny
Forth multitaskers, like a few dozen lines of code.  They basically
implement a context switch called from a cooperative PAUSE primitive,
plus a round robin scheduler and a few other things for starting and
stopping tasks.  So I should try to figure out what additional functions
the RTOS does.


  reply	other threads:[~2018-07-27 20:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15 19:41 ANN: Cortex GNAT RTS 2018-07-15 Simon Wright
2018-07-15 21:53 ` Paul Rubin
2018-07-16  8:53   ` fabien.chouteau
2018-07-16 11:56   ` Simon Wright
2018-07-27  9:07     ` Paul Rubin
2018-07-27 10:13       ` fabien.chouteau
2018-07-27 20:20       ` Simon Wright
2018-07-27 20:51         ` Paul Rubin [this message]
2018-07-28 11:18           ` Simon Wright
2018-07-16 14:56   ` Simon Wright
2018-07-17  2:14     ` Paul Rubin
2018-07-17  8:27       ` fabien.chouteau
2018-07-17  9:43         ` Paul Rubin
2018-07-17 10:21           ` fabien.chouteau
2018-07-17 13:14       ` Simon Wright
2018-07-17 19:46         ` Paul Rubin
2018-07-18  0:59           ` Paul Rubin
2018-07-18  7:27           ` Dmitry A. Kazakov
2018-07-18  8:29             ` Paul Rubin
2018-07-18 11:31         ` Tero Koskinen
2018-07-18 21:52           ` Paul Rubin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox