From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4667 invoked from network); 2 Jun 1999 21:40:30 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Jun 1999 21:40:30 -0000 Received: from earth.terran.org (bryan@earth.terran.org [216.39.144.215]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA32078 for ; Wed, 2 Jun 1999 16:55:03 -0400 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.8) with ESMTP id NAA08125; Wed, 2 Jun 1999 13:55:02 -0700 Date: Wed, 2 Jun 1999 13:55:02 -0700 (PDT) From: "B. James Phillippe" To: AXP list , Linux Alpha Subject: Understanding Alpha syscalls Message-ID: Organization: terran.org/darkforest.org X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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