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/] [hardware.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
/*
/*
 * linux/include/asm-arm/arch-nexuspci/hardware.h
 * linux/include/asm-arm/arch-nexuspci/hardware.h
 *
 *
 * Copyright (C) 1997 Philip Blundell
 * Copyright (C) 1997 Philip Blundell
 *
 *
 * This file contains the hardware definitions of the Nexus PCI card.
 * This file contains the hardware definitions of the Nexus PCI card.
 */
 */
 
 
#ifndef __ASM_ARCH_HARDWARE_H
#ifndef __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
#define __ASM_ARCH_HARDWARE_H
 
 
/*
/*
 * What hardware must be present
 * What hardware must be present
 */
 */
 
 
#ifndef __ASSEMBLER__
#ifndef __ASSEMBLER__
 
 
/*
/*
 * Mapping areas
 * Mapping areas
 */
 */
#define IO_BASE                 0xd0000000
#define IO_BASE                 0xd0000000
#define IO_SIZE                 0x30000000
#define IO_SIZE                 0x30000000
#define IO_START                0xd0000000
#define IO_START                0xd0000000
 
 
/*
/*
 * RAM definitions
 * RAM definitions
 */
 */
#define RAM_BASE                0x40000000
#define RAM_BASE                0x40000000
#define MAPTOPHYS(a)            ((unsigned long)(a) - PAGE_OFFSET + RAM_BASE)
#define MAPTOPHYS(a)            ((unsigned long)(a) - PAGE_OFFSET + RAM_BASE)
#define KERNTOPHYS(a)           ((unsigned long)(&a))
#define KERNTOPHYS(a)           ((unsigned long)(&a))
#define KERNEL_BASE             (0xc0008000)
#define KERNEL_BASE             (0xc0008000)
 
 
#else
#else
 
 
#define IO_BASE                 0
#define IO_BASE                 0
 
 
#endif
#endif
#endif
#endif
 
 
 
 

powered by: WebSVN 2.1.0

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