From: rich_ard_james@yahoo.co.uk (Rich)
Subject: Importing ld memory defintions into ada code
Date: 8 Aug 2003 03:00:19 -0700
Date: 2003-08-08T10:00:20+00:00 [thread overview]
Message-ID: <8cd0c91f.0308080200.3755802a@posting.google.com> (raw)
Is it possible to use the linker directive definitions for memory
sections in ada?
I want to create a constant in ada that is initialised to the ld
memory definition.
i.e.
ld file;
MEMORY {
Buffer : ORIGIN = 0x00000000, LENGTH = 256
dram_memory : ORIGIN = ., LENGTH = 1M - 256
}
Ada file;
MY_BUFFER : constant ADDRESS_TYPE := Import ld definition of buffer.
I would prefer to do this the other way around but i seriously doubt
that is possible.
If none of this is possible then i will just have to make duplicate
definitions of the same value.
Regards,
Rich
next reply other threads:[~2003-08-08 10:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-08 10:00 Rich [this message]
2003-08-08 14:17 ` Importing ld memory defintions into ada code
2003-08-09 16:02 ` John R. Strohm
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox