Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UpTime() in IOKit ?



Hi Markus, Dan Markarian hit it on the head. Use IOTimerEventSource.

There is an example in IOKitFundamentals at this URL.

http://developer.apple.com/techpubs/macosx/Kernel/kernel.html

You also said:
We were not intended to completely re-write our drivers (using callbacks).

Markus unless your device is a ndrv driver from OS 9 you must rewrite your driver.


On Monday, February 11, 2002, at 09:03 AM, Markus Bollinger wrote:

Hello!

In Mac OS 9 we use UpTime() to have a timeout in some polling routines at
driver/hardware init.

What should we use for OS X' IOKit ??

Thanks,
Markus.
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.

************************************
Wayne Flansburg, Worldwide Technical Support
Visit our PCI web page at:
http://developer.apple.com/hardware/pci/
************************************
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.

References: 
 >UpTime() in IOKit ? (From: "Markus Bollinger" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.