projects/armv6 merge

Andrew Turner andrew at fubar.geek.nz
Sun Aug 12 00:18:32 UTC 2012


On Sat, 11 Aug 2012 14:41:48 -0600
Ian Lepore <freebsd at damnhippie.dyndns.org> wrote:

> files:       sys/arm/lpc/lpc_machdep.c sys/arm/mv/mv_machdep.c
> description:
> Add missing brace.  Comment out definition of proc0_tf, because it's
> already defined in arm/machdep.c.
> 
> Maybe it's the definition in arm/machdep.c that has to go, but if so
> then a whole lot of other <soc>_machdep.c files need to have the
> definition added.
They were moved from <soc>_machdep.c to arm/marchdep.c as part of
cleaning up duplicate code in initarm. You can remove them from
<soc>_machdep.c. initarm() should then call init_proc0(). The mv version
appears correct, however neither the lpc and tegra versions call
init_proc0() and should be fixed.

Andrew


More information about the freebsd-arm mailing list