Path: blob/master/arch/arm/mach-rpc/include/mach/memory.h
15162 views
/*1* arch/arm/mach-rpc/include/mach/memory.h2*3* Copyright (C) 1996,1997,1998 Russell King.4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*9* Changelog:10* 20-Oct-1996 RMK Created11* 31-Dec-1997 RMK Fixed definitions to reduce warnings12* 11-Jan-1998 RMK Uninlined to reduce hits on cache13* 08-Feb-1998 RMK Added __virt_to_bus and __bus_to_virt14* 21-Mar-1999 RMK Renamed to memory.h15* RMK Added TASK_SIZE and PAGE_OFFSET16*/17#ifndef __ASM_ARCH_MEMORY_H18#define __ASM_ARCH_MEMORY_H1920/*21* Physical DRAM offset.22*/23#define PLAT_PHYS_OFFSET UL(0x10000000)2425/*26* Cache flushing area - ROM27*/28#define FLUSH_BASE_PHYS 0x0000000029#define FLUSH_BASE 0xdf0000003031/*32* Sparsemem support. Each section is a maximum of 64MB. The sections33* are offset by 128MB and can cover 128MB, so that gives us a maximum34* of 29 physmem bits.35*/36#define MAX_PHYSMEM_BITS 2937#define SECTION_SIZE_BITS 263839#endif404142