0001
0002
0003
0004
0005
0006
0007
0008 #include <asm/processor.h>
0009 #include <asm/page.h>
0010 #include <asm/cputable.h>
0011 #include <asm/ppc_asm.h>
0012 #include <asm/asm-offsets.h>
0013 #include <asm/cache.h>
0014
0015
0016 _GLOBAL(__restore_cpu_pa6t)
0017 _GLOBAL(__setup_cpu_pa6t)
0018
0019 mfmsr r0
0020 rldicl. r0,r0,4,63
0021 beqlr
0022
0023 mfspr r0,SPRN_HID5
0024 ori r0,r0,0x38
0025 mtspr SPRN_HID5,r0
0026
0027 mfspr r0,SPRN_LPCR
0028 ori r0,r0,0x7000
0029 mtspr SPRN_LPCR,r0
0030
0031 blr