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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-nexuspci/] [mmu.h] - Blame information for rev 1777

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

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 * linux/include/asm-arm/arch-nexuspci/mmu.h
3
 *
4
 * Copyright (c) 1997 Philip Blundell.
5
 *
6
 */
7
#ifndef __ASM_ARCH_MMU_H
8
#define __ASM_ARCH_MMU_H
9
 
10
/*
11
 * On NexusPCI, the dram is contiguous
12
 */
13
#define virt_to_phys(vpage) ((vpage) - PAGE_OFFSET + 0x40000000)
14
#define phys_to_virt(ppage) ((ppage) + PAGE_OFFSET - 0x40000000)

powered by: WebSVN 2.1.0

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