📄 00bsp.cdf
字号:
/* 00bsp.cdf - BSP configuration file */
/*
* Copyright (c) 2002,2005-2007 Wind River Systems, Inc.
*
* The right to copy, distribute, modify or otherwise make use
* of this software may be licensed only pursuant to the terms
* of an applicable Wind River license agreement.
*/
/*
modification history
--------------------
01p,27sep07,rbc Fix for WIND00087310 cleanup references to
INCLUDE_ADD_BOOTMEM
01o,25sep07,ami CQ:WIND00105719 Fix (Aux Clk Issue)
01n,21sep07,rbc Fix for WIND00105213, pull in DRV_TIMER_IA_TIMESTAMP for
project builds
01m,06aug07,h_k removed duplicated INCLUDE_PENTIUM_PCI definition
01l,09jul07,dee WIND00097125 - better dma support for pentium bsp
01k,05mar07,pdg added vxbus timer support
01j,24aug06,pdg Correction of build error(Fix id WIND00062735)
01i,08mar06,jmt Add AUX_CLK_RATE parameter
01h,12oct05,mdo Remove ns16550 configlette
01g,28sep05,mmi Remove INCLUDE_POWER_MANAGEMENT component
01f,20sep05,mdo Make NAME of INCLUDE_NS16550_SIO to be more broad and not vxBus
specific
01e,18aug05,mdo Fix SIO channel dependency
01d,08aug05,mdo Change WINDBUS to VXBUS
01c,03aug05,mdo Add vxBus Components
01b,05nov02,hdn made sysCpuProbe() execution conditional (spr 76279)
01a,13Feb02,pai Written.
*/
/*
DESCRIPTION
This file overrides generic BSP components in comps/vxWorks/00bsp.cdf with
pcPentium BSP-specific versions of components and parameters defined in
the generic CDF file.
*/
/*******************************************************************************
*
* System Clock, Timestamp and Auxiliary Clock Component and Parameters
*
*/
Component INCLUDE_SYSCLK_INIT {
NAME System clock
SYNOPSIS System clock component
CONFIGLETTES sysClkInit.c
HDR_FILES tickLib.h
INIT_RTN sysClkInit ();
CFG_PARAMS SYS_CLK_RATE \
SYS_CLK_RATE_MIN \
SYS_CLK_RATE_MAX
}
Component INCLUDE_TIMESTAMP {
REQUIRES DRV_TIMER_IA_TIMESTAMP
}
Parameter SYS_CLK_RATE_MAX {
NAME system clock configuration parameter
SYNOPSIS maximum system clock rate
TYPE uint
DEFAULT (5000)
}
Parameter SYS_CLK_RATE_MIN {
NAME system clock configuration parameter
SYNOPSIS minimum system clock rate
TYPE uint
DEFAULT (19)
}
Parameter SYS_CLK_RATE {
NAME system clock configuration parameter
SYNOPSIS number of ticks per second
TYPE uint
DEFAULT (60)
}
Component INCLUDE_AUX_CLK {
REQUIRES DRV_TIMER_MC146818
}
Parameter AUX_CLK_RATE_MAX {
NAME auxiliary clock configuration parameter
SYNOPSIS maximum auxiliary clock rate
TYPE uint
DEFAULT (8192)
}
Parameter AUX_CLK_RATE_MIN {
NAME auxiliary clock configuration parameter
SYNOPSIS minimum auxiliary clock rate
TYPE uint
DEFAULT (2)
}
Parameter AUX_CLK_RATE {
NAME auxiliary clock configuration parameter
SYNOPSIS default auxiliary clock rate
TYPE uint
DEFAULT (128)
}
/*******************************************************************************
*
* Cache Configuration Parameters
*
*/
Parameter USER_D_CACHE_MODE {
NAME pcPentium write-back data cache mode
SYNOPSIS write-back data cache mode
TYPE uint
DEFAULT (CACHE_COPYBACK | CACHE_SNOOP_ENABLE)
}
/*******************************************************************************
*
* Additional Intel Architecture show routines
*
*/
Component INCLUDE_INTEL_CPU_SHOW {
NAME Intel Architecture processor show routines
SYNOPSIS IA-32 processor show routines
HDR_FILES vxLib.h
MODULES vxShow.o
INIT_RTN vxShowInit ();
_INIT_ORDER usrShowInit
_CHILDREN FOLDER_SHOW_ROUTINES
_DEFAULTS += FOLDER_SHOW_ROUTINES
}
/*******************************************************************************
*
* pcPoseidon BSP-specific configuration folder
*
*/
Folder FOLDER_BSP_CONFIG {
NAME pcPoseidon BSP configuration options
SYNOPSIS BSP-specific configuration
CHILDREN INCLUDE_PCPENTIUM_PARAMS \
DEFAULTS INCLUDE_PCPENTIUM_PARAMS
_CHILDREN FOLDER_HARDWARE
_DEFAULTS += FOLDER_HARDWARE
}
/*******************************************************************************
*
* BSP parameters Component
*
*/
Component INCLUDE_PCPENTIUM_PARAMS {
NAME BSP build parameters
SYNOPSIS expose BSP configurable parameters
CFG_PARAMS INCLUDE_PMC \
INCLUDE_BOOT_ADDMEM \
ADDED_BOOTMEM_SIZE \
INCLUDE_CPU_PROBE
HELP pcPentium
}
Parameter INCLUDE_PMC {
NAME pcPentium PMC configuration parameter
SYNOPSIS Performance Monitoring Counter library support
TYPE exists
DEFAULT FALSE
}
Parameter INCLUDE_BOOT_ADDMEM {
NAME pcPentium configuration parameter
SYNOPSIS add upper memory to low memory bootrom
TYPE exists
DEFAULT TRUE
}
Parameter ADDED_BOOTMEM_SIZE {
NAME pcPentium configuration parameter
SYNOPSIS amount of memory added to bootrom memory pool
TYPE uint
DEFAULT (0x00400000)
}
Parameter INCLUDE_CPU_PROBE {
NAME pcPentium configuration parameter
SYNOPSIS auto CPU detection mechanism by sysCpuProbe()
TYPE exists
DEFAULT TRUE
}
/*******************************************************************************
*
* ATA/DMA support for PIIX4 based ATA controllers
*
*/
Component INCLUDE_PIIX4_ATADMA {
NAME Pentium PIIX4 ATA/DMA support
SYNOPSIS support DMA on ATA/ATAPI disks
CONFIGLETTES sysAta.c
HDR_FILES drv/dma/iPIIX4Dma.h \
drv/hdisk/ataDrv.h
INIT_RTN sysAtaSetup ();
_INIT_ORDER usrIosExtraInit
INCLUDE_WHEN INCLUDE_ATA
INIT_BEFORE INCLUDE_ATA
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -