From owner-freebsd-hackers Sat Jun 3 17:54:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.ptd.net (mail1.ha-net.ptd.net [207.44.96.65]) by hub.freebsd.org (Postfix) with SMTP id 9EFE637C4FA for ; Sat, 3 Jun 2000 17:54:15 -0700 (PDT) (envelope-from tms2@mail.ptd.net) Received: (qmail 22838 invoked from network); 4 Jun 2000 00:54:14 -0000 Received: from du207.cli.ptd.net (HELO mail.ptd.net) (204.186.33.207) by mail.ptd.net with SMTP; 4 Jun 2000 00:54:14 -0000 Message-ID: <3939A7E9.F948018@mail.ptd.net> Date: Sat, 03 Jun 2000 20:50:49 -0400 From: "Thomas M. Sommers" Organization: None X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: Assembly programming under FreeBSD References: <200006031520.LAA06255@rac4.wam.umd.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG James Howard wrote: > > Having just read Konstantin Boldyshev's introduction to FreeBSD assembly > programming, I have a couple of questions. > > When I looked through some code in the source tree (and with a little > background from the article), I noticed that INT 80 interface appears to > be newer than an older interface, "CALL 7:0". When we was this change > made and why? Why was INT 80 chosen? Since this is the same as Linux's > interface, does this simplfy Linux emulation? Hinder it? It isn't the same as Linux's. Linux passes arguments to syscalls in registers, while FreeBSD puts them on the stack. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message