comp.lang.ada
 help / color / mirror / Atom feed
From: "Luke A. Guest" <laguest@archeia.com>
Subject: Re: Return unconstrained types in ZFP
Date: Sun, 2 Dec 2012 18:13:39 +0000 (UTC)
Date: 2012-12-02T18:13:39+00:00	[thread overview]
Message-ID: <k9g5oj$9cl$1@speranza.aioe.org> (raw)
In-Reply-To: 3254b304-ed8b-4601-8a3c-ab3df74d84ad@googlegroups.com

You need to define a small secondary stack, this can be defined in the linker
script and then imported into the correct package. This is the only way to
return unconstrained types. If you look in s-secsta you will see what needs to
be defined, you can implement it in a very basic way, it does not need to be
as complex as the system version.

Also, you need the memory allocation functions, if AVR Ada provides memcpy,
bzero, etc. just import them, see the runtime sources again for how it does this
on Linux. Otherwise, you will have to write your own.

Luke.




  parent reply	other threads:[~2012-12-05  3:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-02  2:38 Return unconstrained types in ZFP Rego, P.
2012-12-02  3:29 ` Shark8
2012-12-04  1:08   ` Rego, P.
2012-12-02 18:13 ` Luke A. Guest [this message]
2012-12-04  0:59   ` Rego, P.
2012-12-02 18:27 ` rrr.eee.27
2012-12-04  0:54   ` Rego, P.
2012-12-03 12:25 ` Stephen Leake
2012-12-04  1:15   ` Rego, P.
2012-12-04  8:40   ` Stephen Leake
2012-12-04 13:21     ` Britt
2012-12-05  3:34       ` Stephen Leake
2012-12-05 13:48         ` Britt
replies disabled

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