Mercurial > ecos-v2_0-branch
diff packages/hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl @ 110:84e4bde58b26 ecos-sw-2000-07-14
Merge from eCos master repository on 2000-07-14-22:00:02-BST
| author | jlarmour |
|---|---|
| date | Mon, 17 Jul 2000 14:42:27 +0000 |
| parents | 6736c52df507 |
| children | 6ed91473a1cd |
line wrap: on
line diff
--- a/packages/hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl +++ b/packages/hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl @@ -50,10 +50,11 @@ cdl_package CYGPKG_HAL_ARM_EDB7XXX { The EDB7XXX HAL package provides the support needed to run eCos on a Cirrus Logic development board." - compile hal_diag.c plf_stub.c edb7xxx_misc.c + compile hal_diag.c edb7xxx_misc.c implements CYGINT_HAL_DEBUG_GDB_STUBS implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK + implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT define_proc { puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>" @@ -115,17 +116,7 @@ cdl_package CYGPKG_HAL_ARM_EDB7XXX { into ROM." } - cdl_option CYGHWR_HAL_ARM_EDB7XXX_DIAG_PORT { - display "Diagnostic serial port" - flavor data - legal_values 0 1 - default_value 0 - description " - The Cirrus Logic evaluation boards have two separate serial ports. This option - chooses which of these ports will be used." - } - - cdl_option CYGHWR_HAL_ARM_EDB7XXX_DIAG_BAUD { + cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD { display "Diagnostic serial port baud rate" flavor data legal_values 9600 19200 38400 115200 @@ -136,18 +127,7 @@ cdl_package CYGPKG_HAL_ARM_EDB7XXX { diagnostic and GDB port are the same." } - cdl_option CYGHWR_HAL_ARM_EDB7XXX_GDB_PORT { - display "GDB serial port" - flavor data - legal_values 0 1 - default_value 0 - description " - The Cirrus Logic evlauation boards have two separate serial ports. This option - chooses which of these ports will be used to connect to a host - running GDB." - } - - cdl_option CYGHWR_HAL_ARM_EDB7XXX_GDB_BAUD { + cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_BAUD { display "GDB serial port baud rate" flavor data legal_values 9600 19200 38400 115200 @@ -156,6 +136,33 @@ cdl_package CYGPKG_HAL_ARM_EDB7XXX { This option controls the baud rate used for the GDB connection." } + cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS { + display "Number of communication channels on the board" + flavor data + calculated 2 + } + + cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL { + display "Debug serial port" + flavor data + legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 + default_value 0 + description " + The EDB7xxx boards have two serial ports. This option + chooses which port will be used to connect to a host + running GDB." + } + + cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL { + display "Diagnostic serial port" + flavor data + legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 + default_value 0 + description " + The EDB7xxx boards have two serial ports. This option + chooses which port will be used for diagnostic output." + } + cdl_option CYGHWR_HAL_ARM_EDB7XXX_PROCESSOR_CLOCK { display "Processor clock rate" flavor data @@ -268,8 +275,8 @@ cdl_package CYGPKG_HAL_ARM_EDB7XXX { requires CYGSEM_HAL_ROM_MONITOR requires CYGBLD_BUILD_COMMON_GDB_STUBS requires CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS - requires ! CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT - requires ! CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT + requires CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT + requires CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT requires ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT requires ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM no_define @@ -531,4 +538,25 @@ cdl_package CYGPKG_HAL_ARM_EDB7XXX { } } } + + cdl_option CYGSEM_HAL_USE_ROM_MONITOR { + display "Work with a ROM monitor" + flavor booldata + legal_values { "Generic" "GDB_stubs" } + default_value { CYG_HAL_STARTUP == "RAM" ? "GDB_stubs" : 0 } + parent CYGPKG_HAL_ROM_MONITOR + requires { CYG_HAL_STARTUP == "RAM" } + description " + Support can be enabled for different varieties of ROM monitor. + This support changes various eCos semantics such as the encoding + of diagnostic output, or the overriding of hardware interrupt + vectors. + Firstly there is \"Generic\" support which prevents the HAL + from overriding the hardware vectors that it does not use, to + instead allow an installed ROM monitor to handle them. This is + the most basic support which is likely to be common to most + implementations of ROM monitor. + \"GDB_stubs\" provides support when GDB stubs are included in + the ROM monitor or boot ROM." + } }
