OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-anakin/] [vmalloc.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *  linux/include/asm-arm/arch-anakin/vmalloc.h
3
 *
4
 *  Copyright (C) 2001 Aleph One Ltd. for Acunia N.V.
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
 *  Changelog:
11
 *   09-Apr-2001 TTC    Created
12
 */
13
 
14
#ifndef __ASM_ARCH_VMALLOC_H
15
#define __ASM_ARCH_VMALLOC_H
16
 
17
/*
18
 * VMALLOC_ARCH_OFFSET must be set to VMALLOC_OFFSET (check
19
 * linux/arch/arm/kernel/traps.c)
20
 */
21
#define VMALLOC_ARCH_OFFSET     (8 * 1024 * 1024)
22
#define VMALLOC_VMADDR(a)       ((unsigned int) (a))
23
#define VMALLOC_START           ((VMALLOC_VMADDR(high_memory) + VMALLOC_ARCH_OFFSET) & ~(VMALLOC_ARCH_OFFSET - 1))
24
#define VMALLOC_END             (PAGE_OFFSET + 0x10000000)
25
 
26
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.