[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/sparc
> On Jul 30, 11:37am, matt%3am-software.com@localhost (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?
Why don't you guys (as core? or individual developer?) post
an announcement that mentions benefit of -fno-common and
ask Tier II users to fix possible fallout, before putting
random MD fixes that would cause annoying silent hangs?
For sparc, the correct place seems in sparc/autoconf.c:bootstrap().
For sun2 it's sun2/locore2.c:_bootstrap().
Most other m68k ports foo_init() for pre-main initialization.
Main Index |
Thread Index |