hal_powerpc_vads.cdl

来自「eCos操作系统源码」· CDL 代码 · 共 384 行 · 第 1/2 页

CDL
384
字号
# ====================================================================##      hal_powerpc_vads.cdl##      Motorola MPC8260 Voyager ADS board HAL package configuration data## ====================================================================#####ECOSGPLCOPYRIGHTBEGIN###### -------------------------------------------## This file is part of eCos, the Embedded Configurable Operating System.## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.## Copyright (C) 2002 Gary Thomas#### eCos is free software; you can redistribute it and/or modify it under## the terms of the GNU General Public License as published by the Free## Software Foundation; either version 2 or (at your option) any later version.#### eCos is distributed in the hope that it will be useful, but WITHOUT ANY## WARRANTY; without even the implied warranty of MERCHANTABILITY or## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License## for more details.#### You should have received a copy of the GNU General Public License along## with eCos; if not, write to the Free Software Foundation, Inc.,## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.#### As a special exception, if other files instantiate templates or use macros## or inline functions from this file, or you compile this file and link it## with other works to produce a work based on this file, this file does not## by itself cause the resulting work to be covered by the GNU General Public## License. However the source code for this file must still be made available## in accordance with section (3) of the GNU General Public License.#### This exception does not invalidate any other reasons why a work based on## this file might be covered by the GNU General Public License.#### Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.## at http://sources.redhat.com/ecos/ecos-license/## -------------------------------------------#####ECOSGPLCOPYRIGHTEND##### ====================================================================######DESCRIPTIONBEGIN###### Author(s):      wpd# Original data:  hmt# Contributors:# Date:           YYYY-MM-DD######DESCRIPTIONEND###### ====================================================================cdl_package CYGPKG_HAL_POWERPC_VADS {    display       "MPC8260 VADS board"    parent        CYGPKG_HAL_POWERPC    requires      CYGPKG_HAL_POWERPC_MPC8260    define_header hal_powerpc_vads.h    include_dir   cyg/hal    description   "        The VADS HAL package provides the support needed to run        eCos on a Mototola MPC8260 VADS  board."    compile       hal_diag.c hal_aux.c vads.S    implements    CYGINT_HAL_DEBUG_GDB_STUBS# removed by WPD for now    implements    CYGINT_HAL_DEBUG_GDB_STUBS_BREAK    implements    CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT# added by WPD for now# Note: uncomment this to get old-style debug behaviour#   implements    CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED    define_proc {        puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H   <pkgconf/hal_powerpc_mpc8260.h>"        puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_powerpc_vads.h>"	puts $::cdl_header "#define HAL_PLATFORM_CPU    \"PowerPC MPC8260\""        puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Voyager ADS\""        puts $::cdl_header "#define HAL_PLATFORM_EXTRA  \"\""    }    cdl_component CYG_HAL_STARTUP {        display       "Startup type"        flavor        data        legal_values  {"RAM" "ROM"}        default_value {"RAM"}	no_define	define -file system.h CYG_HAL_STARTUP        description   "           This option is used to control where the application program will           run, either from RAM or ROM (flash) memory.  ROM based applications           must be self contained, while RAM applications will typically assume           the existence of a debug environment, such as GDB stubs."        cdl_option DCSPRI_HAL_VADS_ROM_MLT {            display       "Memory Layout for ROM Startup"            flavor        data            legal_values  {"LOW" "HIGH" "RAM"}            default_value {"HIGH"}            description   "                This option selects which memory layout file should be		used when configuring the VADS board for ROM startup.		The LOW option selects the memory layout for an image		stored at the beginning of the FLASH.  It should be		used when the (hard reset) IP and boot memory space		are both mapped to address 0.		The HIGH option selects the memory layout for an image		stored in the last Megabyte of FLASH.  It should be		used when the (hard reset) IP maps the interrupt		vector base address to 0xFFF00000 and the boot memory		space to the last 32 Megabytes of FLASH.		The RAM option is a hack used to place the ROM image		in RAM in order to simplify the development of a ROM		monitor by using the existing ROM monitor to load it		into RAM, but pretend like it is in ROM."	}    }    cdl_option CYGHWR_HAL_POWERPC_DISABLE_MMU {        display       "DISABLE MMU"        flavor        bool        default_value 0	#        calculated    1        description   "            This option will disable the MMU enabled."    }    cdl_option CYGHWR_HAL_POWERPC_BOARD_SPEED {        display          "Development board clock speed (MHz)"        flavor           data        legal_values     45 60 66        default_value    66        description      "	   The Delphi TigerSHARC-6 board will probably run at either           45 or 60 MHz.  In the short term, however, we will be using           an MPC8260ADS board running at 66 MHz.  Select the clock           speed appropriate for your board so that the system can set           the serial baud rate correctly, amongst other things."   }    # Real-time clock/counter specifics    cdl_component CYGNUM_HAL_RTC_CONSTANTS {        display       "Real-time clock constants."        description   "            Period is busclock/4/CYGNUM_HAL_RTC_DENOMINATOR.  VERIFY THIS!!!"        flavor        none        no_define            cdl_option CYGNUM_HAL_RTC_NUMERATOR {            display       "Real-time clock numerator"            flavor        data            default_value 1000000000        }        cdl_option CYGNUM_HAL_RTC_DENOMINATOR {            display       "Real-time clock denominator"            flavor        data            default_value 100            description   "              This option selects the number of system clock 'ticks'              per second.  This rate is sometimes known as the heartbeat rate."        }        cdl_option CYGNUM_HAL_RTC_PERIOD {            display       "Real-time clock period"            flavor        data            default_value { (((CYGHWR_HAL_POWERPC_BOARD_SPEED*1000000)/4)/CYGNUM_HAL_RTC_DENOMINATOR) }        }    }        cdl_component CYGBLD_GLOBAL_OPTIONS {        display "Global build options"        flavor  none        description   "	    Global build options including control over	    compiler flags, linker flags and choice of toolchain."        parent  CYGPKG_NONE        cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {            display "Global command prefix"            flavor  data            no_define            default_value { "powerpc-eabi" }            description "                This option specifies the command prefix used when                invoking the build tools."        }

⌨️ 快捷键说明

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