Date: Wed, 15 Sep 2010 00:17:52 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/powerpc/aim mmu_oea.c mmu_oea64.c src/sys/powerpc/booke pmap.c src/sys/powerpc/include mmuvar.h Message-ID: <201009150018.o8F0I4pK056786@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
grehan 2010-09-15 00:17:52 UTC FreeBSD src repository Modified files: sys/powerpc/aim mmu_oea.c mmu_oea64.c sys/powerpc/booke pmap.c sys/powerpc/include mmuvar.h Log: SVN rev 212627 on 2010-09-15 00:17:52Z by grehan Introduce inheritance into the PowerPC MMU kobj interface. include/mmuvar.h - Change the MMU_DEF macro to also create the class definition as well as define the DATA_SET. Add a macro, MMU_DEF_INHERIT, which has an extra parameter specifying the MMU class to inherit methods from. Update the comments at the start of the header file to describe the new macros. booke/pmap.c aim/mmu_oea.c aim/mmu_oea64.c - Collapse mmu_def_t declaration into updated MMU_DEF macro The MMU_DEF_INHERIT macro will be used in the PS3 MMU implementation to allow it to inherit the stock powerpc64 MMU methods. Reviewed by: nwhitehorn Revision Changes Path 1.150 +2 -6 src/sys/powerpc/aim/mmu_oea.c 1.39 +1 -6 src/sys/powerpc/aim/mmu_oea64.c 1.36 +1 -6 src/sys/powerpc/booke/pmap.c 1.3 +30 -8 src/sys/powerpc/include/mmuvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009150018.o8F0I4pK056786>