⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 VxWorks下8139网卡驱动程序
💻 H
📖 第 1 页 / 共 3 页
字号:
/* pc386/config.h - PC [34]86/Pentium/Pentium[234] configuration header *//* Copyright 1984-2002 Wind River Systems, Inc. *//*modification history--------------------04h,12jul02,pai  Changed RAM_HIGH_ADRS, RAM_LOW_ADRS, and                 LOCAL_MEM_LOCAL_ADRS.04g,12jul02,dmh  added check for !SYS_WARM_BIOS and set NV_RAM_SIZE04f,27jun02,hdn  made SYS_CLK_RATE_MAX an arch dependent macro (spr 27449)04e,05jun02,hdn  added 36Bit MMU support with 2MB page size04d,09may02,hdn  added Pentium4 Asymmetric Multi Processor configuration04c,10may02,pai  In an effort to reduce the compiled size of default images,                 the ATA driver (INCLUDE_ATA) and PC console                 (INCLUDE_PC_CONSOLE) are no longer configured into a build by                 default (SPR 77193).04b,01may02,pai  Remove ATAPI/5 configuration introduced in version 03w.04a,25apr02,rhe  Added C++ Protection03z,24apr02,pai  Added a sysHwInit0() prototype, as a generic interface of                 this name has yet to be defined.03y,22apr02,pai  Removed configuration constants for netif drivers that have                 an END equivalent.  Made DEC and GEI END driver config                 constant names consistent with other BSP END driver config                 constant names.  Removed INCLUDE_EX and INCLUDE_ENP                 config constants (SPR 75629).03x,09apr02,pai  Reworked ATA configuration and documentation (SPR 73848).                 Remove sysCpuProbe() dependence upon INCLUDE_CACHE_SUPPORT                 configuration (SPR 74951).  Updated the configuration for                 components that have a dependency on INCLUDE_PCI (SPR 75634).                 Added sysInumTbl[] table declaration required for                 INT_NUM_GET() (SPR 75710).03w,15apr02,rip  support for ATAPI/5 03v,01apr02,jkf  Added _WRS_BSP_DEBUG_NULL_ACCESS to generate exception when                 code accesses to lower page of memory, null ptr, occur03u,27mar02,pai  No longer explicitly setting WDB_COMM_TYPE to WDB_COMM_END,                 as this is now done in configAll.h (SPR 73338).03t,22mar02,pai  Halt in idle mode is now the default for Pentium-based BSPs                 (SPR# 73324).03s,13mar02,hdn  updated INT_NUM_GET(), added IPI/SM for HTT (spr 73738)03r,12mar02,pai  Removed '#ifdef TRUE' around INCLUDE_PC_CONSOLE (SPR# 73325).03q,07mar02,hdn  added SNOOP_ENABLE to USER_D_CACHE_MODE for P5 (spr 73938)		 undefed PMC, removed MTRR_GET for P5 (spr 73939)03q,04feb02,mrs  Allow console selection from command line.03p,04dec01,jkf  adding macros for reboot device strings                 changed to #undef INCLUDE_LPT by default.03o,27nov01,dmh  move include of iacsfl.h from sysLib.c to config.h03n,16nov01,ahm  added power management support (SPR# 32599)03m,13nov01,hdn  added comment for IOAPIC configuration.03l,25oct01,pai  Removed INT_NUM_FEIx and FEIx_INT_VEC constants.  Added                 support for gei82543End driver (jln).  Added missing                 INT_NUM_MSE definition.03k,24oct01,hdn  added the mother board and ICH definitions for PENTIUM4.		 enabled TSC timestamp counter for P5.  cleaned up.03j,24oct01,dmh  add default macros for COM3 and COM403i,23oct01,pai  Removed obsolete INCLUDE_SLIP configuration constant.03h,01oct01,hdn  fixed typo LPT_INT_LVL0 to LPT0_INT_LVL.03g,26sep01,pai  Added support for dec21x40End driver.  Added INT_NUM_MSE                 and MSE_INT_VEC backward compatibility values for WindML.03f,14sep01,hdn  replaced INT_VEC_GET() with INT_NUM_GET() (spr 69775)		 made TIMER_CLOCK_HZ configurable for APIC TIMER		 incremented BSP_REV to 2, incremented SYS_CLK_RATE_MAX		 added LPT[012]_xxx macros (spr 30067) on behalf of pai03e,16aug01,hdn  added PENTIUM2/3/4 support03d,15aug01,hdn  moved INCLUDE_SCSI2 in the previous FALSE clause.03c,14oct99,jk   added defines for sound support.03b,15mar99,cn   corrected cross-dependencies between INCLUDE_PCI and		 INCLUDE_LN_97X_END, INCLUDE_EL_3C90X_END (SPR# 25680).03a,12mar99,cn   added support for el3c90xEnd driver (SPR# 25327).02z,08mar99,sbs  added support for SMC Elite Ultra ethernet card.(SPR #25234)                 moved INCLUDE_LN_97X_END into INCLUDE_END loop.                 added support for ne2000End driver (SPR #25398)02y,26feb99,dat	 removed FEI from NETIF_USR_ENTRIES (23818)02x,25feb99,hdn  added PentiumPro's MESI bus snoop.		 removed GLOBAL bit from VM_STATE_FOR_MEM_OS.02w,24feb99,pr   removed CONSOLE_TTY define for PC_CONSOLE (SPR#23075)02v,01feb99,jkf  added END support for AMD 7997x PCI PCNet-FAST card.                 made FEI_END the default.02u,26nov98,ms_  add elt3c509 END support02t,26jan99,jkf  INCLUDE_ADD_BOOTMEM added.  INCLUDE_END                 is again made the default.  SPR#2133802s,12nov98,dat  END drivers are not selected by default (See SPR xxxxx)02r,28aug98,sbs  changed WDB_COMM_TYPE to WDB_COMM_END.02q,03aug98,cn   new BSP revision id02o,07jul98,db   changed BSP_VERSION to "1.2" and BSP_REVISION to "/0".		 added BSP_VER_1_2 macro (Tornado 2.0 release).02n,28may98,hdn  added support for APIC.02m,12may98,hdn  merged with pcPentium/config.h. obsolete INCLUDE_IDE.		 changed LOCAL_MEM_SIZE to 8MB. cleaned up.02l,24apr98,yp   added defines for TFFS.02k,31mar98,cn   Added Enhanced Network Driver support.02j,24mar98,sbs  corrected SYS_WARM_FD to be default SYS_WARM_TYPE.02i,18mar98,sbs  added SYS_WARM_BIOS, SYS_WARM_FD, SYS_WARM_ATA.                 added SYS_INT_TRAPGATE, SYS_INT_INTGATE.02h,16jan98,gnn  Removed documentation and support for END,		 not supported yet.02g,28apr97,gnn  Added documentation for END_OVERRIDE and INCLUDE_END.02f,25apr97,gnn  Added Enhanced Network Driver support.02h,05aug97,dds  added INCLUDE_AIC_7880.02g,11jul97,dds  #undef INCLUDE_CDROMFS.02f,10jul97,dds  added SCSI-2 support. REV level 202e,26feb97,mas  added defs of USER_RESERVED_MEM and LOCAL_MEM_AUTOSIZE; added		 warm boot parameters (SPR 7806, 7850).02d,22nov96,dat  fixed warning from NETIF_USR_ENTRIES.02c,20nov96,hdn  added support for PRO100B.02b,01nov96,hdn  added support for PCMCIA.02a,10oct96,dat  release 1.1/1, (Tornado 1.0.1)01z,03sep96,hdn  added the compression support. removed BOOTABLE macro.01y,09aug96,hdn  renamed INT_VEC_IRQ0 to INT_NUM_IRQ0.01x,05aug96,hdn  changed INT_LVL_ENE 0x0b to 0x05(default int level).01w,19jul96,hdn  added support for ATA driver.01v,25jun96,hdn  added support for TIMESTAMP timer.01u,14jun96,hdn  added support for PCI bus.01t,13jun96,hdn  added INCLUDE_ESMC for SMC91c9x Ethernet driver.01s,28sep95,dat  new BSP revision id01r,14jun95,hdn  added INCLUDE_SW_FP for FPP software emulation library.01q,08jun95,ms   changed PC_CONSOLE defines.01p,12jan95,hdn  changed SYS_CLK_RATE_MAX to a safe number.01o,08dec94,hdn  changed EEROM to EEPROM.01n,15oct94,hdn  changed CONFIG_ELC and CONFIG_ULTRA.		 added INCLUDE_LPT for LPT driver.		 added INCLUDE_EEX32 for Intel EtherExpress32.		 changed the default boot line.		 moved INT_VEC_IRQ0 to pc.h.01m,03jun94,hdn  deleted shared memory network related macros.01l,28apr94,hdn  changed ROM_SIZE to 0x7fe00.01k,22apr94,hdn  added macros INT_VEC_IRQ0, FD_DMA_BUF, FD_DMA_BUF_SIZE.		 moved a macro PC_KBD_TYPE from pc.h.		 added SLIP driver with 9600 baudrate.01j,15mar94,hdn  changed ULTRA configuration.		 changed CONSOLE_TTY number from 0 to 2.01i,09feb94,hdn  added 3COM EtherlinkIII driver and Eagle NE2000 driver.                 changed RAM_HIGH_ADRS and RAM_LOW_ADRS.                 changed LOCAL_MEM_SIZE to 4MB.01h,27jan94,hdn  changed RAM_HIGH_ADRS 0x110000 to 0x00108000.		 changed RAM_ENTRY 0x10000 to 0x00008000.01g,17dec93,hdn  added support for Intel EtherExpress driver.01f,24nov93,hdn  added INCLUDE_MMU_BASIC.01e,08nov93,vin  added support for pc console drivers.01d,03aug93,hdn  changed network board's address and vector.01c,22apr93,hdn  changed default boot line.01b,07apr93,hdn  renamed compaq to pc.01a,15may92,hdn  written based on frc386.*//*This module contains the configuration parameters for thePC [34]86/Pentium/Pentium[234].*/#ifndef	INCconfigh#define	INCconfigh#ifdef __cplusplusextern "C" {#endif/* BSP version/revision identification, before configAll.h */#define BSP_VER_1_1	1	/* 1.2 is backward compatible with 1.1 */#define BSP_VER_1_2	1#define BSP_VERSION	"1.2"#define BSP_REV		"/2"	/* 2 for Tornado 2.2 */#include "configAll.h"#include "pc.h"/* BSP specific prototypes that must be in config.h */#ifndef _ASMLANGUAGE    IMPORT void sysHwInit0 (void);    IMPORT UINT8 sysInumTbl[];		/* IRQ vs intNum table */#endif/* BSP specific initialisation (before cacheLibInit() is called) */#define INCLUDE_SYS_HW_INIT_0#define SYS_HW_INIT_0()         (sysHwInit0())/* Default boot line */#if	(CPU == I80386)#define DEFAULT_BOOT_LINE \	"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target"#elif	(CPU == I80486)#define DEFAULT_BOOT_LINE \	"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target"#elif	(CPU == PENTIUM)#define DEFAULT_BOOT_LINE \	"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target"#elif	(CPU == PENTIUM2)#define DEFAULT_BOOT_LINE \	"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target"#elif	(CPU == PENTIUM3)#define DEFAULT_BOOT_LINE \	"rtl(0,0)host:vxWorks h=192.2.200.124 e=192.2.200.125 u=caiyang pw=cai"#elif	(CPU == PENTIUM4)#define DEFAULT_BOOT_LINE \	"fd=0,0(0,0)host:/fd0/vxWorks.st h=90.0.0.3 e=90.0.0.50 u=target"#endif	/* (CPU == I80386) *//* Warm boot (reboot) devices and parameters */#define SYS_WARM_BIOS 		0 	/* warm start from BIOS */#define SYS_WARM_FD   		1 	/* warm start from FD */#define SYS_WARM_ATA  		2	/* warm start from ATA */#define SYS_WARM_TFFS  		3	/* warm start from DiskOnChip */#define SYS_WARM_TYPE		SYS_WARM_FD /* warm start device */#define SYS_WARM_FD_DRIVE       0       /* 0 = drive a:, 1 = b: */#define SYS_WARM_FD_TYPE        0       /* 0 = 3.5" 2HD, 1 = 5.25" 2HD */#define SYS_WARM_ATA_CTRL       0       /* controller 0 */#define SYS_WARM_ATA_DRIVE      0       /* 0 = c:, 1 = d: */#define SYS_WARM_TFFS_DRIVE     0       /* 0 = c: (DOC) *//* Warm boot (reboot) device and filename strings *//*  * BOOTROM_DIR is the device name for the device containing * the bootrom file. This string is used in sysToMonitor, sysLib.c  * in dosFsDevCreate(). */#define BOOTROM_DIR  "/vxboot/"/*  * BOOTROM_BIN is the default path and file name to either a binary  * bootrom file or an A.OUT file with its 32 byte header stripped. * Note that the first part of this string must match BOOTROM_DIR * The "bootrom.sys" file name will work with VxLd 1.5. */#define BOOTROM_BIN  "/vxboot/bootrom.sys"/*  * BOOTROM_AOUT is that default path and file name of an A.OUT bootrom * _still containing_ its 32byte A.OUT header.   This is legacy code. * Note that the first part of this string must match BOOTROM_DIR * The "bootrom.dat" file name does not work with VxLd 1.5. */#define BOOTROM_AOUT "/vxboot/bootrom.dat"/* IDT entry type options */#define SYS_INT_TRAPGATE 	0x0000ef00 	/* trap gate */#define SYS_INT_INTGATE  	0x0000ee00 	/* int gate *//* driver and file system options */#define	INCLUDE_DOSFS		/* include dosFs file system */#define	INCLUDE_FD		/* include floppy disk driver */#undef	INCLUDE_ATA		/* include IDE/EIDE(ATA) hard disk driver */#undef	INCLUDE_LPT		/* include parallel port driver */#undef	INCLUDE_TIMESTAMP	/* include TIMESTAMP timer for Wind View */#undef	INCLUDE_TFFS		/* include TrueFFS driver for Flash */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -