MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-s3c24a0 / vmalloc.h
blob72078361c913bcd0e139f879407e03f58552a162
1 /*
2 * include/asm-arm/arch-s3c24a0/vmalloc.h
3 *
4 * $Id: vmalloc.h,v 1.2 2005/11/28 03:55:11 gerg Exp $
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.
10 * Based on linux/include/asm-arm/arch-pxa/vmalloc.h
14 * Just any arbitrary offset to the start of the vmalloc VM area: the
15 * current 8MB value just means that there will be a 8MB "hole" after the
16 * physical memory until the kernel virtual memory starts. That means that
17 * any out-of-bounds memory accesses will hopefully be caught.
18 * The vmalloc() routines leaves a hole of 4kB between each vmalloced
19 * area for the same reason. ;)
21 #define VMALLOC_OFFSET (8*1024*1024)
22 #define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
23 #define VMALLOC_VMADDR(x) ((unsigned long)(x))
24 #define VMALLOC_END (PAGE_OFFSET + 0x10000000)