source: rtems/c/src/lib/libbsp/powerpc/shared/ChangeLog @ 4035637

Last change on this file since 4035637 was 4035637, checked in by Joel Sherrill <joel.sherrill@…>, on 08/21/03 at 17:06:17

2003-08-21 Till Strauman <strauman@…>

PR 456/bsps

  • irq/irq.c: Fix race condition when installing an ISR.
  • Property mode set to 100644
File size: 13.2 KB
Line 
12003-08-21      Till Strauman <strauman@slac.stanford.edu>
2
3        PR 456/bsps
4        * irq/irq.c: Fix race condition when installing an ISR.
5
62003-08-05      Till Strauman <strauman@slac.stanford.edu>
7
8        PR 437/bsps
9        * irq/irc.c: calls to bspIo/printk must not use '%i' format which is
10        apparently not supported
11        * pci/pci.c: calls to bspIo/printk must not use '%i' format which is
12        apparently not supported
13
142003-07-18      Till Straumann <strauman@slac.stanford.edu>
15
16        PR 288/rtems
17        * irq/irq_asm.S, startup/bspstart.c: _ISR_Nest_level is now properly
18        maintained and any BSP which does not do so will trip a panic in the
19        shared code.
20
212003-07-18      Till Straumann <strauman@slac.stanford.edu>
22
23        PR 415/bsps
24        * pci/detect_raven_bridge.c, startup/bspstart.c:
25        This patch reverts enabling MCP interrupts for the motorola_powerpc
26        BSPs. REASON: pci config space scanning (as e.g. done by the DEC
27        Ethernet driver) would raise machine check exceptions.
28
292003-07-16      Greg Menke <gregory.menke@gsfc.nasa.gov>
30
31        PR 428/bsps
32        PR 432/bsps
33        * bootloader/pci.c: Re-instated code that prevents remapping small
34        IO regions, which if remapped would cause i8259 registers to move
35        out from under the #define'd base addresses.
36        * startup/bspstart.c: Reduced BAT2 PCI memory allocation to 256
37        megs, I incorrectly had extended it which would cause problems with
38        PCI devices that defined prefetchable memory.
39       
402003-06-13      Greg Menke <gregory.menke@gsfc.nasa.gov>
41
42        PR 405/bsps
43        * bootloader/pci.c: Added support for configuring devices for pci
44        busses > 0
45        * pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the
46        INTERRUPT_LINE register of pci devices any # of hops away
47        from the host processor.
48        * motorola/motorola.c, motorola/motorola.h: Added interrupt
49        routing tables in support of FixupPCI.  This is board-specific,
50        each board will have to supply information for FixupPCI() to do
51        anything for it.
52        * startup/bspstart.c: Extended bat2 to cover entire PCI address space.
53        * irq/irq.c, irq/irq.h: Added support for shared interrupts.
54        Existing single hander vectors are undisturbed, a new function
55        added to allow adding/removing handlers from a vector.
56
572003-06-13  Till Straumann <strauman@slac.stanford.edu>
58
59        PR 415/bsps
60        * include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
61        Support enabling MCP exceptions on the host bridge. This can
62        be used for memory probing on the VME bus.
63
642003-04-10  Till Straumann <strauman@slac.stanford.edu>
65
66        PR 379/bsps
67        * console/polled_io.c: libcpu provides 'printk' already.
68        Therefore, the implementation in this file was removed (still
69        used for the bootloader, though).  It now provides BSP_output_char()
70        for libcpu's printk().
71        * console/uart.c, console/uart.h: BSP_output_char_via_serial()
72        prototype changed to match the BSP_output_char_function_type.  Note
73        that the motorola BSPs use polled-io for the output_char routine, not
74        the uart.c version. The latter can be used be other BSPs however
75        (e.g. SVGM).
76        * console/console.c, console/consoleIo.h, console/polled_io.c,
77        irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
78        Unfortunately, the supported 'printk' format string subset of the
79        polled-io and libcpu implementations are different - hence, a few
80        format strings in the ppc/shared BSP were changed.
81
822003-04-10      Joel Sherrill <joel@OARcorp.com>
83
84        PR 383/bsps
85        * irq/irq.c: Fix bug introduced by conflicts in previous patches.
86
872003-03-25  Till Straumann <strauman@slac.stanford.edu>
88
89        PR 360/bsps
90        * irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
91        BSP code had set the task priority register multiple times of
92        the OpenPIC instead of setting the individual source priorities.
93        This patch adds openpic_get_source_priority() and
94        openpic_set_source_priority() calls and lets IRQ management code
95        use them.
96
972003-03-25  Till Straumann <strauman@slac.stanford.edu>
98
99        PR 349/bsps
100        * irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
101        on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
102        code on non-VME BSPs without triggering linkage of the vmeUniverse
103        driver.
104
1052003-03-18  Till Straumann <strauman@slac.stanford.edu>
106
107        PR 356/bsps
108        This patch makes RTEMS/powerpc/shared EABI compliant.
109        * irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
110        startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
111        zero_bss() should clear not only bss but sbss and sbss2
112        also (this is probably a bugfix, as sbss/sbss2 are
113        probably used even if -msdata=eabi is not specified).
114        * start/rtems_crti.S: New file which must
115        be linked immediately after ecrti.o. rtems_crti.o contains
116        a code snippet who lets __init() return immediately. Also,
117        a new entry point '_init' to the C++ Ctors is generated
118        for use by the RTEMS Thread_Handler.
119
1202003-02-20      Till Straumann <strauman@slac.stanford.edu>
121
122        PR 349/bsps
123        * console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
124        irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
125        vectors/vectors.S, vectors/vectors_init.c:
126          - install the 'openpic.h' and 'pci.h' headers
127          - avoid a name clash by renaming 'vsprintf' & friends
128            to 'k_vsprintf' etc.
129          - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
130          - irq.c:
131             * fix: remove implicit assumption that ISA interrupt vectors start
132                    at 0
133             * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
134               IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
135          - fix: EABI compliance; isr/exception lowlevel handlers must not
136                 clobber R2 or R13
137          - fix: openpic_init was called with the polarity/senses tables
138                 swapped (fixed wrong order of arguments)
139          - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
140
1412003-02-20      Till Straumann <strauman@slac.stanford.edu>
142
143        PR 349/bsps
144        * startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
145        * startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
146        Let the powerpc/shared (+derived) BSPs use pagetable support
147        from libcpu.
148
1492003-02-20      Till Straumann <strauman@slac.stanford.edu>
150
151        PR 349/bsps
152        * vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
153        vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
154        the vmeUniverse VME-PCI bridge driver.
155
1562003-02-20      Till Straumann <strauman@slac.stanford.edu>
157
158        PR 349/bsps
159        * console/console.c, console/uart.c, console/uart.h: implement
160        IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
161        callback.  The callback routine (if installed) is invoked from the
162        UART ISR when a BREAK interrupt is detected.  This can be used
163        e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
164        use the serial line break condition) NOTE: The callback runs in
165        ISR context. 
166
1672003-01-20      Joel Sherrill <joel@OARcorp.com>
168
169        * startup/linkcmds*: Add FreeBSD sysctl() sections.
170
1712002-12-08      Greg Menke <gregory.menke@gsfc.nasa.gov>
172 
173        * bootloader/head.S: Added support for optional debug via PPCbug.
174        Also turn off mmu/caches for the bootstrap phase, which seems to
175        cause trouble with the 603.  The cpu init functions in the bsp
176        get all that stuff going properly.
177
1782002-12-19      Joel Sherrill <joel@OARcorp.com>
179
180        * console/console.c: Removed __assert() which conflicts with newlib.
181
1822002-11-17      Greg Menke <gregory.menke@gsfc.nasa.gov>
183
184        * irq/irq_init.c, motorola/motorola.c: Support for MTX603e.
185
1862002-10-31      Joel Sherrill <joel@OARcorp.com>
187
188        * bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
189        motorola/motorola.c, pci/detect_raven_bridge.c,
190        vectors/vectors_init.c: Removed warnings.
191
1922002-07-25      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
193
194        * bootloader/em86real.S: Fix syntax error in comment near line 1185.
195
1962001-05-14      Till Straumann <strauman@slac.stanford.edu>
197
198        * bootloader/misc.c, console/Makefile.am, console/console.c,
199        console/consoleIo.h, console/inch.c, console/polled_io.c,
200        console/uart.c, console/uart.h, include/bsp.h, irq/Makefile.am,
201        irq/irq.c, irq/irq.h, irq/irq_init.c, openpic/openpic.c,
202        openpic/openpic.h, pci/Makefile.am, pci/pci.c, pci/pci.h,
203        residual/Makefile.am, start/start.S, startup/bspstart.c,
204        vectors/vectors.S, vectors/vectors.h, vectors/vectors_init.c:
205        Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
206        with the goal to make it more flexible and reusable by other
207        BSPs. The main strategies were:
208            - eliminate hardcoded base addresses; devices use offsets
209              and a BSP defined base address.
210            - separate functionality into different files (e.g. reboot from
211              inch.c to reboot.c) which can be overridden by a 'derived' BSP.
212            - separate initialization code into separate files (e.g.  PCI
213              bridge detection/initialization was separated from the more
214              generic PCI access routines), also to make it easier for
215              'derived' BSPs to substitute their own initialization code.
216        There are also a couple of enhancements and fixes:
217            - IRQ handling code now has a hook for attaching a VME bridge.
218            - OpenPIC is now explicitely initialized (polarities, senses).
219              Eliminated the implicit assumption on the presence of an ISA PIC.
220            - UART and console driver now supports more than 1 port. The current
221              maximum of 2 can easily be extended by enlarging a table (it
222              would even be easier if the ISR API was not broken by design).
223            - fixed polled_io.c so it correctly supports console on COM2
224            - fixed TLB invalidation code (start.S).
225            - exception handler prints a stack backtrace.
226            - added BSP_pciFindDevice() to scan the pci bus for a particular
227              vendor/device/instance.
228
2292001-05-09      Joel Sherrill <joel@OARcorp.com>
230
231        * startup/linkcmds: In support of gcc 3.1, added one of more
232        of the sections .jcr, .rodata*, .data.*, .gnu.linkonce.s2.*,
233        .gnu.linkonce.sb2.*, and .gnu.linkonce.s.*.  Spacing corrections
234        and direction of segments to memory regions may also have been
235        addressed.  This was a sweep across all BSPs.
236 
2372002-04-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
238
239        * bootloader/exception.S: Reflect changes to <rtems/score/cpu.h>.
240        * bootloader/head.S: Ditto.
241        * bootloader/misc.c: Ditto.
242        * console/polled_io.c: Ditto.
243        * irq/irq.c: Ditto.
244        * irq/irq_asm.S: Ditto.
245        * irq/irq_init.c: Include <rtems/bspIo.h>.
246        * start/start.S: Reflect changes to <rtems/score/cpu.h>.
247        * vectors/vectors.S: Ditto.
248
2492002-04-16      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
250
251        * startup/bspstart.c: Include <libcpu/cpuIdent.h>.
252
2532001-04-08      Joel Sherrill <joel@OARcorp.com>
254
255        * startup/linkcmds: Per PR170, PR171, and PR172 add .eh_frame
256 
2572002-04-02      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
258
259        * residual/residual.c: Include <string.h>.
260        * vectors/vectors_init.c: Include <rtems/bspIo.h> for printk.
261        * bootloader/mm.c: Ditto.
262        * bootloader/pci.c: Ditto.
263        * console/console.c: Ditto.
264        * openpic/openpic.c: Ditto.
265
2662002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
267
268        * bootloader/Makefile.am: Remove AUTOMAKE_OPTIONS.
269        * Makefile.am: Remove AUTOMAKE_OPTIONS.
270        * clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
271        * console/Makefile.am: Remove AUTOMAKE_OPTIONS.
272        * include/Makefile.am: Remove AUTOMAKE_OPTIONS.
273        * irq/Makefile.am: Remove AUTOMAKE_OPTIONS.
274        * motorola/Makefile.am: Remove AUTOMAKE_OPTIONS.
275        * openpic/Makefile.am: Remove AUTOMAKE_OPTIONS.
276        * pci/Makefile.am: Remove AUTOMAKE_OPTIONS.
277        * residual/Makefile.am: Remove AUTOMAKE_OPTIONS.
278        * start/Makefile.am: Remove AUTOMAKE_OPTIONS.
279        * startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
280        * vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
281
2822001-11-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
283
284        * include/Makefile.am: Use _HEADER instead of H_FILES.
285        * irq/Makefile.am: Ditto.
286        * openpic/Makefile.am: Ditto.
287        * include/bsp.h: Include <bspopts.h>.
288
2892001-10-25      Joel Sherrill <joel@OARcorp.com>
290
291        * startup/linkcmds: Added _init and _fini.
292
2932001-10-12      Joel Sherrill <joel@OARcorp.com>
294
295        * clock/p_clock.c, startup/bspstart.c: Fixed typo.
296
2972001-09-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
298
299        * console/Makefile.am: Use 'PREINSTALL_FILES ='.
300        * residual/Makefile.am: Use 'PREINSTALL_FILES ='.
301        * irq/Makefile.am: Use 'PREINSTALL_FILES ='.
302        * motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
303        * vectors/Makefile.am: Use 'PREINSTALL_FILES ='.
304        * pci/Makefile.am: Use 'PREINSTALL_FILES ='.
305        * openpic/Makefile.am: Use 'PREINSTALL_FILES ='.
306
3072001-05-14      Tom Armistead <tom_armistead@phx.mcd.mot.com>
308
309        * start/start.S: Increased BAT0 mapping of RAM from 64 meg to
310        256 meg to allow operation on boards with larger RAM sizes.
311        * vectors/vectors_init.c: Modified to call 'generic' powerpc
312        vector function (mpc60x_vector_is_valid) instead of MPC750
313        specific function to allow operation on boards with CPUs other
314        than the MPC750.
315
3162001-03-30      Eric Valette <valette@crf.canon.fr>
317
318        * Makefile.am, console/consoleIo.h, include/bsp.h:
319        These modifications are part of the conversion of the
320        mpc8xx CPU to the "new exception processing model."
321
3222000-11-01      Joel Sherrill <joel@OARcorp.com>
323
324        * startup/bspstart.c: assoc.h, error.h, libio_.h, libio.h,
325        and libcsupport.h moved from libc to lib/include/rtems and
326        now must be referenced as <rtems/XXX.h>.   Header file order
327        was cleaned up while doing this.
328
3292000-09-29      Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
330
331        * startup/linkcmds: Added lines so DWARF debug information
332        would be available.  Otherwise gdb complains that the offsets
333        for the debug info are incorrect and doesn't load the files.
334
3352000-09-05      Joel Sherrill <joel@OARcorp.com>
336
337        * start/start.S: Include proper files to compile.
338
3392000-08-10      Joel Sherrill <joel@OARcorp.com>
340
341        * ChangeLog: New file.
Note: See TracBrowser for help on using the repository browser.