Lines Matching +full:0 +full:xfffffe00
312 TC_ENABLE = 0x8000
313 TC_PAGE8K = 0x4000
314 TC_PAGE4K = 0x0000
317 TTR_ENABLE = 0x8000 /* enable transparent translation */
318 TTR_ANYMODE = 0x4000 /* user and kernel mode access */
319 TTR_KERNELMODE = 0x2000 /* only kernel mode access */
320 TTR_USERMODE = 0x0000 /* only user mode access */
321 TTR_CI = 0x0400 /* inhibit cache */
322 TTR_RW = 0x0200 /* read/write mode */
323 TTR_RWM = 0x0100 /* read/write mask */
324 TTR_FCB2 = 0x0040 /* function code base bit 2 */
325 TTR_FCB1 = 0x0020 /* function code base bit 1 */
326 TTR_FCB0 = 0x0010 /* function code base bit 0 */
327 TTR_FCM2 = 0x0004 /* function code mask bit 2 */
328 TTR_FCM1 = 0x0002 /* function code mask bit 1 */
329 TTR_FCM0 = 0x0001 /* function code mask bit 0 */
332 CC6_ENABLE_D = 0x80000000 /* enable data cache (680[46]0) */
333 CC6_FREEZE_D = 0x40000000 /* freeze data cache (68060) */
334 CC6_ENABLE_SB = 0x20000000 /* enable store buffer (68060) */
335 CC6_PUSH_DPI = 0x10000000 /* disable CPUSH invalidation (68060) */
336 CC6_HALF_D = 0x08000000 /* half-cache mode for data cache (68060) */
337 CC6_ENABLE_B = 0x00800000 /* enable branch cache (68060) */
338 CC6_CLRA_B = 0x00400000 /* clear all entries in branch cache (68060) */
339 CC6_CLRU_B = 0x00200000 /* clear user entries in branch cache (68060) */
340 CC6_ENABLE_I = 0x00008000 /* enable instruction cache (680[46]0) */
341 CC6_FREEZE_I = 0x00004000 /* freeze instruction cache (68060) */
342 CC6_HALF_I = 0x00002000 /* half-cache mode for instruction cache (68060) */
343 CC3_ALLOC_WRITE = 0x00002000 /* write allocate mode(68030) */
344 CC3_ENABLE_DB = 0x00001000 /* enable data burst (68030) */
345 CC3_CLR_D = 0x00000800 /* clear data cache (68030) */
346 CC3_CLRE_D = 0x00000400 /* clear entry in data cache (68030) */
347 CC3_FREEZE_D = 0x00000200 /* freeze data cache (68030) */
348 CC3_ENABLE_D = 0x00000100 /* enable data cache (68030) */
349 CC3_ENABLE_IB = 0x00000010 /* enable instruction burst (68030) */
350 CC3_CLR_I = 0x00000008 /* clear instruction cache (68030) */
351 CC3_CLRE_I = 0x00000004 /* clear entry in instruction cache (68030) */
352 CC3_FREEZE_I = 0x00000002 /* freeze instruction cache (68030) */
353 CC3_ENABLE_I = 0x00000001 /* enable instruction cache (68030) */
408 .macro func_start name,saveregs,stack=0
436 .macro func_define name,nr=0
584 .long 0
619 leds 0x1
759 movew #0x2700,%sr
768 phys. 0x0. This should result in a bus error on all other machines.
771 same behaviour (0x0..0x7 are no ROM shadow). So we have to do
773 read attempt for 0x00ff82fe phys. that should bus error on a Falcon
776 The test for the Hades is done by reading address 0xb0000000. This
784 moveq #0,%d3 /* default if tag doesn't exist */
793 * serial port. There are no I/O regs at 0x00ffxxxx at all. */
794 moveq #0,%d0
797 movel #0xff000000,%d0 /* Hades I/O base addr: 0xff000000 */
836 .word 0x70 /* trap 0x70 - .BRD_ID */
897 leds 0x2
914 leds 0x4
955 * 040: Map the 16Meg range physical 0x0 up to logical 0x8000.0000
957 mmu_map #0x80000000,#0,#0x01000000,#_PAGE_NOCACHE_S
962 mmu_map_tt #1,#0x40000000,#0x20000000,#_PAGE_NOCACHE_S
968 * 030: Map the 32Meg range physical 0x0 up to logical 0x8000.0000
970 mmu_map #0x80000000,#0,#0x02000000,#_PAGE_NOCACHE030
971 mmu_map_tt #1,#0x40000000,#0x20000000,#_PAGE_NOCACHE030
986 /* On the Atari, we map the I/O region (phys. 0x00ffxxxx) by mapping
988 0xffxxxxxx -> 0x00xxxxxx). For this, an additional pointer table is
992 (i.e. 0xffxxxxxx -> 0xffxxxxxx), because some I/O registers are
999 /* I/O base addr for non-Medusa, non-Hades: 0x00000000 */
1000 moveq #0,%d0
1006 2: movel #0xff000000,%d0 /* Medusa/Hades base addr: 0xff000000 */
1012 * need to disable caches (crucial only for 0xff8000..0xffffff
1013 * (standard I/O) and 0xf00000..0xf3ffff (IDE)). The remainder
1015 * ROMs (mirror at phys. 0x0), so caching isn't necessary for
1017 mmu_map #0xff000000,%d3,#0x01000000,#_PAGE_NOCACHE030
1023 mmu_map #0xff000000,%d3,#0x01000000,#_PAGE_NOCACHE_S
1033 * add transparent mapping for 0xff00 0000 - 0xffff ffff
1036 * 0xfe000000-0xfeffffff is for screen and ROM
1041 mmu_map_tt #0,#0xfe000000,#0x01000000,#_PAGE_CACHE040W
1042 mmu_map_tt #1,#0xff000000,#0x01000000,#_PAGE_NOCACHE_S
1052 /* On the HP300, we map the ROM, INTIO and DIO regions (phys. 0x00xxxxxx)
1053 * by mapping 32MB (on 020/030) or 16 MB (on 040) from 0xf0xxxxxx -> 0x00xxxxxx).
1060 * 030: Map the 32Meg range physical 0x0 up to logical 0xf000.0000
1062 mmu_map #0xf0000000,#0,#0x02000000,#_PAGE_NOCACHE030
1068 * 040: Map the 16Meg range physical 0x0 up to logical 0xf000.0000
1070 mmu_map #0xf0000000,#0,#0x01000000,#_PAGE_NOCACHE_S
1083 * 4MB of RAM at address 0, so now need to do a transparent
1088 mmu_map_tt #1,#0xe0000000,#0x20000000,#_PAGE_NOCACHE030
1101 * 4MB of RAM at address 0, so now need to do a transparent
1107 * IO is in the range 0xfff00000 to 0xfffeffff.
1108 * PROM is 0xff800000->0xffbfffff and SRAM is
1109 * 0xffe00000->0xffe1ffff.
1112 mmu_map_tt #1,#0xe0000000,#0x20000000,#_PAGE_NOCACHE_S
1125 * 4MB of RAM at address 0, so now need to do a transparent
1132 mmu_map_tt #1,#0xe0000000,#0x20000000,#_PAGE_NOCACHE_S
1151 * 0x5000.0000 ... 0x5300.0000 range,
1155 * 0x0000.0000 then we know there is valid RAM just
1158 * By the way, if the frame buffer is at 0x0000.0000
1183 * Mac Note: screen address of logical 0xF000.0000 -> <screen physical>
1192 mmu_map_eq #0x40000000,#0x02000000,%d3
1194 mmu_map_eq #0x50000000,#0x03000000,%d3
1195 /* Nubus slot space (video at 0xF0000000, rom at 0xF0F80000) */
1196 mmu_map_tt #1,#0xf8000000,#0x08000000,%d3
1211 /* copy maps from 0xfee00000 to 0xff000000 */
1212 movel #0xfee00000, %d0
1217 movel #0xfee00000, %d0
1223 movel #0xfee00000, %d0
1230 movel 0xfefe00d4, %a1
1233 movel #((0x200000 >> 13)-1), %d1
1238 addl #0x1000,%d3
1244 mmu_map_tt #1,#0x40000000,#0x40000000,#_PAGE_NOCACHE_S
1252 mmu_map_tt #1,#0xFF000000,#0x01000000,#_PAGE_NOCACHE_S
1261 mmu_map #0x80000000,#0,#0x02000000,#_PAGE_NOCACHE030
1270 leds 0x8
1344 * the logical memory for the kernel, i.e., 0x01000.
1345 * B. The kernel is located some where else. e.g., 0x0400.0000
1356 * then create a mapping for the kernel at logical 0x8000.0000 to
1359 * is engaged, the PC can be moved up into the 0x8000.0000 range
1365 * is made in page 0 (an as of yet unused location -- except for the
1373 * Last, if _start is already at 0x01000, then there's nothing special
1404 movel #0xff000000,L(iobase)
1420 orl #0x50000000,L(mac_sccbase)
1429 movel #0xf0000000,L(iobase)
1435 movel #0x60,0xf05f400c
1441 1: movew #0,0xf05f400e
1442 movew #0x64,0xf05f400e
1450 oriw #0x4000,0x61000000
1460 movel #0x80000000,L(iobase)
1465 leds 0x10
1526 leds 0x55
1546 2: moveq #0,%d0
1602 * bits 11..0 - offset into a particular 4K page
1629 #define mmu_next_valid 0
1637 #define MMU_PRINT_UNINITED 0
1654 #if 0
1662 #if 0
1674 andil #0xFFFFFE00,%d7
1686 andil #0xFFFFFF00,%d7
1694 btst #0,%d6
1721 movel #0x00000000,%a4 /* logical address */
1722 moveql #0,%d0
1733 movel #0,%d1
1734 andil #0xfffffe00,%d6
1745 movel #0,%d2
1746 andil #0xffffff00,%d6
1752 btst #0,%d6
1760 andil #0xfffff4e0,%d1
1783 andiw #0x8000,%d1 /* is it valid ? */
1787 andil #0xff000000,%d1 /* Get the address */
1797 andiw #0x8000,%d1 /* is it valid ? */
1801 andil #0xff000000,%d1 /* Get the address */
1843 andil #0xfffffff0,%d0
1845 movel #0x00000000,%a4 /* logical address */
1846 movel #0,%d0
1853 btst #0,%d6 /* is it early terminating? */
1861 movel #0,%d1
1862 andil #0xfffffff0,%d6
1870 btst #0,%d6 /* is it a page descriptor? */
1878 movel #0,%d2
1879 andil #0xfffffff0,%d6
1885 btst #0,%d6
1990 puts "cputype: 0"
1999 9: putc '0'
2027 bfffo ARG3{#0,#32},%d1
2404 alignment restriction for pointer tables on the '0[46]0. */
2502 movel #0x80000002,%a0@
2504 movel #0x0808,%d0
2512 movel #0x82c07760,%a0@(8)
2516 movel #0x0808,%d0
2534 #if 0
2591 #if 0
2602 #if 0
2652 #if 0
2662 #if 0
2706 #if 0
2757 .byte 4,0x44 /* x16, 1 stopbit, no parity */
2758 .byte 3,0xc0 /* receiver: 8 bpc */
2759 .byte 5,0xe2 /* transmitter: 8 bpc, assert dtr/rts */
2760 .byte 10,0 /* NRZ */
2761 .byte 11,0x50 /* use baud rate generator */
2762 .byte 12,1,13,0 /* 38400 baud */
2764 .byte 3,0xc1 /* enable receiver */
2765 .byte 5,0xea /* enable transmitter */
2781 .byte 4,0x44 /* x16, 1 stopbit, no parity */
2782 .byte 3,0xc0 /* receiver: 8 bpc */
2783 .byte 5,0xe2 /* transmitter: 8 bpc, assert dtr/rts */
2784 .byte 10,0 /* NRZ */
2785 .byte 11,0x50 /* use baud rate generator */
2786 .byte 12,24,13,0 /* 9600 baud */
2788 .byte 3,0xc1 /* enable receiver */
2789 .byte 5,0xea /* enable transmitter */
2796 LPSG_SELECT = 0xff8800
2797 LPSG_READ = 0xff8800
2798 LPSG_WRITE = 0xff8802
2802 LSTMFP_GPIP = 0xfffa01
2803 LSTMFP_DDR = 0xfffa05
2804 LSTMFP_IERB = 0xfffa09
2808 LSCC_CTRL = 0xff8c85
2809 LSCC_DATA = 0xff8c87
2813 LSCC_CTRL = 0xff8c81
2814 LSCC_DATA = 0xff8c83
2818 LMFP_UCR = 0xfffa29
2819 LMFP_TDCDR = 0xfffa1d
2820 LMFP_TDDR = 0xfffa25
2821 LMFP_TSR = 0xfffa2d
2822 LMFP_UDR = 0xfffa2f
2868 bclr #0,%a1@(LSTMFP_IERB)
2869 bclr #0,%a1@(LSTMFP_DDR)
2871 moveb #0xff,%a1@(LPSG_WRITE)
2884 moveb #0xc0,%a0@
2901 moveb #0x88,%a1@(LMFP_UCR)
2902 andb #0x70,%a1@(LMFP_TDCDR)
2914 #define mac_scc_cha_b_ctrl_offset 0x0
2915 #define mac_scc_cha_a_ctrl_offset 0x2
2916 #define mac_scc_cha_b_data_offset 0x4
2917 #define mac_scc_cha_a_data_offset 0x6
2923 moveb #0xc0,%a0@(mac_scc_cha_a_ctrl_offset)
2960 move.l #0xff020010,%a1@ /* must be inited - also used by debug=mem */
2961 move.l #0xff020000,%a1
2976 /*nodbg: q40_do_debug is 0 by default*/
2982 moveb #0x10,M167_PCSCCMICR
2983 moveb #0x10,M167_PCSCCTICR
2984 moveb #0x10,M167_PCSCCRICR
3015 andw #0x00ff,%d0
3016 oriw #0x0100,%d0
3020 andw #0x2000,%d0
3049 3: btst #0,%a1@(LSTMFP_GPIP)
3113 moveb #0,M167_CYCAR
3115 moveb #0x02,M167_CYIER
3122 moveb #0x08,M167_CYTEOIR
3126 moveb #0,M167_CYTEOIR
3132 .word 0x0020 /* TRAP 0x020 */
3154 movel 0xFEFE0018,%a1
3179 andb #0x4,%d0
3194 andb #0x20,%d1
3199 andb #0x20,%d1
3248 andb #0x0f,%d2
3249 addb #'0',%d2
3279 ori #0x0700,%sr
3306 moveb %d0,%a0@(0x1ffff)
3313 eorw #0xff00,%d0
3325 #define Lconsole_struct_cur_column 0
3352 andl #0xffff,%d3 /* d3 = screen width in pixels */
3353 andl #0xffff,%d4 /* d4 = screen height in pixels */
3378 lea 0,%a0
3432 andil #0xffff,%d0
3485 andl #0xffff,%d3 /* d3 = screen width in pixels */
3486 andl #0xffff,%d4 /* d4 = screen height in pixels */
3602 andl #0x000000ff,%d7
3611 * d2 = (bit 0) 1/0 for white/black (!) pixel on screen
3647 * d2 = (bit 0) 1/0 for white/black (!)
3663 * d2 = black or white (0/1)
3743 moveb #0xff,%a1@
3760 movew #0x0fff,%a1@
3772 .long 0
3778 .long 0
3783 .long 0 /* cursor column */
3784 .long 0 /* cursor row */
3785 .long 0 /* max num columns */
3786 .long 0 /* max num rows */
3787 .long 0 /* left edge */
3789 .long 0 /* pointer to console font (struct font_desc) */
3791 .long 0 /* pointer to console font data */
3796 .long 0 /* valid flag */
3797 .long 0 /* start logical */
3798 .long 0 /* next logical */
3799 .long 0 /* start physical */
3800 .long 0 /* next physical */
3804 .long 0
3806 .long 0
3808 .long 0
3810 .long 0
3812 .long 0
3814 .long 0
3816 .long 0
3818 .long 0
3821 M147_SCC_CTRL_A = 0xfffe3002
3822 M147_SCC_DATA_A = 0xfffe3003
3826 M162_SCC_CTRL_A = 0xfff45005
3827 M167_CYCAR = 0xfff450ee
3828 M167_CYIER = 0xfff45011
3829 M167_CYLICR = 0xfff45026
3830 M167_CYTEOIR = 0xfff45085
3831 M167_CYTDR = 0xfff450f8
3832 M167_PCSCCMICR = 0xfff4201d
3833 M167_PCSCCTICR = 0xfff4201e
3834 M167_PCSCCRICR = 0xfff4201f
3835 M167_PCTPIACKR = 0xfff42025
3839 BVME_SCC_CTRL_A = 0xffb0000b
3840 BVME_SCC_DATA_A = 0xffb0000f
3845 .long 0
3847 .long 0
3849 .long 0
3851 .long 0
3853 .long 0
3857 LSRB0 = 0x10412
3858 LTHRB0 = 0x10416
3859 LCPUCTRL = 0x10100
3863 DCADATA = 0x11
3864 DCALSR = 0x1b
3865 APCIDATA = 0x00
3866 APCILSR = 0x14
3868 .long 0
3878 .long 0
3880 .long 0
3882 .long 0
3885 .long 0,0,0,0,0,0,0,0
3889 .long 0
3891 .long 0
3895 GF_PUT_CHAR = 0x00
3897 .long 0