Having an MI routine that's called very early, just after C code can be run?
I think kernel bootstrap / initialization needs more granularity. On Tue, Jul 31, 2012 at 8:56 AM, Christos Zoulas <chris...@zoulas.com> wrote: > On Jul 30, 11:37am, m...@3am-software.com (Matt Thomas) wrote: > -- Subject: Re: CVS commit: src/sys/arch/sparc > > | > | On Jul 30, 2012, at 10:29 AM, Christos Zoulas wrote: > | > | > Module Name: src > | > Committed By: christos > | > Date: Mon Jul 30 17:29:55 UTC 2012 > | > Modified Files: > | > src/sys/arch/sparc/dev: kd.c > | > src/sys/arch/sparc/sparc: machdep.c > | > > | > Log Message: > | > move cn_tab initializationt to cpu_startup > | > | cn_tab was used for early console access > | cpu_startup is too late. > | > | it needs to be done sometime before main is > | called. > > Should we make cn_tab md, and let the ports initialize it themselves? > Any better ideas? > > > christos >