From mint-bounce@lists.fishpool.fi Fri Apr 8 00:08:38 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Message-ID: <1112911573.4255aed5345f6@imp4-q.free.fr> Date: Fri, 8 Apr 2005 00:06:13 +0200 From: Xavier Joubert To: mint@fishpool.com Subject: Re: [MiNT] MMU usage in MiNT, fork/mmap References: <1112841566.22639.7.camel@taro.coolrunningconcepts.com> <1112902227.31903.3.camel@taro.coolrunningconcepts.com> In-Reply-To: <1112910120.31903.27.camel@taro.coolrunningconcepts.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 62.147.40.104 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: xavier.joubert@free.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: 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.1 tagged_above=-50.5 required=7.0 tests=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 j37M8aSU025018 Selon "Evan K. Langlois" : > > I wrote a full virtual memory engine for TOS some years ago. ASM > > sources are > > available on Patrice Mandin's site ( > > http://membres.lycos.fr/pmandin/download/src/sysinc.zip ). I was > > young. I > > didn't know mmap() at this time. I would write many things differently > > today. > Hmm .. was this about 10 years ago maybe? I think I remember it, or 9. I just downloaded and took a look at the code. Documentation is dated march 1996. I feel suddenly very old. > something similar. Probably lots of ideas we can pull from looking at > the Linux and FreeBSD ports to the 68K as well. Of course. But I understand this one better. I guess I'm the only one. It's ASM. Comments and documentation are in french. :( Nevertheless, I'm quite proud of this. This is my first real project. A whole mmap()-like implementation in one 12k ASM source file. Funny to see how close my code is to mmap() while I discovered mmap() years later. > Thats about what I figured. Some minor differences in the setup and > other details, but the bulk would be compatible. I suppose we should > also be thinking about Coldfire as well, as the 4e core has an MMU. > Believe it's almost identical to the 060's, but I'd have to check. Last time I looked at this (while working on the CT60 design), v4e documentation was still not available, and Motorola staff refused to give any information on the MMU. Xavier