📄 00bsp.cdf
字号:
/* 00bsp.cdf - BSP configuration file *//* Copyright (c) 2005 Wind River Systems, Inc. *//*modification history-------------------- 01j,10oct05,mmi Remove legacy POWER_MANAGEMENT component.01i,20sep05,mdo Make NAME of INCLUDE_NS16550_SIO to be more broad and not vxBus specific01h,18aug05,mdo Fix SIO channel dependency01g,08aug05,mdo Change WINDBUS to VXBUS01f,03aug05,mdo Add vxBus Components01e,01oct02,hdn added DEBUG_STORE component and parameters.01d,24sep02,hdn added THERM_MONITOR component and parameters.01c,12jul02,pai Updated SYS_CLK_RATE_MAX for specific CPU types (SPR 27449).01b,19jun02,pai Added P6 physical address space config components.01a,13feb02,pai Written.*//*DESCRIPTIONThis file overrides generic BSP components in comps/vxWorks/00bsp.cdf withpcPentium4 BSP-specific versions of components and parameters defined inthe generic CDF file.*//********************************************************************************* Timestamp Component and Parameters**/Component INCLUDE_TIMESTAMP { NAME Pentium 4 high resolution timestamp driver SYNOPSIS high resolution timestamping HDR_FILES drv/timer/timerDev.h CFG_PARAMS INCLUDE_TIMESTAMP_PIT2 \ INCLUDE_TIMESTAMP_TSC \ PENTIUMPRO_TSC_FREQ INCLUDE_WHEN INCLUDE_SYS_TIMESTAMP}Parameter INCLUDE_TIMESTAMP_PIT2 { NAME pcPentium4 configuration parameter SYNOPSIS use i8253-compatible channel 2 for timestamping TYPE exists DEFAULT FALSE}Parameter INCLUDE_TIMESTAMP_TSC { NAME pcPentium4 configuration parameter SYNOPSIS use 64-bit Timestamp Counter for timestamping TYPE exists DEFAULT TRUE}Parameter PENTIUMPRO_TSC_FREQ { NAME pcPentium4 configuration parameter SYNOPSIS Timestamp Counter frequency (0 => auto detect) TYPE uint DEFAULT (0)}/********************************************************************************* System Clock 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}Parameter SYS_CLK_RATE_MAX { NAME system clock configuration parameter SYNOPSIS maximum system clock rate TYPE uint DEFAULT (PIT_CLOCK/16)}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)}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)}/********************************************************************************* Cache Configuration Parameters**/Parameter USER_D_CACHE_MODE { NAME pcPentium4 configuration parameter 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}/********************************************************************************* pcPentium4 BSP-specific configuration folder**/Folder FOLDER_BSP_CONFIG { NAME pcPentium4 BSP configuration options SYNOPSIS BSP-specific configuration CHILDREN INCLUDE_PCPENTIUM4_PARAMS \ INCLUDE_THERM_MONITOR \ INCLUDE_DEBUG_STORE \ SELECT_IO_CONTROLLER_HUB DEFAULTS INCLUDE_PCPENTIUM4_PARAMS SELECT_IO_CONTROLLER_HUB _CHILDREN FOLDER_HARDWARE _DEFAULTS += FOLDER_HARDWARE}/********************************************************************************* Pentium pci bus for vxBus**/Component INCLUDE_PENTIUM_PCI { NAME Pentium PCI bus support for vxBus SYNOPSIS PCI Bus support CONFIGLETTES hwconf.c $(WIND_BASE)/target/src/hwif/busCtlr/pentiumPci.c INIT_RTN pentiumPciRegister(); _INIT_ORDER hardWareInterFaceBusInit INIT_AFTER INCLUDE_PCI_BUS REQUIRES INCLUDE_VXBUS \ INCLUDE_PLB_BUS \ INCLUDE_PCI_BUS DEFAULTS INCLUDE_PENTIUM_PCI _CHILDREN FOLDER_BUSES _DEFAULTS += FOLDER_BUSES} /********************************************************************************* Pentium ns16550 SIO for vxBus**/Component INCLUDE_NS16550_SIO { NAME Pentium SIO support for ns16550-compatible devices SYNOPSIS ns16550 SIO support CONFIGLETTES $(WIND_BASE)/target/src/hwif/sio/ns16550sio.c INIT_RTN ns16550sioRegister(); _INIT_ORDER hardWareInterFaceBusInit INIT_AFTER INCLUDE_PCI_BUS REQUIRES INCLUDE_VXBUS \ INCLUDE_PLB_BUS \ INCLUDE_PCI_BUS \ INCLUDE_PENTIUM_PCI \ INCLUDE_SIO_UTILS INCLUDE_WHEN INCLUDE_VXBUS DEFAULTS INCLUDE_NS16550_SIO _CHILDREN FOLDER_DRIVERS _DEFAULTS += FOLDER_DRIVERS}/********************************************************************************* BSP parameters Component**/Component INCLUDE_PCPENTIUM4_PARAMS { NAME BSP build parameters SYNOPSIS expose BSP configurable parameters CFG_PARAMS INCLUDE_MTRR_GET \ INCLUDE_PMC \ INCLUDE_ADD_BOOTMEM \ ADDED_BOOTMEM_SIZE HELP pcPentium4}Parameter INCLUDE_MTRR_GET { NAME pcPentium4 configuration parameter SYNOPSIS get Memory Type Range Register settings from the BIOS TYPE exists DEFAULT TRUE}Parameter INCLUDE_PMC { NAME pcPentium4 configuration parameter SYNOPSIS Performance Monitoring Counter library support TYPE exists DEFAULT TRUE}Parameter INCLUDE_ADD_BOOTMEM { NAME pcPentium4 configuration parameter SYNOPSIS add upper memory to low memory bootrom TYPE exists DEFAULT TRUE}Parameter ADDED_BOOTMEM_SIZE { NAME pcPentium4 configuration parameter SYNOPSIS amount of memory added to bootrom memory pool TYPE uint DEFAULT (0x00200000)}/********************************************************************************* I/O Controller Hub Selection Components and Parameters**/Selection SELECT_IO_CONTROLLER_HUB { NAME select target I/O Controller Hub (ICH) SYNOPSIS configure optional I/O Controller Hubs COUNT 0-1 CHILDREN INCLUDE_D850GB INCLUDE_ICH3 DEFAULTS INCLUDE_ICH3}Component INCLUDE_D850GB { NAME Pentium 4 + i850 + ICH2 (i82801BA) support SYNOPSIS enable i850 with ICH2 (i82801BA) main board support CFG_PARAMS INCLUDE_ICH2}Parameter INCLUDE_ICH2 { NAME pcPentium4 configuration parameter SYNOPSIS ICH2 (i82801BA) I/O Controller Hub support TYPE exists DEFAULT TRUE}Component INCLUDE_ICH3 { NAME Pentium 4 ICH3 support SYNOPSIS ICH3 I/O Controller Hub Support}/********************************************************************************* Physical Address Space Components**/Component INCLUDE_MMU_P6_32BIT { NAME 32-bit physical address space SYNOPSIS configure 32-bit address space support CFG_PARAMS VM_PAGE_SIZE EXCLUDES INCLUDE_MMU_P6_36BIT _CHILDREN FOLDER_MMU _DEFAULTS += FOLDER_MMU HELP pcPentium4}Component INCLUDE_MMU_P6_36BIT { NAME 36-bit physical address space extension SYNOPSIS configure 36-bit address space extension support CFG_PARAMS VM_PAGE_SIZE EXCLUDES INCLUDE_MMU_P6_32BIT LOCAL_MEM_AUTOSIZE _CHILDREN FOLDER_MMU HELP pcPentium4}Parameter VM_PAGE_SIZE { NAME VM page size SYNOPSIS virtual memory page size (PAGE_SIZE_{4KB/2MB/4MB}) TYPE uint DEFAULT PAGE_SIZE_4KB}/********************************************************************************* Thermal Monitor and Geyserville III Component and Parameters**/Component INCLUDE_THERM_MONITOR { NAME Thermal Monitor and Geyserville III support SYNOPSIS configure Thermal Monitor and Geyserville III support CFG_PARAMS TM_MODE \ TM_AC_CHK_RTN HELP pcPentium4}Parameter TM_MODE { NAME Thermal Management mode SYNOPSIS configure Thermal Management mode TYPE uint DEFAULT GV3_AUTO}Parameter TM_AC_CHK_RTN { NAME power source check routine SYNOPSIS function pointer for the power source check routine DEFAULT NULL}/********************************************************************************* Debug Store BTS/PEBS Component and Parameters**/Component INCLUDE_DEBUG_STORE { NAME Debug Store BTS/PEBS support SYNOPSIS configure Debug Store BTS/PEBS support CFG_PARAMS DS_SYS_MODE \ BTS_ENABLED \ BTS_INT_MODE \ BTS_BUF_MODE \ PEBS_ENABLED \ PEBS_EVENT \ PEBS_METRIC \ PEBS_OS \ PEBS_RESET HELP pcPentium4}Parameter DS_SYS_MODE { NAME Debug Store BTS/PEBS operating mode SYNOPSIS configure the Debug Store BTS/PEBS operating mode TYPE bool DEFAULT FALSE}Parameter BTS_ENABLED { NAME enable or disable the BTS SYNOPSIS enable or disable the BTS TYPE bool DEFAULT TRUE}Parameter BTS_INT_MODE { NAME configure the BTS interrupt mode SYNOPSIS configure the BTS interrupt mode TYPE bool DEFAULT TRUE}Parameter BTS_BUF_MODE { NAME configure the BTS buffering mode SYNOPSIS configure the BTS buffering mode TYPE bool DEFAULT TRUE}Parameter PEBS_ENABLED { NAME enable or disable the PEBS SYNOPSIS enable or disable the PEBS TYPE bool DEFAULT TRUE}Parameter PEBS_EVENT { NAME specify the PEBS event SYNOPSIS specify the PEBS event TYPE uint DEFAULT PEBS_FRONT_END}Parameter PEBS_METRIC { NAME specify the PEBS metric SYNOPSIS specify the PEBS metric TYPE uint DEFAULT PEBS_MEMORY_STORES}Parameter PEBS_OS { NAME configure the PEBS execution mode SYNOPSIS configure the PEBS execution mode TYPE bool DEFAULT TRUE}Parameter PEBS_RESET { NAME specify the PEBS reset counter value SYNOPSIS specify the PEBS reset counter value TYPE uint DEFAULT (-1LL)}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -