]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set the cacheline size before calling powerpc_init()
authorjhibbits <jhibbits@FreeBSD.org>
Mon, 4 Jan 2016 01:33:07 +0000 (01:33 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Mon, 4 Jan 2016 01:33:07 +0000 (01:33 +0000)
commitafd51eac6cf71fa76d162953df713f73ac76f256
treef3190bba2f3ebfc8abeb4c4222e0434090e649d8
parent99982ba0803f632a8287f6cf2265a8996670cebd
Set the cacheline size before calling powerpc_init()

powerpc_init() initializes the mmu.  Since this may clear pages via
pmap_zero_page(), set the cacheline size before calling into it, so
pmap_zero_page() has the right cacheline size.  This isn't completely
necessary now, but will be when 64-bit book-e is completed.
sys/powerpc/booke/booke_machdep.c