patch-1.3.48 linux/include/asm-mips/mipsconfig.h
Next file: linux/include/asm-mips/mipsregs.h
Previous file: linux/include/asm-mips/mc146818rtc.h
Back to the patch index
Back to the overall index
- Lines: 75
- Date:
Wed Dec 13 12:39:46 1995
- Orig file:
v1.3.47/linux/include/asm-mips/mipsconfig.h
- Orig date:
Tue Jan 17 00:57:01 1995
diff -u --recursive --new-file v1.3.47/linux/include/asm-mips/mipsconfig.h linux/include/asm-mips/mipsconfig.h
@@ -1,29 +1,26 @@
/*
- * linux/include/asm-mips/mipsconfig.h
+ * include/asm-mips/mipsconfig.h
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (C) 1994, 1995 by Waldorf Electronics
- * written by Ralf Baechle
- *
+ * Copyright (C) 1994, 1995 by Ralf Baechle
*/
-#ifndef __ASM_MIPS_MIPS_CONFIG_H
-#define __ASM_MIPS_MIPS_CONFIG_H
+#ifndef __ASM_MIPS_MIPSCONFIG_H
+#define __ASM_MIPS_MIPSCONFIG_H
/*
* This is the virtual address to which all ports are being mapped.
* Must be a value that can be load with a lui instruction.
*/
-#define PORT_BASE 0xe0000000
-
-/* #define NUMBER_OF_TLB_ENTRIES 48 */ /* see bootinfo.h -- Andy */
-#define NUMBER_OF_TLB_ENTRIES 48
+#ifndef PORT_BASE
+#define PORT_BASE 0xe2000000
+#endif
/*
- * Pagetables are 4MB mapped at 0xe3000000
- * Must be a value that can be load with a lui instruction.
+ * Pagetables are 4MB mapped at 0xe4000000
+ * Must be a value that can be loaded with a single instruction.
*/
#define TLBMAP 0xe4000000
@@ -31,14 +28,31 @@
* The virtual address where we'll map the pagetables
* For a base address of 0xe3000000 this is 0xe338c000
* For a base address of 0xe4000000 this is 0xe4390000
- * FIXME: Gas miscomputes the following expression!
+ * FIXME: Gas computes the following expression with signed
+ * shift and therefore false
#define TLB_ROOT (TLBMAP + (TLBMAP >> (12-2)))
*/
#define TLB_ROOT 0xe4390000
/*
- * This ASID is reserved for the swapper
+ * Use this to activate extra TLB error checking
+ */
+#define CONF_DEBUG_TLB
+
+/*
+ * Use this to activate extra TLB profiling code
+ * (currently not implemented)
+ */
+#undef CONF_PROFILE_TLB
+
+/*
+ * Disable all caching. Usefull to find trouble with caches in drivers.
+ */
+#undef CONF_DISABLE_KSEG0_CACHING
+
+/*
+ * Set this to one to enable additional vdma debug code.
*/
-#define SWAPPER_ASID 0
+#define CONF_DEBUG_VDMA 0
-#endif /* __ASM_MIPS_MIPS_CONFIG_H */
+#endif /* __ASM_MIPS_MIPSCONFIG_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this