Mercurial > flash_v2
comparison packages/hal/mips/arch/current/cdl/hal_mips.cdl @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children | 08ffab08d2ee |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 1 # ==================================================================== | |
| 2 # | |
| 3 # hal_mips.cdl | |
| 4 # | |
| 5 # MIPS architectural HAL package configuration data | |
| 6 # | |
| 7 # ==================================================================== | |
| 8 #####COPYRIGHTBEGIN#### | |
| 9 # | |
| 10 # ------------------------------------------- | |
| 11 # The contents of this file are subject to the Red Hat eCos Public License | |
| 12 # Version 1.1 (the "License"); you may not use this file except in | |
| 13 # compliance with the License. You may obtain a copy of the License at | |
| 14 # http://www.redhat.com/ | |
| 15 # | |
| 16 # Software distributed under the License is distributed on an "AS IS" | |
| 17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 18 # License for the specific language governing rights and limitations under | |
| 19 # the License. | |
| 20 # | |
| 21 # The Original Code is eCos - Embedded Configurable Operating System, | |
| 22 # released September 30, 1998. | |
| 23 # | |
| 24 # The Initial Developer of the Original Code is Red Hat. | |
| 25 # Portions created by Red Hat are | |
| 26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 27 # All Rights Reserved. | |
| 28 # ------------------------------------------- | |
| 29 # | |
| 30 #####COPYRIGHTEND#### | |
| 31 # ==================================================================== | |
| 32 ######DESCRIPTIONBEGIN#### | |
| 33 # | |
| 34 # Author(s): jskov | |
| 35 # Original data: bartv, nickg | |
| 36 # Contributors: | |
| 37 # Date: 1999-11-02 | |
| 38 # | |
| 39 #####DESCRIPTIONEND#### | |
| 40 # | |
| 41 # ==================================================================== | |
| 42 | |
| 43 cdl_package CYGPKG_HAL_MIPS { | |
| 44 display "MIPS architecture" | |
| 45 parent CYGPKG_HAL | |
| 46 hardware | |
| 47 include_dir cyg/hal | |
| 48 define_header hal_mips.h | |
| 49 description " | |
| 50 The MIPS architecture HAL package provides generic support | |
| 51 for this processor architecture. It is also necessary to | |
| 52 select a CPU variant and a specific target platform HAL | |
| 53 package." | |
| 54 | |
| 55 cdl_interface CYGINT_HAL_MIPS_VARIANT { | |
| 56 display "Number of variant implementations in this configuration" | |
| 57 requires 1 == CYGINT_HAL_MIPS_VARIANT | |
| 58 } | |
| 59 | |
| 60 compile hal_misc.c context.S mips-stub.c mipsfp.c | |
| 61 | |
| 62 make { | |
| 63 <PREFIX>/lib/vectors.o : <PACKAGE>/src/vectors.S | |
| 64 $(CC) -Wp,-MD,vectors.tmp $(INCLUDE_PATH) $(CFLAGS) -c -o $@ $< | |
| 65 @echo $@ ": \\" > $(notdir $@).deps | |
| 66 @tail +2 vectors.tmp >> $(notdir $@).deps | |
| 67 @echo >> $(notdir $@).deps | |
| 68 @rm vectors.tmp | |
| 69 } | |
| 70 | |
| 71 cdl_option CYGHWR_HAL_MIPS_CPU_FREQ { | |
| 72 display "CPU frequency" | |
| 73 flavor data | |
| 74 legal_values 0 to 1000000 | |
| 75 default_value 50 | |
| 76 description " | |
| 77 This option contains the frequency of the CPU in MegaHertz. | |
| 78 Choose the frequency to match the processor you have. This | |
| 79 may affect thing like serial device, interval clock and | |
| 80 memory access speed settings." | |
| 81 } | |
| 82 | |
| 83 cdl_option CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT { | |
| 84 display "Architecture GDB CTRLC support" | |
| 85 calculated { CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT || CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT } | |
| 86 description " | |
| 87 If either the CTRLC or BREAK support options in hal.h are set | |
| 88 then set our own option to turn on shared generic support for | |
| 89 control C handling." | |
| 90 } | |
| 91 | |
| 92 cdl_option CYGSEM_HAL_MIPS_EMULATE_UNIMPLEMENTED_FPU_OPS { | |
| 93 display "Emulate unimplemented FPU opcodes" | |
| 94 flavor bool | |
| 95 default_value 1 | |
| 96 description " | |
| 97 Enabling this option will include a hook in the exception | |
| 98 processing so that Unimplemented Operation FPU exceptions | |
| 99 may be handled. This option has no effect if there is no | |
| 100 hardware floating-point unit. Note that not all situations | |
| 101 in which an exception is raised may be handled. If not, the | |
| 102 exception will be passed on as normal through the standard | |
| 103 exception delivery mechanism." | |
| 104 } | |
| 105 } |
