On Jul 30, 2012, at 4:56 PM, Christos Zoulas 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?
there should be a routine (its name varies) that gets called from the assembly and in that you should set cn_tab.