Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2000 18:14:05 -0600
From:      Chris Costello <chris@calldei.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Where is pci_intr_establish() & _thread_sys_read()?
Message-ID:  <20000306181404.H4990@holly.calldei.com>
In-Reply-To: <Pine.GSO.3.96.1000306154923.10267D-100000@sol.cs.binghamton.edu>
References:  <Pine.GSO.3.96.1000306154923.10267D-100000@sol.cs.binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, March 06, 2000, Zhihui Zhang wrote:
> Can anyone tell me where is the code for pci_intr_establish() and
> _thread_sys_read()? I could not find them under /usr/src.

   I can tell you offhand that _thread_sys_anything is the _real_
syscall for `anything'.  This is because a lot of syscalls are
reimplemented within libc_r for reasons that are kind of obvious
(directly calling the read syscall from one thread would block
all the other threads in a process).  So _thread_sys_open() ==
open(2), _thread_sys_read() == read(2), etc.

   I don't know about pci_intr_establish.

-- 
|Chris Costello <chris@calldei.com>
|Today's assembler command :  EXOP   Execute Operator
`----------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000306181404.H4990>