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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-nexuspci/] [mmu.h] - Rev 1782

Compare with Previous | Blame | View Log

/*
 * linux/include/asm-arm/arch-nexuspci/mmu.h
 *
 * Copyright (c) 1997 Philip Blundell.
 *
 */
#ifndef __ASM_ARCH_MMU_H
#define __ASM_ARCH_MMU_H
 
/*
 * On NexusPCI, the dram is contiguous
 */
#define virt_to_phys(vpage) ((vpage) - PAGE_OFFSET + 0x40000000)
#define phys_to_virt(ppage) ((ppage) + PAGE_OFFSET - 0x40000000)
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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