Hi

I am working through i386 support and turning on the legacy.c
file to get to PCI, I ran into needing the method pcpu_find()
which finds the BSD per cpu structure for this CPU.

struct  pcpu *pcpu_find(u_int cpuid);


So that leads to the question:

+ Since this looks to be used only for tracking purposes,
can we just provide a method that returns NULL?

Any other thoughts on how to deal with this?

I could ifdef it, but it seemed less intrusive to define
a macro or implementation that returned a NULL.


--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to