URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 1765 |
Rev 1782 |
/*
|
/*
|
* linux/include/asm-arm/arch-nexuspci/mmu.h
|
* linux/include/asm-arm/arch-nexuspci/mmu.h
|
*
|
*
|
* Copyright (c) 1997 Philip Blundell.
|
* Copyright (c) 1997 Philip Blundell.
|
*
|
*
|
*/
|
*/
|
#ifndef __ASM_ARCH_MMU_H
|
#ifndef __ASM_ARCH_MMU_H
|
#define __ASM_ARCH_MMU_H
|
#define __ASM_ARCH_MMU_H
|
|
|
/*
|
/*
|
* On NexusPCI, the dram is contiguous
|
* On NexusPCI, the dram is contiguous
|
*/
|
*/
|
#define virt_to_phys(vpage) ((vpage) - PAGE_OFFSET + 0x40000000)
|
#define virt_to_phys(vpage) ((vpage) - PAGE_OFFSET + 0x40000000)
|
#define phys_to_virt(ppage) ((ppage) + PAGE_OFFSET - 0x40000000)
|
#define phys_to_virt(ppage) ((ppage) + PAGE_OFFSET - 0x40000000)
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.