[OpenBIOS] L2 Cache Settings
Jd Lyons
lyons_dj at yahoo.com
Tue Jan 30 15:06:37 CET 2018
> On Jan 23, 2018, at 4:53 PM, Segher Boessenkool <segher at kernel.crashing.org> wrote:
>
> \ This assumes we run after hard reset; if not, more work is needed.
>
> \ l2cr@ ( -- x ) mfspr x,1017
> \ l2cr~ ( x -- ) mtspr 1017,x
>
> hex
>
> : init-L2-7447A
> 40200000 l2cr! \ enable L2 parity, initiate invalidate
> BEGIN l2cr@ 00200000 and 0= UNTIL \ wait for invalidate done
> c0200000 l2cr! ; \ enable L2
Ok, I’m not sure how to use this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/openbios/attachments/20180130/1ac903a1/attachment.html>
More information about the OpenBIOS
mailing list