1 2003-07-18 Nick Garnett <nickg@balti.calivar.com>
3 * cdl/hal_sparclite_sim.cdl:
4 Changed values for CYGNUM_HAL_RTC_NUMERATOR,
5 CYGNUM_HAL_RTC_DENOMINATOR and CYGNUM_HAL_RTC_PERIOD to
6 "default_value" from "calculated". This makes it easier
7 to change these values globally.
9 2000-10-20 Jonathan Larmour <jlarmour@redhat.com>
11 * include/pkgconf/mlt_sparclite_sim_ram.mlt:
14 * include/pkgconf/mlt_sparclite_sim_ram.h:
15 * include/pkgconf/mlt_sparclite_sim_ram.ldi:
18 2000-02-10 Jesper Skov <jskov@redhat.com>
20 * cdl/hal_sparclite_sim.cdl: Added.
22 1999-11-25 Gary Thomas <gthomas@cygnus.co.uk>
24 * include/pkgconf/mlt_sparclite_sim_ram.h: New file.
26 1999-10-13 Hugo Tyson <hmt@cygnus.co.uk>
28 * include/pkgconf/hal_sparclite_sim.h: Add define of
29 CYGHWR_HAL_SPARCLITE_HAS_ASR17 for arch HAL to DTRT with SVT
30 (anticipating cores with no SVT at all, so no %asr17)
32 1999-04-08 John Dallaway <jld@cygnus.co.uk>
34 * include/pkgconf/*.ldi: Revised SECTION_* macro arguments to
35 avoid padded output sections (PR 19787)
37 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
39 * src/hal_priv.c: Remove bogus FIX ME; it wasn't true.
41 1999-03-16 Hugo Tyson <hmt@cygnus.co.uk>
43 * include/halboot.si: Add a dummy LED macro for debug in the
44 vectors.S; correct a scary line length.
46 1999-03-04 Gary Thomas <gthomas@cygnus.co.uk>
48 * include/pkgconf/hal_sparclite_sim.h: Take out DEVICES dependencies.
50 1999-03-04 John Dallaway <jld@cygnus.co.uk>
52 * include/pkgconf/*.ldi: give all LDI files unique names so
53 that they can co-exist in an eCos build tree (PR 19184)
54 * include/pkgconf/*.mlt: give all MLT files unique names so
55 that they can co-exist in an eCos build tree (PR 19184)
57 1999-02-25 Hugo Tyson <hmt@cygnus.co.uk>
59 These log entries from 1999-02-22 to 1999-02-24 were executed in
60 a branch; this change is a merge of that branch into the trunk.
62 (1999-02-23 John Dallaway <jld@cygnus.co.uk>)
64 * include/pkgconf/hal_sparclite_sim.h: New rules
65 CYGPKG_HAL_SPARCLITE_SIM precludes CYGPKG_DEVICES_GDB
66 CYGPKG_HAL_SPARCLITE_SIM precludes CYGPKG_DEVICES_SERIAL_RS232_COMMON
68 (1999-02-22 Hugo Tyson <hmt@cygnus.co.uk>)
70 * src/hal_priv.c (hal_board_prestart, hal_board_poststart):
71 Shut down the erc32 watchdog in and enable interrupts in these two
75 Remove N/A code that I was just storing here, and install the real
76 vector instructions in this fragment; there be cache-wangling to
77 do in hardware cases either side of the vector installation.
79 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
82 Rename CYG_VECTOR_* -> CYGNUM_HAL_INTERRUPT_*
87 1999-02-08 John Dallaway <jld@cygnus.co.uk>
89 * src/sim.ld: Remove platform-specific linker script for
92 * src/PKGconf.mak: Remove build rules for sim.ld.
94 * include/pkgconf/ram.*: Add MLT save file and and linker
95 script fragment for RAM startup.
97 1999-02-01 Hugo Tyson <hmt@cygnus.co.uk>
100 New file: performs platform-oriented setup of RAM and cache
101 controllers, and quietens any interrupt sources.
103 * include/pkgconf/hal_sparclite_sim.h:
104 Correct comments/CDL description of sim invocation.
106 1999-01-28 Hugo Tyson <hmt@cygnus.co.uk>
108 * include/hal_cache.h: NEW FILE to this directory; moved here from
109 the sparclite/arch tree; cache control is very much board-specific
111 * include/hal_clock.h: NEW FILE to this directory; it was a part
112 of hal_intr.h, but is now here because the clock is target determined.
114 * include/hal_xpic.h: NEW FILE to this directory; it was a part of
115 hal_intr.h, but is now here because the detail of interrupot
116 control is target determined.
118 * src/hal_priv.c: NEW FILE to this directory; it was a part
119 of hal_intr.h, but is now here because the clock is target
120 determined, and it's the clock that needs a local variable.
122 * src/PKGconf.mak (COMPILE): compile it.
125 1999-01-26 Hugo Tyson <hmt@cygnus.co.uk>
128 Add copyright notice. (Though these files will later be generated
129 by a tool and so not copyright, these default setups are.)
131 1999-01-22 Hugo Tyson <hmt@cygnus.co.uk>
134 Remove some bogus comments.
136 1999-01-21 Jonathan Larmour <jlarmour@cygnus.co.uk>
139 Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
141 1999-01-21 Hugo Tyson <hmt@cygnus.co.uk>
144 Align bss and rom/ram_data starts and ends by 8 bytes to permit
147 1999-01-19 Hugo Tyson <hmt@cygnus.co.uk>
149 Modified files in arch:
160 * src/hal_boot.c (bss initialization, constructors &c)
161 * include/hal_cache.h (empty but required header)
163 Modified files in sim:
166 Lots more progress; essentially, everything now works.
168 Simulator's treatment of stdio is poor though, it doesn't work
169 under pkgtest. This has been slowing me up.
171 1999-01-14 Hugo Tyson <hmt@cygnus.co.uk>
173 * ecc/ecc/hal/sparclite/...:
175 Initial checkin of SPARClite HAL; it doesn't work yet, except the
176 most trivial of tests - timer and interrupt manipulation stuff is
179 Here's some documentation of the initial checkin tree; this will
180 change, as platform dependent stuff moves correctly into the sim
181 or <board> directories.
183 arch/current/include:
184 basetype.h nothing much here.
185 vectors.h definitions of symbols shared between the
186 various vector code assembler files, can be
187 included in both C and assembler.
188 hal_intr.h various macros for clock and interrupt
189 control plus the eCos vector numbering scheme; we
191 what SPARC trap type eCos vector numbers
192 -----------------------------------------------
194 interrupts (17-31) 1-15
195 user traps (128-255) 16
196 exceptions (1-9,36==4) 17-25
198 -----------------------------------------------
199 Trap types 5 and 6 which would be eCos vectors 21
200 and 22 are handled in the trampoline code in
202 hal_arch.h definition of a thread context, plus
203 macros for thread switching and the like. Some
204 ancillary bit twiddling macros and cache barriers
207 arch/current/include/pkgconf:
208 hal_sparclite.h pkgconf config/header file.
211 vectors.S boot-up stuff, trampoline code that hangs
212 on the interrupt/trap vector, handlers for window
213 under/overflow. Saves some state in registers
214 then jumps to the interrupt or exception VSR
216 Also instantiates the VSR table.
217 vec_ivsr.S the default interrupt VSR; it establishes
218 a C calling environment (ie. anticipates a window
219 overflow) then locks the scheduler, calls the ISR
220 with appropriate arguments, and then interrupt_end()
221 before undoing that environment, anticipating
222 window underflow and returning to the interrupted
224 vec_xvsr.S the default exception AKA trap VSR; does
225 the same as the interrupt one but without the
226 scheduler lock or interrupt end.
227 hal_intr.c instantiates the ISR table used by the
229 context.S context switch code, saves and loads up a
230 whole register state, coroutine or longjump-like.
231 icontext.c initializes a context to "jump" to in
232 context.S at the birth of a new thread.
235 hal_diag.h macros to deal with debugging output via a
236 fake serial device of some kind; initially empty,
237 but definitely board/sim dependent.
239 sim/current/include/pkgconf:
240 hal_sparclite_sim.h pkgconf config/header file.
243 sim.ld linker script bits for "sim" target.
245 //===========================================================================
246 //####ECOSGPLCOPYRIGHTBEGIN####
247 // -------------------------------------------
248 // This file is part of eCos, the Embedded Configurable Operating System.
249 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
251 // eCos is free software; you can redistribute it and/or modify it under
252 // the terms of the GNU General Public License as published by the Free
253 // Software Foundation; either version 2 or (at your option) any later version.
255 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
256 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
257 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
260 // You should have received a copy of the GNU General Public License along
261 // with eCos; if not, write to the Free Software Foundation, Inc.,
262 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
264 // As a special exception, if other files instantiate templates or use macros
265 // or inline functions from this file, or you compile this file and link it
266 // with other works to produce a work based on this file, this file does not
267 // by itself cause the resulting work to be covered by the GNU General Public
268 // License. However the source code for this file must still be made available
269 // in accordance with section (3) of the GNU General Public License.
271 // This exception does not invalidate any other reasons why a work based on
272 // this file might be covered by the GNU General Public License.
274 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
275 // at http://sources.redhat.com/ecos/ecos-license/
276 // -------------------------------------------
277 //####ECOSGPLCOPYRIGHTEND####
278 //===========================================================================