site_archiver(a)lists.apple.com
Delivered-To: darwin-kernel(a)lists.apple.com
On 2 Aug 2011, at 14:18, sheetal phirke wrote:
> I am using I/O kit driver with Vnode & File Listeners.
If you're driving real hardware, you may end up handling direct interrupts. Code executing in that context is quite restricted, so most folks avoid direct interrupts and use indirect interrupts instead. Indirect interrupts run in a thread context and are fairly unrestricted.
The "I/O Kit Fundamentals" document explains this stuff in some depth.
<http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Concept…>
No BSD-level code runs in the direct interrupt context.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin-kernel(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: darwin-kernel(a)lists.apple.com
On 2 Aug 2011, at 10:31, sheetal phirke wrote:
> Do we need to care such interrupt levels in Mac OS?
Not really. What kernel subsystem are you working within? I/O Kit, BSD, Mach, or some combination? Each subsystem has its own rules for things like this.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin-kernel(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: darwin-kernel(a)lists.apple.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1312277466; bh=ja3XGrwzY8+XKSmHL6o4guhawcHspFUNe6qv7+/z+4o=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=gPLvUT+VcKsn4utP0YkXFDW9RLDUKFYlaF0UaLlmlOaXVYfNzjSXS5p3DdhAuHZrZQD+kscPAaXeMKjsXXluANHmeD3Fpq8UVCKXLU69FjJUcT/DMaAXxKXHjs1EQgyIjmS+zQi+t47+alQXQpuDPyKJw+p6ps1sh1A0CDq/ISI=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=Xx6D8UB7MKBlb0js7Gjy28A5t2E3tOY0I/UwXxFpFcv9qxIJKH2OQGyHMZFUJfe1j12tXh9/go4ITq0jkLNzcNt1kVrlwro2dkHC6UUpmQ3F4bm/gx1hB+FcXUwdOVTHhK5JmRiriNvYH0cSGYYpL8yfYrAs+wRbsuzfB/YsgWw=;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (Darwin-kernel(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.…
This email sent to site_archiver(a)lists.apple.com