|
|
| File: [Development] / linux-2.6-xfs / arch / arm / mach-pnx4008 / include / mach / memory.h (download)
Revision 1.1, Fri Oct 3 17:46:45 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Merge up to 2.6.27-rc8 Merge of 2.6.x-xfs-melb:linux:32254b by kenmcd. |
/* * arch/arm/mach-pnx4008/include/mach/memory.h * * Copyright (c) 2005 Philips Semiconductors * Copyright (c) 2005 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 as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ #ifndef __ASM_ARCH_MEMORY_H #define __ASM_ARCH_MEMORY_H /* * Physical DRAM offset. */ #define PHYS_OFFSET (0x80000000) #define __virt_to_bus(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) #define __bus_to_virt(x) ((x) + PAGE_OFFSET - PHYS_OFFSET) #endif