Bellido Nicolas | 038c5b6 | 2005-06-20 18:51:05 +0100 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/asm-arm/arch-aaec2000/memory.h |
| 3 | * |
| 4 | * Copyright (c) 2005 Nicolas Bellido Y Ortega |
| 5 | * |
| 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 | */ |
| 10 | |
| 11 | #ifndef __ASM_ARCH_MEMORY_H |
| 12 | #define __ASM_ARCH_MEMORY_H |
| 13 | |
Bellido Nicolas | 038c5b6 | 2005-06-20 18:51:05 +0100 | [diff] [blame] | 14 | |
Nicolas Pitre | f09b997 | 2005-10-29 21:44:55 +0100 | [diff] [blame] | 15 | #define PHYS_OFFSET UL(0xf0000000) |
Bellido Nicolas | 038c5b6 | 2005-06-20 18:51:05 +0100 | [diff] [blame] | 16 | |
| 17 | #define __virt_to_bus(x) __virt_to_phys(x) |
| 18 | #define __bus_to_virt(x) __phys_to_virt(x) |
| 19 | |
Bellido Nicolas | 038c5b6 | 2005-06-20 18:51:05 +0100 | [diff] [blame] | 20 | /* |
| 21 | * The nodes are the followings: |
| 22 | * |
| 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 |
| 27 | */ |
Russell King | b7dc96d | 2006-11-30 20:39:18 +0000 | [diff] [blame^] | 28 | #define NODE_MEM_SIZE_BITS 26 |
Bellido Nicolas | 038c5b6 | 2005-06-20 18:51:05 +0100 | [diff] [blame] | 29 | |
| 30 | #endif /* __ASM_ARCH_MEMORY_H */ |