root/include/asm-mips/mipsconfig.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * linux/include/asm-mips/mipsconfig.h
   3  *
   4  * This file is subject to the terms and conditions of the GNU General Public
   5  * License.  See the file "COPYING" in the main directory of this archive
   6  * for more details.
   7  *
   8  * Copyright (C) 1994, 1995 by Waldorf Electronics
   9  * written by Ralf Baechle
  10  *
  11  */
  12 #ifndef __ASM_MIPS_MIPS_CONFIG_H
  13 #define __ASM_MIPS_MIPS_CONFIG_H
  14 
  15 /*
  16  * This is the virtual address to which all ports are being mapped.
  17  * Must be a value that can be load with a lui instruction.
  18  */
  19 #define PORT_BASE               0xe0000000
  20 
  21 /* #define NUMBER_OF_TLB_ENTRIES        48  */ /* see bootinfo.h -- Andy */
  22 #define NUMBER_OF_TLB_ENTRIES   48
  23 
  24 /*
  25  * Pagetables are 4MB mapped at 0xe3000000
  26  * Must be a value that can be load with a lui instruction.
  27  */
  28 #define TLBMAP                  0xe4000000
  29 
  30 /*
  31  * The virtual address where we'll map the pagetables
  32  * For a base address of 0xe3000000 this is 0xe338c000
  33  * For a base address of 0xe4000000 this is 0xe4390000
  34  * FIXME: Gas miscomputes the following expression!
  35 #define TLB_ROOT                (TLBMAP + (TLBMAP >> (12-2)))
  36  */
  37 #define TLB_ROOT                0xe4390000
  38 
  39 /*
  40  * This ASID is reserved for the swapper
  41  */
  42 #define SWAPPER_ASID            0
  43 
  44 #endif /* __ASM_MIPS_MIPS_CONFIG_H */

/* [previous][next][first][last][top][bottom][index][help] */