Lines Matching +full:asi +full:- +full:format
1 /* SPDX-License-Identifier: GPL-2.0 */
19 #include <asm/asi.h>
31 /* The following are used with the prom_vector node-ops to figure out
32 * the cpu-type
40 /* Tested on SS-5, SS-10 */
48 .asciz "Sparc-Linux sun4/sun4c or MMU-less not supported\n\n"
52 .asciz "Sparc-Linux sun4e support does not exist\n\n"
55 /* The trap-table - located in the __HEAD section */
61 * these page-table data structures.
101 * memory. The Solaris /boot elf format bootloader
103 * we want to be, otherwise we have to re-map.
106 * in %o7, so we do a pc-relative call to a local
204 * LEON - identified by the psr.impl field
205 * Viking - identified by the psr.impl field
215 be leon_remap /* It is a LEON - jump */
218 /* Sanity-check, is MMU enabled */
264 * on the sun4m is in some ASI space...
276 add %o1, KERNBASE >> (PGDIR_SHIFT - 2), %o3
285 * for ABI compliance anyways? Does this low-mapping provide
300 /* Wow, all that just to move a 32-bit value from one
320 add %g1, KERNBASE >> (PGDIR_SHIFT - 2), %g3
327 /* Sanity-check, is MMU enabled */
334 * with the LEON ASI for mmuregs
344 add %g1, KERNBASE >> (PGDIR_SHIFT - 2), %g3
349 /* Now do a non-relative jump so that PC is in high-memory */
382 sethi %hi(cputypvar), %o1 ! First node has cpu-arch
428 /* LEON CPU - set boot_cpu_id */
429 sethi %hi(boot_cpu_id), %g2 ! boot-cpu index
437 /* Get CPU-ID from most significant 4-bit of ASR17 */
492 /* Fujitsu MicroSPARC-II has no asynchronous flavors of FARs */
507 * show-time!
518 set (THREAD_SIZE - STACKFRAME_SZ - TRACEREG_SZ), %g2
533 * init-code above we default it to zero.
655 /* Finally, turn on traps so that we can call c-code. */
718 .word 0, 0, sun4u_6, 0, sun4u_6e - sun4u_6 - 1, 0
735 mov sun4u_r4 - sun4u_a1, %l3
742 st %l5, [%l4 - 4]
751 ld [%l1 + (sun4u_r1 - sun4u_a1)], %o1
752 add %l1, (sun4u_a2 - sun4u_a1), %o0
754 st %o1, [%o0 + (sun4u_i2 - sun4u_a2)]
756 ld [%l1 + (sun4u_1 - sun4u_a1)], %o1
757 add %l1, (sun4u_a3 - sun4u_a1), %o0
759 st %o1, [%o0 + (sun4u_i3 - sun4u_a3)]
762 add %l1, (sun4u_a4 - sun4u_a1), %o0
778 * gets initialized in c-code so all routines can use it.