Lines Matching +full:3 +full:d1
55 * 3) Increase readability of the code
291 /* #define FONT_6x11 */ /* 3rd choice */
307 CPUTYPE_0460 = 3 /* if either above are set, this is set */
474 func_define console_plot_pixel,3
544 #define is_040_or_060(lab) btst &CPUTYPE_0460,%pc@(L(cputype)+3); jne lab
545 #define is_not_040_or_060(lab) btst &CPUTYPE_0460,%pc@(L(cputype)+3); jeq lab
546 #define is_040(lab) btst &CPUTYPE_040,%pc@(L(cputype)+3); jne lab
547 #define is_060(lab) btst &CPUTYPE_060,%pc@(L(cputype)+3); jne lab
548 #define is_not_060(lab) btst &CPUTYPE_060,%pc@(L(cputype)+3); jeq lab
549 #define is_020(lab) btst &CPUTYPE_020,%pc@(L(cputype)+3); jne lab
550 #define is_not_020(lab) btst &CPUTYPE_020,%pc@(L(cputype)+3); jeq lab
661 clrl %d1
668 bset #CPUTYPE_060,%d1
669 bset #CPUTYPE_0460,%d1
670 jra 3f
677 bset #CPUTYPE_040,%d1
678 bset #CPUTYPE_0460,%d1
679 jra 3f
685 jeq 3f
686 bset #CPUTYPE_020,%d1
687 jra 3f
688 3:
693 movel %d1,%a0@
711 clrl %d1
717 * d1 := cacheable write-through
736 movel #_PAGE_CACHE040W,%d1
744 movel %d1,%a0@
916 movel #16*1024*1024,%d1
917 cmpl %d0,%d1
919 lsrl #1,%d1
920 cmpl %d0,%d1
922 lsrl #1,%d1
925 movel %d1,%a0@
926 mmu_map #PAGE_OFFSET,%pc@(L(phys_kernel_start)),%d1,\
1203 moveq #ROOT_INDEX_SHIFT, %d1
1204 lsrl %d1,%d0
1208 moveq #PTR_INDEX_SHIFT, %d1
1209 lsrl %d1,%d0
1214 moveq #PAGE_INDEX_SHIFT, %d1
1215 lsrl %d1,%d0
1223 movel #((0x200000 >> 13)-1), %d1
1231 dbra %d1,1b
1519 func_start get_bi_record,%d1
1524 jeq 3f
1533 3: moveq #-1,%d0
1661 3: tstl %d4
1666 jbeq 3b
1696 jbra 3b
1716 movel #0,%d1
1740 moveml %d0-%d1,%sp@-
1742 movel %d6,%d1
1743 andil #0xfffff4e0,%d1
1746 moveml %sp@+,%d0-%d1
1754 addq #1,%d1
1755 cmpib #128,%d1
1765 movel %d0,%d1
1766 andiw #0x8000,%d1 /* is it valid ? */
1769 movel %d0,%d1
1770 andil #0xff000000,%d1 /* Get the address */
1771 putn %d1
1773 putn %d1
1779 movel %d0,%d1
1780 andiw #0x8000,%d1 /* is it valid ? */
1783 movel %d0,%d1
1784 andil #0xff000000,%d1 /* Get the address */
1785 putn %d1
1787 putn %d1
1803 jbne 3f
1808 3:
1844 movel #0,%d1
1881 addq #1,%d1
1882 cmpib #128,%d1
1897 moveml %d0-%d1,%sp@-
1899 movel %d6,%d1
1902 moveml %sp@+,%d0-%d1
1931 cmpl %a0@(mmu_next_physical),%d1
1937 putn %d1
1939 movel %d1,%d6
1945 movel %d1,%a0@(mmu_next_physical)
1967 is_not_mac(3f)
1970 3: puts "unknown"
1981 2: putc '3'
1997 func_start mmu_map_tt,%d0/%d1/%a0,4
2010 bfffo ARG3{#0,#32},%d1
2011 cmpw #8,%d1
2017 lsrl %d1,%d0
2022 movel %d0,%d1
2023 notl %d1
2024 andl ARG2,%d1
2029 orl %d0,%d1
2030 clrw %d1
2037 orw #TTR_ENABLE+TTR_RWM+TTR_FCB2+TTR_FCM1+TTR_FCM0,%d1
2041 orw #TTR_CI,%d1
2044 dputn %d1
2045 movel %d1,%a0@
2058 orw #TTR_ENABLE+TTR_KERNELMODE,%d1
2059 orl ARG4,%d1
2060 dputn %d1
2065 movec %d1,%itt0
2066 movec %d1,%dtt0
2068 1: movec %d1,%itt1
2069 movec %d1,%dtt1
2159 moveq #ROOT_INDEX_SHIFT,%d1
2160 lsrl %d1,%d0
2166 moveq #PTR_INDEX_SHIFT,%d1
2167 lsrl %d1,%d0
2174 moveq #PAGE_INDEX_SHIFT,%d1
2175 lsrl %d1,%d0
2202 moveq #ROOT_INDEX_SHIFT,%d1
2203 lsrl %d1,%d0
2242 moveq #PTR_INDEX_SHIFT,%d1
2243 lsrl %d1,%d0
2297 moveq #ROOT_INDEX_SHIFT,%d1
2298 lsrl %d1,%d0
2304 moveq #PTR_INDEX_SHIFT,%d1
2305 lsrl %d1,%d0
2312 moveq #PAGE_INDEX_SHIFT,%d1
2313 lsrl %d1,%d0
2333 func_start mmu_temp_map,%d0/%d1/%a0/%a1
2345 moveq #ROOT_INDEX_SHIFT,%d1
2346 lsrl %d1,%d0
2372 moveq #PTR_INDEX_SHIFT,%d1
2373 lsrl %d1,%d0
2402 moveq #PAGE_INDEX_SHIFT,%d1
2403 lsrl %d1,%d0
2741 .byte 3,0xc0 /* receiver: 8 bpc */
2747 .byte 3,0xc1 /* enable receiver */
2765 .byte 3,0xc0 /* receiver: 8 bpc */
2770 .byte 14,2,14,3 /* use master clock for BRG, enable */
2771 .byte 3,0xc1 /* enable receiver */
2817 func_start serial_init,%d0/%d1/%a0/%a1
2877 jmi 3f
2881 3: clrb %a0@
2986 func_start serial_putc,%d0/%d1/%a0/%a1
3015 3: btst #2,%a1@(mac_scc_cha_a_ctrl_offset)
3016 jeq 3b
3032 3: btst #0,%a1@(LSTMFP_GPIP)
3033 jne 3b
3045 3: btst #2,%a1@(LSCC_CTRL)
3046 jeq 3b
3049 3: btst #7,%a1@(LMFP_TSR)
3050 jeq 3b
3076 movel vme_brdtype,%d1
3078 cmpi #VME_TYPE_MVME162,%d1
3080 cmpi #VME_TYPE_MVME172,%d1
3093 jra 3f
3102 moveb M167_PCTPIACKR,%d1
3103 moveb M167_CYLICR,%d1
3111 jra 3f
3116 3:
3169 is_not_hp300(3f)
3172 movel %pc@(L(uart_scode)),%d1 /* Check the scode */
3173 jmi 3f /* Unset? Exit */
3174 cmpi #256,%d1 /* APCI scode? */
3176 1: moveb %a1@(DCALSR),%d1 /* Output to DCA */
3177 andb #0x20,%d1
3181 2: moveb %a1@(APCILSR),%d1 /* Output to APCI */
3182 andb #0x20,%d1
3186 3:
3220 moveq #7,%d1
3235 dbra %d1,1b
3252 moveml %d0/%d1/%a0,%sp@-
3256 movel %sp@(22),%d1 /* fetch parameter */
3265 subq #1,%d1
3266 2: jeq 3f
3269 3:
3271 moveml %sp@+,%d0/%d1/%a0
3380 movel %d4,%d1 /* screen height in pixels */
3381 divul %a0@(FONT_DESC_HEIGHT),%d1 /* d1 = max num rows */
3384 movel %d1,%a2@(Lconsole_struct_num_rows)
3409 clrl %d1 /* start at the top */
3417 console_plot_pixel %d0,%d1,%d2
3420 console_plot_pixel %d0,%d1,%d2
3425 addq #1,%d1
3530 movel %a0@(Lconsole_struct_num_rows),%d1
3531 cmpl %d1,%d0
3558 * d1 = cursor row to draw the character
3564 movel %a0@(Lconsole_struct_num_columns),%d1
3565 cmpl %d1,%d0
3569 movel %a0@(Lconsole_struct_cur_row),%d1
3585 * d1 = pixel coordinate, y
3593 mulul %a0@(FONT_DESC_HEIGHT),%d1
3606 console_plot_pixel %d0,%d1,%d2
3612 addq #1,%d1
3621 * d1 = y coordinate
3630 movel ARG2,%d1
3631 mulul %pc@(L(mac_rowbytes)),%d1
3637 * d1 = y coord
3645 movel %d0,%d4 /* we need the low order 3 bits! */
3648 addal %d1,%a1
3665 addal %d1,%a1
3666 andb #3,%d4
3667 eorb #3,%d4 /* reverse the x-coordinate w/ screen-bit # */
3687 addal %d1,%a1
3715 addal %d1,%a1
3729 addal %d1,%a1