patch-2.4.21 linux-2.4.21/arch/m68k/kernel/head.S
Next file: linux-2.4.21/arch/m68k/kernel/m68k_ksyms.c
Previous file: linux-2.4.21/arch/m68k/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 84
- Date:
2003-06-13 07:51:31.000000000 -0700
- Orig file:
linux-2.4.20/arch/m68k/kernel/head.S
- Orig date:
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.20/arch/m68k/kernel/head.S linux-2.4.21/arch/m68k/kernel/head.S
@@ -130,7 +130,7 @@
*
* mmu_engage
* ----------
- * Thanks to a small helping routine enabling the mmu got quiet simple
+ * Thanks to a small helping routine enabling the mmu got quite simple
* and there is only one way left. mmu_engage makes a complete a new mapping
* that only includes the absolute necessary to be able to jump to the final
* postion and to restore the original mapping.
@@ -190,7 +190,7 @@
*
* options
* -------
- * There are many options availble in a build of this file. I've
+ * There are many options available in a build of this file. I've
* taken the time to describe them here to save you the time of searching
* for them and trying to understand what they mean.
*
@@ -1202,7 +1202,7 @@
*
* Map the kernel (that's already done),
* Map the I/O (on most machines that's the
- * 0x5000.0000 ... 0x5200.0000 range,
+ * 0x5000.0000 ... 0x5300.0000 range,
* Map the video frame buffer using as few pages
* as absolutely (this requirement mostly stems from
* the fact that when the frame buffer is at
@@ -1246,10 +1246,11 @@
andl L(mac_videobase),%d0
mmu_map #VIDEOMEMBASE,%d0,#VIDEOMEMSIZE,%d3
- mmu_map_eq #0x40800000,#0x02000000,%d3 /* rom ? */
- mmu_map_eq #0x50000000,#0x02000000,%d3
- mmu_map_eq #0x60000000,#0x00400000,%d3
- mmu_map_eq #0x9c000000,#0x00400000,%d3
+ /* The ROM starts at 4000 0000 */
+ mmu_map_eq #0x40000000,#0x02000000,%d3
+ /* IO devices */
+ mmu_map_eq #0x50000000,#0x03000000,%d3
+ /* NuBus slot space */
mmu_map_tt #1,#0xf8000000,#0x08000000,%d3
jbra L(mmu_init_done)
@@ -1461,6 +1462,9 @@
andl L(mac_videobase),%d0
addl #VIDEOMEMBASE,%d0
movel %d0,L(mac_videobase)
+#ifdef MAC_SERIAL_DEBUG
+ orl #0x50000000,L(mac_sccbase)
+#endif
1:
#endif
@@ -3048,10 +3052,6 @@
#ifdef CONFIG_MAC
is_not_mac(5f)
-#ifdef CONSOLE
- console_putc %d0
-#endif /* CONSOLE */
-
#ifdef MAC_SERIAL_DEBUG
#ifdef MAC_USE_SCC_A
@@ -3446,6 +3446,10 @@
putn %pc@(L(cputype))
putc '\n'
+#ifdef MAC_SERIAL_DEBUG
+ putn %pc@(L(mac_sccbase))
+ putc '\n'
+#endif
# if defined(MMU_PRINT)
jbsr mmu_print_machine_cpu_types
# endif /* MMU_PRINT */
@@ -3622,7 +3626,7 @@
movel %a0@(Lconsole_struct_num_columns),%d1
cmpl %d1,%d0
jcs 1f
- putc '\n' /* recursion is OK! */
+ console_putc #'\n' /* recursion is OK! */
1:
movel %a0@(Lconsole_struct_cur_row),%d1
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)