memory.h 795 字节
Newer Older
L
Linus Torvalds 已提交
1
/*
2
 *  arch/arm/mach-pxa/include/mach/memory.h
L
Linus Torvalds 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * Author:	Nicolas Pitre
 * Copyright:	(C) 2001 MontaVista Software Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H

/*
 * Physical DRAM offset.
 */
18
#define PHYS_OFFSET	UL(0xa0000000)
L
Linus Torvalds 已提交
19

20
#if !defined(__ASSEMBLY__) && defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
21
void cmx2xx_pci_adjust_zones(unsigned long *size, unsigned long *holes);
22

23 24
#define arch_adjust_zones(size, holes) \
	cmx2xx_pci_adjust_zones(size, holes)
25 26

#define ISA_DMA_THRESHOLD	(PHYS_OFFSET + SZ_64M - 1)
27
#define MAX_DMA_ADDRESS		(PAGE_OFFSET + SZ_64M)
28 29
#endif

L
Linus Torvalds 已提交
30
#endif