]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Factor out platform dependent things unrelated to device drivers into a
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>
Thu, 14 May 2009 00:34:26 +0000 (00:34 +0000)
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>
Thu, 14 May 2009 00:34:26 +0000 (00:34 +0000)
commitb40ce02a2f1b6b59ee7616a769e36cc3d3258971
tree76fac3396a64c911f78e68ca8b02794bc0332825
parente872228f518e5d0e6a5511d0229c98f3403daf21
Factor out platform dependent things unrelated to device drivers into a
new platform module. These are probed in early boot, and have the
responsibility of determining the layout of physical memory, determining
the CPU timebase frequency, and handling the zoo of SMP mechanisms
found on PowerPC.

Reviewed by: marcel, raj
Book-E parts by: raj
25 files changed:
sys/conf/files.powerpc
sys/powerpc/aim/clock.c
sys/powerpc/aim/machdep.c
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c
sys/powerpc/aim/mp_cpudep.c
sys/powerpc/aim/ofw_machdep.c
sys/powerpc/aim/platform_chrp.c [new file with mode: 0644]
sys/powerpc/aim/vm_machdep.c
sys/powerpc/booke/clock.c
sys/powerpc/booke/machdep.c
sys/powerpc/booke/platform_bare.c [new file with mode: 0644]
sys/powerpc/booke/pmap.c
sys/powerpc/booke/vm_machdep.c
sys/powerpc/include/md_var.h
sys/powerpc/include/ofw_machdep.h
sys/powerpc/include/platform.h [moved from sys/powerpc/include/powerpc.h with 80% similarity]
sys/powerpc/include/platformvar.h [new file with mode: 0644]
sys/powerpc/include/pmap.h
sys/powerpc/include/smp.h
sys/powerpc/include/spr.h
sys/powerpc/powerpc/mp_machdep.c
sys/powerpc/powerpc/platform.c [new file with mode: 0644]
sys/powerpc/powerpc/platform_if.m [new file with mode: 0644]
sys/powerpc/powerpc/pmap_dispatch.c