[EMAIL PROTECTED] (Thomas Bushnell, BSG) writes:

> Roland McGrath <[EMAIL PROTECTED]> writes:
> 
> > That's insane.  The interfaces on 64-bit machines use 64-bit sizes. 
> 
> This breaks network transparency, and is a bug in the MK8x versions of
> the kernel, that had to be fixed in the NORMA versions.

There must be some saner way to solve that problem. For integer
arguments, the network stubs could integers in some bignumish way, and
the receiving stub would convert it to the local machine word or
return an int-is-too-big-error message on overflow. (To get it right
one must treat signed and unsigned integers differently, of course).

It might get a little more complicated with struct arguments, but
there the stubs already have to do endianness conversion and perhaps
also some alignedness fixups.

If it's too late to fix Mach, I hope we can at least do better for L4.

/Niels


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to