[okl4-developer] okl4 system call or API about "delay" and "interrupt"

kashin Lin kashin08 at gmail.com
Wed Nov 28 18:49:27 EST 2007


Hi,

i wonder know if OKL4 or Iguana has any system call or API that can delay

several msec,( similar to uDelay or mDelay in linux kernel). and how to use
it?

ex: which header file i should include, and what function i can call?


another quetion is about request IRQ:

in linux kernel there is a functin named request_irq whitch can map a IRQ#
to a handler routine.

i noticed there is a function named hardware_register_interrupt in iguana,
but the parameters are

IRQ# and a thread id. it doesn't make sense for me. why not a handler
routine instead of a thread id?

if i want to rigster a handler routine for a IRQ#, how should i do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20071128/d2689fc3/attachment.htm 


More information about the Developer mailing list