site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: AcVQGqHeqFInpvuYQGy9GvVWlpvuAwAACqXQ Thread-topic: VNODE sample under Tiger Mike I know this is not good thing to do but we need it because of: 1) Reading configuration 2) Reading L1 code To have more idea, our driver has been developed under ProjectBuilder and OS X 10.1. The same binary can work under 10.2 and 10.3 but for Tiger it's complaining about some missing symbols like _vn_open or _vn_rdwr and finally it's failing to load the driver. Shahriar Pezeshgi Analog Devices High Speed Network Access Products 777 Bay Street, Suite 2303 Toronto, Ontario, Canada M5G 2C8 Tel : (+1)416-644-4981 Fax: (+1)416-598-4004 e-mail: shahriar.pezeshgi@analog.com -----Original Message----- From: Mike Smith [mailto:msmith@freebsd.org] Sent: Tuesday, May 03, 2005 4:00 PM To: Pezeshgi, Shahriar Cc: darwinKernel Dev Subject: Re: VNODE sample under Tiger Performing file I/O inside the kernel is *strongly* discouraged. Whenever possible, you should use a user-space helper application. What are you trying to do that requires you to handle files inside the kernel? = Mike On May 3, 2005, at 9:45 AM, Pezeshgi, Shahriar wrote:
Hi Are the following functions supported in Tiger?
vn_open, vn_close and vn_rdwr. Also is it true that funneling is not needed?
If no, are the following do the same thing under Tiger?
vnode_open, vnode_close, ????. Are these supported under 10.2 or 10.3?
If no, what are current functions to have low level access to vfs?
Shahriar
-----Original Message----- From: darwin-kernel-bounces +shahriar.pezeshgi=analog.com@lists.apple.com [mailto:darwin-kernel-bounces +shahriar.pezeshgi=analog.com@lists.apple.c om] On Behalf Of Justin Walker Sent: Monday, May 02, 2005 5:16 PM To: darwinKernel Dev Subject: Re: VNODE sample under Tiger
On May 2, 2005, at 11:57, Pezeshgi, Shahriar wrote:
Hi all Can someone help me with this question?
Where can I find information regarding vnode_open, vnode_close and etc
function in Tiger? They should be in kernel source code but I haven't
find them, I need exact file or project name.
cd to the top-level directory (xnu-xxx), and execute "make cscope". Then use cscope(1) (see the man page); it will help you find what you want.
Regards,
Justin
-- Justin C. Walker, Curmudgeon-At-Large Institute for General Semantics -------- If you're not confused, You're not paying attention --------
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/ shahriar.pezeshgi%4 0analog.com
This email sent to shahriar.pezeshgi@analog.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/drivers%40mu.org
This email sent to drivers@mu.org
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com