Kernel  |  4.4

下载     查看原文件
C++程序  |  26行  |  752 B
/*
 * 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 - 1999, 2000, 03, 04 Ralf Baechle
 * Copyright (C) 2000, 2002  Maciej W. Rozycki
 * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc.
 */
#ifndef _ASM_AR7_SPACES_H
#define _ASM_AR7_SPACES_H

/*
 * This handles the memory map.
 * We handle pages at KSEG0 for kernels with 32 bit address space.
 */
#define PAGE_OFFSET	_AC(0x94000000, UL)
#define PHYS_OFFSET	_AC(0x14000000, UL)

#define UNCAC_BASE	_AC(0xb4000000, UL)	/* 0xa0000000 + PHYS_OFFSET */
#define IO_BASE		UNCAC_BASE

#include <asm/mach-generic/spaces.h>

#endif /* __ASM_AR7_SPACES_H */