📄 ev96132.h
字号:
/* $Id: ev96132.h,v 1.3 2002/08/12 12:29:57 pefo Exp $ *//* * Copyright (c) 2001-2002 Opsycon AB (www.opsycon.se) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by * Opsycon Open System Consulting AB, Sweden. * 4. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * */#ifndef _EV96132_H_#define _EV96132_H_/* * Define top of PMON-land. PMON will not use memory above this * address but leave it alone for applications. *///#define PMON_TOP 0x00200000 /* 2MB *//* * CS space mapping. */#define IO_BASE 0x17000000 /* Level 1 decode start */#define IO_SIZE (0x1de00000 - IO_BASE)#define FLASH_BASE 0x17000000 /* CS0 */#define FLASH_SIZE 0x04000000#define FCRD_BASE 0x1b000000 /* CS1 */#define FCRD_SIZE 0x02000000#define UART_BASE 0x1d000000 /* CS2 */#define UART_SIZE 0x01000000#define WAN_BASE 0xff000000 /* CS3 */#define WAN_SIZE 0x00600000#define BOOT_BASE 0xfe000000 /* CSBOOT */#define BOOT_SIZE 0x02000000/* * PCI Bus allocation not to go above 0xfeffffff. */#define PCI0_MEM_SPACE_BASE 0xc0000000#define PCI0_MEM_SPACE_SIZE 0x10000000#define PCI0_IO_SPACE_BASE 0xe0000000#define PCI0_IO_SPACE_SIZE 0x08000000#define PCI1_MEM_SPACE_BASE 0xd0000000#define PCI1_MEM_SPACE_SIZE 0x10000000#define PCI1_IO_SPACE_BASE 0xe8000000#define PCI1_IO_SPACE_SIZE 0x08000000#define ISA_IO_BASE PCI_IO_BASE/* * PHY addresses for ethernet */#define PHY_ADD0 0x1c#define PHY_ADD1 0x1d/* * NVRAM mapping */#ifdef NVRAM_IN_FLASH#define NVRAM_SIZE 0x00010000#define NVRAM_SECSIZE 0x00010000#define NVRAM_OFFS 0x00000000#ifdef not_very_likely#define NVRAM_VXWORKS (NVRAM_OFFS + NVRAM_SIZE)#define NVRAM_VXWORKS_DEFAULT \"dc(0,0)host:/usr/vw/config/ev64260/vxWorks h=90.0.0.3 e=90.0.0.50 u=target"#endif#else /* Use clock ram, 256 bytes only */#define NVRAM_SIZE 250#define NVRAM_SECSIZE NVRAM_SIZE /* Helper */#define NVRAM_OFFS 0#define ETHER_OFFS 250#endif/* * Device module flash memory. */#define GT_DM_FLASH FLASH_BASE/* * Device module duart I/O ports. */#define RTC_BASE (UART_BASE + 0x00700000)#define COM1_BASE_ADDR (UART_BASE + 0x20)#define COM2_BASE_ADDR (UART_BASE + 0x00)#define NS16550HZ (3686400)#define GT_COM1 1 #define GT_COM2 2 #define DBGLED (UART_BASE + 0x00100000)#define DBGLEDINIT (UART_BASE + 0x00200000)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -