From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17720 invoked from network); 2 Jun 1999 22:37:56 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Jun 1999 22:37:56 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id RAA24580 for ; Wed, 2 Jun 1999 17:52:28 -0400 Received: (qmail 26203 invoked from network); 2 Jun 1999 21:52:24 -0000 Received: from dialpool0913-pri.voicenet.com (HELO voicenet.com) (209.71.88.13) by mail12.voicenet.com with SMTP; 2 Jun 1999 21:52:24 -0000 Sender: gat@mail.redhat.com Message-ID: <3755A7C4.FFF51059@voicenet.com> Date: Wed, 02 Jun 1999 17:53:08 -0400 From: Uncle George Organization: Big Endian X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com, "B. James Phillippe" Subject: Re: Understanding Alpha syscalls References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit most of all the syscall interpretation is done in the assembler file entry.S in arch/alpha/kernel. if u know ur syscall #, u can look it up at sys_call_table: + offset(syscall #). hope this helps. gat B. James Phillippe wrote: > Greetings, > > I'm getting quite lost trying to map the sequence of events between a call > to "open" on a device node from user-space to the invocation of the open > method of a file_operations struct. Can anyone bail me out of this mess? > > The C library part is understandable (syscall macros, etc). I am sort of > seeing how system calls are entered in the kernel on Alpha, but it's harder > to follow than x86 because it looks like the PAL does some (a lot?) of the > work. The part I am having the most trouble with is finding where kernel C > code is re-entered to dispatch the file_operations methods.. > > Some pointers or hints of where to look would be helpful. Also, I'm not > sure what mechanism is used to signal the processor/kernel that a system > call has been invoked; on x86 it's something like instruction "int $0x80". > > thanks, > -bp > -- > # Software Development, WatchGuard Inc. > # Projects, PGP key at http://www.terran.org/~bryan > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com