From mint-bounce@lists.fishpool.fi Sat May 23 03:36:03 2009 Message-ID: <4A17A69E.1090702@freesbee.fr> Date: Sat, 23 May 2009 09:32:46 +0200 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: mint CC: Frank Naumann Subject: Re: [MiNT] osbind.S ? References: <4A129EFA.8020401@freesbee.fr> <4A15702A.6010108@freesbee.fr> <4A16B68F.1090105@freesbee.fr> <4A1708C1.5080403@freesbee.fr> < <4A172A60.20505@freesbee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 090522-0, 22/05/2009), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id n4N7ZvWl007855 Frank Naumann wrote: > I see the #define Fseek64 but I can't find the #define for trap_1_wllwwl. Sorry, I made a stupid mistake: I looked for "trap_1_wllw" (the one with invalid stack) with partial word matching, so I found "trap_1_wllwwl" too, which is used by Fseek64(). And you're right, there is a second different problem here, the definition if "trap_1_wllwwl" is missing. I remember Alan has made some work around 64-bit wrappers (not real 64-bit support), he will tell us what to do with this invalid Fseek64() macro. > But first I add the return thing to the > syscalls.master. I think, it's neccessary (not only for Fgetdta()). Yes, it would be better to have an exact compatibility with current implementation. The generator is a good thing, it will be soon ready to replace osbind.h, mintbind.h, falcon.h and metados.h. However, it would probably be good to split syscalls.master into osbind.master, mintbind.master, and so on. So the different "libraries" will be kept separate. It should be possible to put arbitrary text into the *.master files, to be copied verbatim to the generated files, for example for comments, defines and structures. That way, it will be a perfect replacement for current hand-written headers. We must not forget the Line A. linea.h is similar to osbind.h. I can't see the interest of linea.c (functions instead of macros), it should be removed. The Line A should be treated in the same way as other system calls. So things are becoming better :-) -- Vincent Rivière