Date: Wed, 29 May 2002 19:40:08 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Julian Elischer <julian@elischer.org>, FreeBSD current users <current@FreeBSD.ORG> Subject: Re: Seeking OK to commit KSE MIII Message-ID: <430.1022694008@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 29 May 2002 12:47:10 EDT." <XFMail.20020529124710.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.20020529124710.jhb@FreeBSD.org>, John Baldwin writes: >+ frame = td->td_frame; >+ frame->tf_eax = retval; /* Child returns zero */ >+ frame->tf_edx = aux; /* I dunno */ > >You could always ask about that instead of having a I dunno comment. :) >I think that we no longer use 2 return values from syscalls for FreeBSD >syscalls (I know we did for fork1() at one point, possibly still do >so that 4.x libc works ok on 5.x kernel). Linux does depend on edx being >preserved across a syscall though IIRC. We do for 64bit returns like lseek(2) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?430.1022694008>