comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How To Create And Use Memory Map Files
Date: Sat, 16 Feb 2019 19:58:49 +0000
Date: 2019-02-16T19:58:49+00:00	[thread overview]
Message-ID: <lyy36fo686.fsf@pushface.org> (raw)
In-Reply-To: 65487ca1-3a41-4acf-a36d-8ec62fcf5c28@googlegroups.com

"Michael390@gmail.com" <ashos.owner@gmail.com> writes:

> How does Ada do memory map files? Can you give me a few small, but
> easy to read, programs showing the various aspects of using memory map
> files in Ada?
>
> I'd like to know the intricacies of using memory map files.
>
> What is the documentation and what else should I know?


I'm not sure what you mean by 'memory map files'.

Do you mean the map that the linker can output, showing where objects in
the link appear in store?

Or perhaps you mean a way of making a file appear as an array of bytes,
so it looks as though it's in memory? (mmap(2)) - in which case, GNAT
provides System.Mmap - look for s-mmap.ads.

Darwin users are be SOL with this (System.Mmap.OS_Interface is missing),
but you should be OK on Linux.

The files that _are_ present recommend looking at
http://www.sqlite.org/mmap.html

  reply	other threads:[~2019-02-16 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-16 19:40 How To Create And Use Memory Map Files Michael390@gmail.com
2019-02-16 19:58 ` Simon Wright [this message]
2019-02-16 21:13 ` Per Sandberg
2019-02-16 21:34   ` Dmitry A. Kazakov
2019-02-17 22:41 ` Rego, P.
2019-02-18  8:19   ` Dmitry A. Kazakov
2019-02-18  9:31     ` Rego, P.
2019-02-18 10:23       ` Dmitry A. Kazakov
2019-02-18 10:44     ` Niklas Holsti
2019-02-19  9:26       ` Patrick Jakubowski
replies disabled

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