Re: Kernel Extensions
Re: Kernel Extensions
- Subject: Re: Kernel Extensions
- From: Eric Long <email@hidden>
- Date: Tue, 03 Dec 2002 10:01:36 -0800
Justin, thanks for your reply.
>
The rules of engagement for C++ in the kernel are somewhat akin to the
>
limitations for Embedded C++.
Ok. I'm not really familiar with Embedded C++, but I took a spin on Google
and found enough to get the picture.
>
All compilation for kernel extensions,
>
whether IOKit gizmos or "just C", must be compiled for static linking.
>
I can't say whether this requires static declarations of methods, but
>
you should be able to verify whether that is the norm by checking a few
>
IOKit projects in the Darwin repository.
I'll take a look around. I have seen only C source examples. Maybe I can
find a kernel extension using C++.
Stiphane Sudre wrote:
>
memcmp is in the kernel AFAIK. It's implemented via the IOKit.
Ah, I see it in IOKit/system.h. Thanks for the tip.
Eric Long
___________________________________________________________________________
Macintosh Software Engineer
Aladdin Systems, Inc.
http://www.aladdinsys.com
245 Westridge Drive, Watsonville, CA 95076 (831) 761-6200 x628
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.