Re: 2/5 System Device Driver Modifications


Boie, Andrew P
 


2) Provide a name recognized by the device_get_binding() function, this
includes what are currently thought to be drivers such as timers, IOAPIC, and
LOAPIC.
Why do you need this for the LOAPIC/IOAPIC?
All its functions are private to the kernel and do not require a device pointer.
Please provide a specific example on where you would need to run device_get_binding() specifically for the APIC.
device_get_binding() is *slow*. It does a linear search + strcmp(). Use it sparingly.

Andrew

Join devel@lists.zephyrproject.org to automatically receive all group messages.