From mint-bounce@lists.fishpool.fi  Sat Apr 30 11:29:35 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
X-ME-UUID: 20050430092608648.9E3DD1C002AD@mwinf0606.wanadoo.fr
Date: Sat, 30 Apr 2005 11:27:45 +0200
From: Patrice Mandin <mandin.patrice@wanadoo.fr>
To: Mint list <mint@fishpool.com>
Subject: Re: [MiNT] Loopback device for MiNT, request for comments
Message-Id: <20050430112745.4f25da2b.mandin.patrice@wanadoo.fr>
In-Reply-To: <Pine.NEB.4.62.0504292042040.13874@wh58-508.st.uni-magdeburg.de>
References: <20050429203536.75299a02.mandin.patrice@wanadoo.fr>
	<Pine.NEB.4.62.0504292042040.13874@wh58-508.st.uni-magdeburg.de>
Organization: Chez moi
X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i586-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mandin.patrice@wanadoo.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=2.0 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00, RCVD_IN_SORBS
X-Spam-Level: *
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id j3U9TZs2018490

Le Fri, 29 Apr 2005 20:44:38 +0200 (CEST)
Frank Naumann <fnaumann@boerde.de> a écrit:

> Hello!
> 
> > going further, is if it would work. To have it working, the device
> > driver needs to call standard fs functions to access the bound file,
> > so is MiNT's gemdos part reentrant, i.e. loop device -> other fs ->
> > other device would work ?
> 
> This is not recommended. Please use kernel_open/read/write/close from 
> inside kernel. The standard fs functions are context bounded.

I call them through the kerinfo structure passed as parameter to the xdd
init function, via the dos_tab array, isn't it the same ? If not, how
can I access the kernel_* functions from a xdd ?

-- 
Patrice Mandin
WWW: http://membres.lycos.fr/pmandin/
Programmeur Linux, Atari
Spécialité: Développement, jeux


