site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Ea5nStOZCENLVUsY0ZUlxNiIrwk1SnHRgfm7bmV5LM0=; b=rJHcW4y+5ygEKc+OuOFzeZslEVJ8YCEVInqAmgiJvL14enRTzbC2Xo0566k9/9UQ3CuwIR+cy9aeP5Fl3DMOchO91igaM3RLnP8KhE4wU9eA/7Ezl4Fj29KVOzkbmEpl0uuHYXRhxo9aP01ruyXxGrYRAYf+0N2Tm6Co7sUbiLE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WMjJI6eqSa0fA6g6r66dcBF51qj5LKftB06DbXOISchX6i93g+rAYVRKSSjXJ/WvoKHKKoZlqWinA+3tTCuSS3uKmsmiEnbtJDyx+SjebBTPLp5AxlxFh2XM4eJ0+kQaIzJVLSRMTLB6u77IFSgUDRpIwNgw0GNW1AXblkTR+0A= On Mon, Mar 24, 2008 at 9:58 PM, Garth Cummings <gcummings@apple.com> wrote:
Hi syl,
On Mar 24, 2008, at 1:44 PM, syl wrote:
On Mon, Mar 24, 2008 at 9:13 PM, Michael Smith <drivers@mu.org> wrote:
On Mar 24, 2008, at 12:28 PM, syl wrote:
I'm trying to wrote an driver using irq and I want to do it without the IOKit. I've created my chardev with cdevsw_add and a simply driver who play on ioport seems to work fine :)
You cannot do this. And you should not do this.
Are talking about not using the IOKit or about using IRQ ?
= Mike
Interrupts are only usable via I/O Kit on Mac OS X.
Ok thanks. Do you know if I can just call in my kext the good functions in C or does I need to redesign all my driver to follow the IOKit way in a C++ language?
--gc ____________________________________________________________________ Garth Cummings gcummings@apple.com Sr. Software Engineer Apple Developer Technical Support
<http://developer.apple.com/technicalsupport>
WWDC 2008 • June 9-13 • Moscone West • San Francisco, CA <http://developer.apple.com/wwdc/>
-- Gallon sylvestre Astek méchant / Assistant Cisco Rathaxes Core Developper / LSE researcher kernel developer for adeneo and OpenBSD fan http://devsyl.blogspot.com/ | www.rathaxes.eu _______________________________________________ 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