[PATCH] tty_io.c balance tty_ldisc_ref()
[linux/fpc-iii.git] / include / asm-arm / arch-aaec2000 / memory.h
blob9eceb4148922e7e1a9bff39f1ca263ae73b2c134
1 /*
2 * linux/include/asm-arm/arch-aaec2000/memory.h
4 * Copyright (c) 2005 Nicolas Bellido Y Ortega
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __ASM_ARCH_MEMORY_H
12 #define __ASM_ARCH_MEMORY_H
15 #define PHYS_OFFSET UL(0xf0000000)
17 #define __virt_to_bus(x) __virt_to_phys(x)
18 #define __bus_to_virt(x) __phys_to_virt(x)
21 * The nodes are the followings:
23 * node 0: 0xf000.0000 - 0xf3ff.ffff
24 * node 1: 0xf400.0000 - 0xf7ff.ffff
25 * node 2: 0xf800.0000 - 0xfbff.ffff
26 * node 3: 0xfc00.0000 - 0xffff.ffff
28 #define NODE_MEM_SIZE_BITS 26
30 #endif /* __ASM_ARCH_MEMORY_H */