comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Return unconstrained types in ZFP
Date: Mon, 3 Dec 2012 16:59:46 -0800 (PST)
Date: 2012-12-03T16:59:46-08:00	[thread overview]
Message-ID: <fe59f63b-2ed4-42dd-b4bd-fd0597fe65a0@googlegroups.com> (raw)
In-Reply-To: <k9g5oj$9cl$1@speranza.aioe.org>

On Sunday, December 2, 2012 4:13:39 PM UTC-2, Luke A. Guest wrote:
> 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.

I will very keep this info, it sure can be very useful in near future (but now Stephen made a very good suggestion, I am very inclined to use it :-) ). Thanks Luke.



  reply	other threads:[~2012-12-04  0:59 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
2012-12-04  0:59   ` Rego, P. [this message]
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