[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] osbind.S ?



Hello!

I have similar interrogations about the "syscall" folder. I see in the changelog that it has been added by Frank in 2002 for generating a third set of trap bindings, through a header named include/mint/sysbind.h. However, this file is neither generated, neither used, although the generator is built along with the MiNTLib. Moreover, the generator is obsolete, for example it is not aware about __CLOBBER_RETURN macro.


These 2 items (osbind.S and syscalls) are quite confusing because they are built with the MiNTLib, but obsolete and not used. It is annoying for making evolutions to the MiNTLib, we don't know if these parts need patching or not.

So I propose to remove osbind.S and syscalls from the MiNTLib. That code will not be lost, because it will remain present in old MiNTLib releases and in the CVS history.

Any comments will be very appreciated.

The new syscall stuff was intended to replace the manual written bindings. It was almost finished from my side.

My suggestion is to get the syscall stuff uptodate and let the generator generate the bindings. I'm sure it's much less work to modify the generator in one place to get correct complete bindings for 68000 and Coldfire.

The syscall generator use the same syscall description input file like the FreeMiNT kernel. So adding new system calls to FreeMiNT kernel and MiNTLib is very easy.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------
http://sparemint.org/
e-Mail: fnaumann@boerde.de