On Wednesday 03 November 2004 11:40 pm, Joseph Koshy wrote:
> I'd like to defer complete initialization of a driver till all CPUs on a
> system have been initialized. Is this possible today? Right now I'm
> forced to use a KLD that gets loaded after the system is booted since the
> driver needs to set up per-cpu structures.
You can setup per-cpu structures on the BSP for one, but you can also use a
SI_SUB_SMP sysinit with an order of SI_ORDER_SECOND or greater.
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
_______________________________________________
freebsd-smp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org"