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

📄 00bsp.cdf

📁 vxworks bsp for pc pentium3 开发环境为tornado2.2 for pentium。
💻 CDF
字号:
/* 00bsp.cdf - BSP configuration file *//* Copyright 2002 Wind River Systems, Inc. *//*modification history--------------------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 withpcPentium3 BSP-specific versions of components and parameters defined inthe generic CDF file.*//********************************************************************************* Timestamp Component and Parameters**/Component INCLUDE_TIMESTAMP  {    NAME              Pentium III 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              pcPentium3 configuration parameter    SYNOPSIS          use i8253-compatible channel 2 for timestamping    TYPE              exists    DEFAULT           FALSE}Parameter INCLUDE_TIMESTAMP_TSC  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          use 64-bit Timestamp Counter for timestamping    TYPE              exists    DEFAULT           TRUE}Parameter PENTIUMPRO_TSC_FREQ  {    NAME              pcPentium3 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              pcPentium3 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}/********************************************************************************* pcPentium3 BSP-specific configuration folder**/Folder FOLDER_BSP_CONFIG  {    NAME              pcPentium3 BSP configuration options    SYNOPSIS          BSP-specific configuration    CHILDREN          INCLUDE_PCPENTIUM3_PARAMS \                      INCLUDE_POWER_MANAGEMENT  \                      INCLUDE_D815EEA    DEFAULTS          INCLUDE_PCPENTIUM3_PARAMS \                      INCLUDE_POWER_MANAGEMENT    _CHILDREN         FOLDER_HARDWARE    _DEFAULTS         += FOLDER_HARDWARE}/********************************************************************************* BSP parameters Component**/Component INCLUDE_PCPENTIUM3_PARAMS  {    NAME              BSP build parameters    SYNOPSIS          expose BSP configurable parameters    CFG_PARAMS        INCLUDE_MTRR_GET    \                      INCLUDE_PMC         \                      INCLUDE_ADD_BOOTMEM \                      ADDED_BOOTMEM_SIZE    HELP              pcPentium3}Parameter INCLUDE_MTRR_GET  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          get Memory Type Range Register settings from the BIOS    TYPE              exists    DEFAULT           TRUE}Parameter INCLUDE_PMC  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          Performance Monitoring Counter library support    TYPE              exists    DEFAULT           TRUE}Parameter INCLUDE_ADD_BOOTMEM  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          add upper memory to low memory bootrom    TYPE              exists    DEFAULT           TRUE}Parameter ADDED_BOOTMEM_SIZE  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          amount of memory added to bootrom memory pool    TYPE              uint    DEFAULT           (0x00200000)}/********************************************************************************* Power Management Component and Parameters**/Component INCLUDE_POWER_MANAGEMENT  {    NAME              Pentium III power management    SYNOPSIS          initialize Pentium III power management support    INIT_RTN          vxPowerModeSet (VX_POWER_MODE_DEFAULT);    CFG_PARAMS        VX_POWER_MODE_DEFAULT    HDR_FILES         vxLib.h    _INIT_ORDER       usrInit    INIT_BEFORE       INCLUDE_CACHE_ENABLE    HELP              vxLib}Parameter VX_POWER_MODE_DEFAULT  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          set the power management mode    TYPE              uint    DEFAULT           VX_POWER_MODE_AUTOHALT}/********************************************************************************* 815E and ICH2 Component and Parameters**/Component INCLUDE_D815EEA  {    NAME              Pentium III + i815e + ICH2 (i82801BA) support    SYNOPSIS          enable i815E with ICH2 (i82801BA) main board support    CFG_PARAMS        INCLUDE_ICH2}Parameter INCLUDE_ICH2  {    NAME              pcPentium3 configuration parameter    SYNOPSIS          ICH2 (i82801BA) I/O Controller Hub support    TYPE              exists    DEFAULT           TRUE}/********************************************************************************* 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              pcPentium3}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              pcPentium3}Parameter VM_PAGE_SIZE {    NAME              VM page size    SYNOPSIS          virtual memory page size (PAGE_SIZE_{4KB/2MB/4MB})    TYPE              uint    DEFAULT           PAGE_SIZE_4KB}

⌨️ 快捷键说明

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