[coyotos-dev] Executable format for Coyotos

Jonathan S. Shapiro shap at eros-os.com
Fri Mar 9 12:15:53 CST 2007


On Fri, 2007-03-09 at 18:59 +0100, Pierre THIERRY wrote:
> Scribit Jonathan Adams dies 09/03/2007 hora 10:27:
> >     You send a request to the zero space constructor (ZSC).
> 
> Where do I get a capability to it? It's interface isn't (yet) defined in
> the current spec, is it?

No. It's an application. We're starting to lay out those interfaces this
week and next. See the VSC documentation on www.eros-os.org for an idea.

> >     You then install this oGPT into your address space, which requires
> >     you to do a kernel invocation on a GPT.  This causes the zeroed
> >     space (or a subset thereof) to appear in your address space.
> 
> What interface should be used here? I would have thought that it would
> need some invocation of the process capability to do that.

Three ways:

1. You could somehow invoke your own process and receive the result into
an address space slot using an appropriate capitem_t

2. You could fetch your address space cap and walk the tree by hand to
perform the insert.

3. You could fetch your address space cap and do an insert operation
(probably not in the spec yet).

For now, option (2) would be the way to go.

Note that a lot of this stuff will quickly end up in a library.

-- 
Jonathan S. Shapiro, Ph.D.
Managing Director
The EROS Group, LLC
+1 443 927 1719 x5100



More information about the coyotos-dev mailing list