FreeBSD/MIPS platforms question

Oleksandr Tymoshenko gonzo at univ.kiev.ua
Tue Jul 17 13:07:07 UTC 2007


	Hi! I'm adding ADM5120 support to p4 repo right now and stumbled
upon the routine of setting memory size/timer frequency parameters,
implementations of platform_reset and other functions of platform_ family.
For instance sentry5 uses CFM, malta and PMC boards utilize yamon and
ADM5120 code gets these parameters as argc, argv of entry point.
I think of moving all platform_XXX and mips_init routine to
platform-related machdep file in platform dir, just like in -arm tree e.g.
mips32/sentry5/setnty5_machdep.c
mips32/adm5120/adm5120_machdep.c
etc..

What's your opinion?

-- 
gonzo


More information about the freebsd-mips mailing list