Lines Matching refs:r0
398 // option selector in r0
402 // r0 = 0 unknown
404 // r0 = 1 ldq_p
405 // r0 = 2 stq_p
408 // r0 = 3 dump_tb's
411 // r0<0> = 1, success
412 // r0<0> = 0, failure, or option not supported
413 // r0<63:1> = (generally 0, but may be function dependent)
414 // r0 - load data on ldq_p
420 cmpeq r18, CSERVE_K_RD_IMPURE, r0
421 bne r0, Sys_Cserve_Rd_Impure
423 cmpeq r18, CSERVE_K_JTOPAL, r0
424 bne r0, Sys_Cserve_Jtopal
427 or r31, r31, r0
431 mfpr r0, pt_impure // Get base of impure scratch area.
445 ldq_p r0,0(r17) // get the data
455 lda r0,17(r31) // bogus
463 lda r0, hlt_c_callback(r31)
468 mfpr r0, pal_base
469 ldq_p r0, 8(r0)
477 addq r31, 64, r0 // initialize loop counter
483 subq r0, 1, r0 // decrement loop counter
489 bne r0, 1b
493 addq r31, 48, r0 // initialize loop counter
499 subq r0, 1, r0 // decrement loop counter
505 bne r0, 2b
506 or r31, 1, r0 // set success
1005 mtpr r0, pt0
1006 lda r0, hlt_c_hw_halt(r31) // set halt code to hw halt
1045 mtpr r0, pt0 // save r0 for scratch
1047 mtpr r1, pt1 // save r0 for scratch
1049 ldq_p r0, ei_addr(r14) // EI_ADDR IPR
1051 bis r0, r10, r31 // Touch lds to make sure they complete before doing scrub
1121 stq_p r0, mchk_crd_ei_addr(r14)
1139 Get_TLSB_Node_Address(r10,r0) // compute our nodespace address
1149 mfpr r0, pt0 // restore r0
1204 // r0 = addr of cache block
1211 srl r0, 39, r8 // get high bit of bad pa
1216 ldq_p r8, 0(r0) // attempt to read the bad memory
1224 stq_p r8, 0(r0) // Store it back if it is still there.
1231 xor r8, r0, r0
1235 ldq_p r8, 0(r0) // attempt to read the bad memory
1243 stq_p r8, 0(r0) // Store it back if it is still there.
1247 lda r8, 0x20(r31) // restore r0 to original address
1248 xor r8, r0, r0
1263 // pt0 - saved r0
1286 mtpr r0, pt0 // Stash for scratch
1363 // r0 = whami
1392 mtpr r0, pt1 // r0 is whami (unless we entered via swp)
1396 bis r31, 1, r0
1397 sll r0, icsr_v_crde, r0 // A 1 in iscr<corr_read_enable>
1398 or r0, r1, r1 // Set the bit
1457 rc r0 // clear intr_flag
1460 mfpr r0, pt_misc
1461 srl r0, pt_misc_v_switch, r1
1474 mfpr r0, pt1 // get whami
1475 insbl r0, 1, r0 // isolate whami in correct pt_misc position
1476 or r0, r1, r1 // combine whami and mces
1479 zapnot r3, 1, r0 // isolate halt code
1480 mtpr r0, pt0 // save entry type
1529 mfpr r0, pt0 // get entry type
1534 // r0 - pt_misc
1541 bic r0, r9, r0 // clear switch bit
1542 mtpr r0, pt_misc
1582 or r31, r31, r0 // set success
1602 mtpr r0, pt0 // Stash for scratch -- OK if Cbox overwrites
1603 // r0 later
1624 lda r0, scb_v_procmchk(r31) // SCB vector
1626 sll r0, 16, r0 // Move SCBv to correct position
1635 or r14, r0, r14 // Insert new SCB vector
1636 lda r0, mchk_c_proc_hrd_error(r31) // MCHK code
1639 sll r0, 32, r0 // Move MCHK code to correct position
1641 or r14, r0, r14 // Insert new MCHK code
1682 // pt0 - saved r0
1691 // r0, r1, r4, r5, r6, r12, r13, r25 - available
1717 ldq_p r0, fill_syn(r14) // FILL_SYN IPR
1719 bis r0, r0, r31 // Touch lds to make sure they complete before reading EI_STAT
1831 // r0 - fill_syn
1843 // pt0 - saved r0
1884 stq_p r0, mchk_fill_syn(r14)
1885 mfpr r0, pt0
1916 GET_ADDR(r0,0x1800,r31) // get ICPERR_STAT value
1917 and r0, r8, r0 // compare
1918 beq r0, 2f // check next case if nothing set
1919 lda r0, mchk_c_retryable_ird(r31) // set new MCHK code
1923 GET_ADDR(r0,0x3f,r31) // get DCPERR_STAT value
1924 and r0, r8, r0 // compare
1925 beq r0, 3f // check next case if nothing set
1926 lda r0, mchk_c_dcperr(r31) // set new MCHK code
1930 GET_ADDR(r0,0x107ff,r31) // get SC_STAT value
1931 and r0, r8, r0 // compare
1932 beq r0, 4f // check next case if nothing set
1933 lda r0, mchk_c_scperr(r31) // set new MCHK code
1937 GET_ADDR(r0,0x30000000,r31) // get EI_STAT value
1938 and r0, r8, r0 // compare
1939 beq r0, 5f // check next case if nothing set
1940 lda r0, mchk_c_bcperr(r31) // set new MCHK code
1944 GET_ADDR(r0,0xfe01,r31) // get high TLBER mask value
1945 sll r0, 16, r0 // shift into proper position
1947 or r0, r1, r0 // merge mask values
1948 and r0, r8, r0 // compare
1949 beq r0, 6f // check next case if nothing set
1950 GET_ADDR(r0, 0xfff0, r31) // set new MCHK code
1954 GET_ADDR(r0,0xff7f,r31) // get TLEPAERR mask value
1955 and r0, r8, r0 // compare
1956 beq r0, 7f // check next case if nothing set
1957 GET_ADDR(r0, 0xfffa, r31) // set new MCHK code
1961 GET_ADDR(r0,0x7,r31) // get TLEPDERR mask value
1962 and r0, r8, r0 // compare
1963 beq r0, 8f // check next case if nothing set
1964 GET_ADDR(r0, 0xfffb, r31) // set new MCHK code
1968 GET_ADDR(r0,0x3f,r31) // get TLEPMERR mask value
1969 and r0, r8, r0 // compare
1970 beq r0, 9f // check next case if nothing set
1971 GET_ADDR(r0, 0xfffc, r31) // set new MCHK code
1975 GET_ADDR(r0,0xb,r31) // get EI_STAT mask value
1976 sll r0, 32, r0 // shift to upper lw
1977 and r0, r8, r0 // compare
1978 beq r0, 1f // check next case if nothing set
1979 GET_ADDR(r0,0xfffd,r31) // set new MCHK code
1983 GET_ADDR(r0,0x80,r31) // get TLEPAERR mask value
1984 and r0, r8, r0 // compare
1985 beq r0, cont_logout_frame // check next case if nothing set
1986 GET_ADDR(r0, 0xfffe, r31) // set new MCHK code
2000 stl_p r0, mchk_mchk_code(r14) // save new mchk code
2004 mfpr r0, pt0
2114 lda r0, hlt_c_dbl_mchk(r31)
2126 lda r0, hlt_c_mchk_from_pal(r31)
2213 // pt0 <- r0
2322 // r0 base address of CBOX iprs