OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [powerpc/] [mpc8260/] [current/] [cdl/] [hal_powerpc_mpc8260.cdl] - Blame information for rev 851

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
2
#
3
#      hal_powerpc_mpc8260.cdl
4
#
5
#      PowerPC/MPC8260 variant architectural HAL package configuration data
6
#
7
# ====================================================================
8
## ####ECOSGPLCOPYRIGHTBEGIN####
9
## -------------------------------------------
10
## This file is part of eCos, the Embedded Configurable Operating System.
11
## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
12
##
13
## eCos is free software; you can redistribute it and/or modify it under
14
## the terms of the GNU General Public License as published by the Free
15
## Software Foundation; either version 2 or (at your option) any later
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21
## for more details.
22
##
23
## You should have received a copy of the GNU General Public License
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      pfine
43
# Contributors:   jskov
44
# Date:           2001-12-12
45
#
46
#####DESCRIPTIONEND####
47
#
48
# ====================================================================
49
 
50
cdl_package CYGPKG_HAL_POWERPC_MPC8260 {
51
    display       "PowerPC MPC8260 variant HAL"
52
    parent        CYGPKG_HAL_POWERPC
53
    hardware
54
    include_dir   cyg/hal
55
    define_header hal_powerpc_mpc8260.h
56
    description   "
57
           The PowerPC MPC8260 variant HAL package provides generic support
58
           for this processor variant. It is also necessary to
59
           select a specific target platform HAL package."
60
 
61
    # Note: This should be sub-variant specific to reduce memory use.
62
    define_proc {
63
        puts $cdl_header "#define CYGHWR_HAL_VSR_TABLE (CYGHWR_HAL_POWERPC_VECTOR_BASE + 0x3000)"
64
        puts $cdl_header "#define CYGHWR_HAL_VIRTUAL_VECTOR_TABLE (CYGHWR_HAL_VSR_TABLE + 0x200)"
65
    }
66
 
67
    implements    CYGINT_HAL_POWERPC_VARIANT
68
 
69
    cdl_option CYGHWR_HAL_POWERPC_FPU {
70
        display    "Variant FPU support"
71
        calculated 1
72
    }
73
 
74
    cdl_option CYGPKG_HAL_POWERPC_MSBFIRST {
75
        display    "CPU Variant big-endian"
76
        calculated 1
77
    }
78
 
79
 
80
    define_proc {
81
        puts $::cdl_header "#include "
82
    }
83
 
84
   cdl_option CYGNUM_HAL_DIAG_BAUD {
85
        display       "Baud rate for the HAL diagnostic port"
86
        flavor        data
87
        legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
88
                      4800 7200 9600 14400 19200 38400 57600 115200 230400
89
        }
90
        default_value 38400
91
        description   "
92
            This option specifies the default baud rate (speed) for the
93
            HAL diagnostic port."
94
   }
95
 
96
   cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
97
       display      "Number of communication channels on the board"
98
       flavor       data
99
       calculated   1
100
   }
101
# Ultimately, I would like to change this to 2.
102
 
103
   cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL {
104
       display          "Debug serial port"
105
       active_if        CYGPRI_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL_CONFIGURABLE
106
       flavor data
107
       legal_values     0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
108
       default_value    0
109
       description      "
110
           The MPC8260 TS6 board has two serial ports.  This option
111
           chooses which port will be used to connect to a host
112
           running GDB."
113
    }
114
 
115
    cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL {
116
        display          "Diagnostic serial port"
117
        active_if        CYGPRI_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_CONFIGURABLE
118
        flavor data
119
        legal_values     0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
120
        default_value    0
121
        description      "
122
           The MPC8260 TS6 board has two serial ports.  This option
123
           chooses which port will be used for diagnostic output."
124
    }
125
 
126
    # This option is only used when USE_ROM_MONITOR is enabled - but
127
    # it cannot be a sub-option to that option, since the code uses the
128
    # definition in a preprocessor comparison.
129
    cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_ROM_DEBUG_CHANNEL {
130
        display          "Debug serial port used by ROM monitor"
131
        flavor data
132
        legal_values     0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
133
        default_value    0
134
        description      "
135
            The MPC8260 TS6 board has two serial ports.  This
136
            option tells the code which port is in use by the ROM
137
            monitor. It should only be necessary to change this
138
            option if a non-standard configurated eCos GDB stub is
139
            used."
140
    }
141
 
142
    compile       var_intr.c var_misc.c variant.S quicc2_diag.c
143
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.