summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mipsconfig.h
blob: bb9907bc1936988b48f668fc39054833e20a2af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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, 1996, 1997 by Ralf Baechle
 */
#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.
 */
#ifndef PORT_BASE
#if !defined (__LANGUAGE_ASSEMBLY__)
extern unsigned long port_base;
#endif
#define PORT_BASE port_base
#endif

/* Pgdir is 1 page mapped at 0xff800000. */
#define TLBMAP			0xff800000

/* The virtual address where we'll map the pgdir. */
#define TLB_ROOT		0xff000000

#endif /* __ASM_MIPS_MIPSCONFIG_H */