1 2002-08-06 Gary Thomas <gary@chez-thomas.org>
2 2002-08-06 Motoya Kurotsu <kurotsu@allied-telesis.co.jp>
4 * src/plf_serial.c: I/O channel data can't be constant - contains
5 timeout information which can be changed.
7 2001-10-31 Jonathan Larmour <jlarmour@redhat.com>
9 * cdl/hal_mips_vr4300_vrc437x.cdl: Indicate support of variable baud
12 2001-10-30 Nick Garnett <nickg@redhat.com>
14 * include/platform.inc:
15 Added local version of hal_intc_decode to make chaining work
19 Added local version of HAL_TRANSLATE_VECTOR() to make chaining
22 2001-10-24 Nick Garnett <nickg@redhat.com>
24 * include/hal_diag.h: Fixed problem with support for virtual
27 * include/platform.inc:
28 Modify the ROM and ROMRAM version of hal_mon_copy_trampoline to
29 copy the utlb trampoline to 0xa0000080 as well as 0xa0000000. This
30 is necessary on 64 bit machines to catch 64 bit TLB exceptions.
32 2001-09-17 Nick Garnett <nickg@redhat.com>
35 Added ISR for dealing with spurious interrupts from the VRC437X.
36 Added PCI initialization routine.
38 * src/platform.S: Change PCI IO base address setup to a more
41 * include/plf_io.h: Adjust PCI IO and memory base addresses to
42 match the actual hardware setup.
43 Add explicit PCI initialization routine.
45 * include/platform.inc: Install bus error VSR in non-stub
48 2001-09-07 Nick Garnett <nickg@redhat.com>
50 This package is newly created to contain code that is common to
51 all VRC437X platforms. Most of the contents is derived from the
52 original VRC4373 package. All ChangeLog entries other than this
53 one were made when the files were in that package. This ChangeLog
54 entry describes any major changes that have occured to the files
57 * include/platform.inc:
58 Converted INITIAL_SR to INITIAL_SR_PLF to work with architecture
61 * src/platform.S: Added VRC4375 setup.
63 * src/plf_serial.c: File added to implement serial IO in a vector
66 * cdl/hal_mips_vr4300_vrc437x.cdl: Generic configuration for all
67 targets added. Platform specific configuration moved out to
71 * include/plf_cache.h:
75 * include/plf_z8530.h:
81 Files move with minor changes only from original VRC4373 package.
84 2001-02-26 Jonathan Larmour <jlarmour@redhat.com>
86 * include/platform.inc: Always do unsigned arithmetic on addresses
87 * src/platform.S: Ditto
88 Reported by Chris Morrow <cmorrow@YottaYotta.com>
90 2001-02-05 Jesper Skov <jskov@redhat.com>
92 * include/plf_io.h: Ignore devices not on bus 0.
94 2001-01-31 Nick Garnett <nickg@cygnus.co.uk>
96 * src/platform.S: Added *va* (see mips/arch/.../arch.inc) macros
97 when manipulating values that are potentially 64 bits.
99 2001-01-26 Jesper Skov <jskov@redhat.com>
101 * include/plf_stub.h: Reset macros moved
102 * include/plf_intr.h: to this file.
104 2000-10-20 Jonathan Larmour <jlarmour@redhat.com>
106 * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.mlt:
107 * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.mlt:
108 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt:
111 * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.h:
112 * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.h:
113 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.h:
114 * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.ldi:
115 * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.ldi:
116 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
119 2000-09-15 Nick Garnett <nickg@cygnus.co.uk>
121 * include/platform.inc: Added some extra ifdefs and code to try
122 and get ROM startup working.
124 * cdl/hal_mips_vr4300_vrc4373.cdl:
125 Building GDB stubs was requiring ROM startup when it should have
128 2000-08-31 Jonathan Larmour <jlarmour@redhat.com>
130 * src/platform.S (hal_pci_config_read): Prevent assembler reordering,
131 the address is important
133 2000-08-16 Nick Garnett <nickg@cygnus.co.uk>
135 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt:
136 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
137 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.h:
138 Fixed typo in last change. Forgot that the RAM base address
139 appears twice in these files. Also fixed .h file to match.
141 2000-08-15 Nick Garnett <nickg@cygnus.co.uk>
143 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt:
144 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
145 RAM start on these configurations should be 0x80000000 not
148 2000-05-22 Jesper Skov <jskov@redhat.com>
150 * src/hal_diag.c: Removed CTRLC init hacks.
152 * src/plf_misc.c (hal_ctrlc_isr_init): Made public.
154 2000-05-17 Jesper Skov <jskov@redhat.com>
156 * src/plf_misc.c: Let arch call ctrlc_init.
158 2000-02-18 Jonathan Larmour <jlarmour@redhat.co.uk>
160 * cdl/hal_mips_vr4300_vrc4373.cdl (CYGBLD_BUILD_GDB_STUBS): When
161 building stubs, define every dependency required here rather than
164 2000-02-10 Jesper Skov <jskov@redhat.com>
166 * include/plf_stub.h:
167 Removed HAL_STUB_PLATFORM_STUBS_INIT.
169 * include/pkgconf/hal_mips_vr4300_vrc4373.h: Removed stubs as a
172 2000-02-07 Jesper Skov <jskov@redhat.com>
174 * cdl/hal_mips_vr4300_vrc4373.cdl: use cpu options when linking.
176 2000-02-03 Jesper Skov <jskov@redhat.com>
178 * cdl/hal_mips_vr4300_vrc4373.cdl: Implements stubs.
180 2000-01-27 Jesper Skov <jskov@redhat.com>
182 * cdl/hal_mips_vr4300_vrc4373.cdl: Moved part of stubs build rule to
183 common HAL. Changed description.
185 2000-01-24 Jesper Skov <jskov@cygnus.co.uk>
187 * cdl/hal_mips_vr4300_vrc4373.cdl: Add stubs build rule.
189 2000-01-24 John Dallaway <jld@cygnus.co.uk>
193 Remove obsolete option CYGTST_TESTING_IDENTIFIER.
195 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
197 * cdl/*.cdl: Add descriptions to a number of options &c which were
198 lacking same, also tidied up other typos as noticed en passant.
200 1999-12-21 Jonathan Larmour <jlarmour@cygnus.co.uk>
202 * misc/stubrom.perm: Rename CYG_HAL_ROM_MONITOR ->
203 CYGSEM_HAL_ROM_MONITOR
205 * include/platform.inc: Rename CYG_HAL_USE_ROM_MONITOR_PMON ->
206 CYGSEM_HAL_USE_ROM_MONITOR_PMON throughout
207 Rename CYG_HAL_USE_ROM_MONITOR_GDB_STUBS ->
208 CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs throughout
210 * src/hal_diag.c: Likewise
212 * src/plf_misc.c: Likewise. Similarly CYG_HAL_USE_ROM_MONITOR_CYGMON
213 -> CYGSEM_HAL_USE_ROM_MONITOR_CygMon
215 * cdl/hal_mips_vr4300_vrc4373.cdl: Add new platform-specific
216 CYGSEM_HAL_USE_ROM_MONITOR and CYGSEM_HAL_ROM_MONITOR options to
217 control ROM monitor support
219 1999-12-20 Gary Thomas <gthomas@cygnus.co.uk>
221 * cdl/hal_mips_vr4300_vrc4373.cdl: Add -Wl for linker options.
223 1999-11-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
225 * include/pkgconf/hal_mips_vr4300_vrc4373.h:
226 Reparent under HAL MIPS variants as for other MIPS targets
228 1999-11-25 John Dallaway <jld@cygnus.co.uk>
230 * cdl/hal_mips_vr4300_vrc4373.cdl:
232 Remove references to obsolete 'STUBS' memory layout.
234 1999-11-25 Gary Thomas <gthomas@cygnus.co.uk>
236 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.h: New file.
238 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
239 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt: Real file.
241 * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.h:
242 * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.h: New file(s).
244 1999-11-02 Jesper Skov <jskov@cygnus.co.uk>
246 * cdl/hal_mips_vr4300_vrc4373.cdl: Added.
248 1999-10-29 Nick Garnett <nickg@cygnus.co.uk>
250 * include/plf_intr.h:
253 Changed CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT to
254 CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT.
256 1999-10-05 Nick Garnett <nickg@cygnus.co.uk>
258 * src/platform.S: Swapped around the IOPROF registers for
259 big-endian mode. These 16 bit registers end up in opposite halves
260 of the 32 bit word in big endian mode.
262 * include/plf_z8530.h: In big-endian mode the Z8530 registers are
263 at the other end of the word. This is easily fixed by redefining
266 1999-09-14 Jonathan Larmour <jlarmour@cygnus.co.uk>
268 * src/hal_diag.c (hal_diag_write_char): Ack VRC4373 interrupt to
269 prevent spurious interrupts
270 * include/pkgconf/hal_mips_vr4300_vrc4373.h:
271 Add new CYGSEM_HAL_MIPS_VR4300_VRC4373_DIAG_ACKS_INT_0 option to
272 control the above behaviour
274 1999-09-08 Jonathan Larmour <jlarmour@cygnus.co.uk>
276 * include/plf_intr.h (HAL_INTERRUPT_UNMASK): Rephrase to silence warnings
277 about left-shifting negative numbers. Equivalent when optimized.
278 (HAL_INTERRUPT_ACKNOWLEDGE): Likewise
279 (HAL_INTERRUPT_MASK): Likewise
281 1999-09-09 Nick Garnett <nickg@cygnus.co.uk>
283 * include/platform.inc: Changed end address for copy from
284 __bss_end to __ram_data_end.
286 1999-09-08 Jonathan Larmour <jlarmour@cygnus.co.uk>
288 * src/platform.S (NTLBENTRIES): Fix typo: 0x32 -> 32
290 * include/platform.inc (hal_mon_copy_trampoline): Use branch delay slot
291 when copying - both for ROMRAM startup and CYG_HAL_USE_ROM_MONITOR_PMON
292 (hal_mon_init_vsr_table): Don't init debug vector - not used on
295 1999-09-02 Nick Garnett <nickg@cygnus.co.uk>
297 * include/platform.inc: Added code to monitor setup to copy
298 other_vector in to correct RAM location.
300 1999-08-19 Nick Garnett <nickg@cygnus.co.uk>
302 * include/plf_io.h: Added this file to contain PCI access support.
304 * include/platform.inc:
306 Added function to read data from the PCI data register together
307 with a data load/store VSR which catches any exceptions and fixes
308 them up so that the program can continue.
310 1999-07-15 Jonathan Larmour <jlarmour@cygnus.co.uk>
312 * src/hal_diag.c: Add prototypes for cyg_hal_is_break and
313 cyg_hal_user_break to silence warning
315 1999-06-21 Nick Garnett <nickg@cygnus.co.uk>
317 * src/plf_misc.c (hal_ctrlc_isr): Changed all return codes to 2 so
318 that the interrupt is reported as handled.
320 1999-06-17 Nick Garnett <nickg@cygnus.co.uk>
322 * include/platform.inc: Added code to initialize VSR slots for
323 debug, utlb and nmi vectors.
325 * misc/stubrom.perm: Added disable of
326 CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT when building ROM monitor.
328 1999-06-10 Jesper Skov <jskov@cygnus.co.uk>
330 * src/plf_stub.c (hal_plf_stub_init): Fix config problem.
332 1999-06-10 Nick Garnett <nickg@cygnus.co.uk>
334 * src/plf_stub.c: Added interrupt acknowledge calls to character
335 IO routines to prevent spurious interrupts.
337 1999-06-08 Nick Garnett <nickg@cygnus.co.uk>
339 * src/hal_diag.c: Ensure that reads and writes do not provoke
342 * include/platform.inc: Tidied up debug version of
343 hal_diag_intr_start a little.
345 1999-05-28 Nick Garnett <nickg@cygnus.co.uk>
347 * misc/stubrom.perm: Added this file to contain a permutation for
348 building a stub ROM for the VRC4373 board.
350 * include/pkgconf/hal_mips_vr4300_vrc4373.h: Removed redfinitions
351 triggered by CYG_HAL_STARTUP_STUBS.
353 * include/plf_stub.h: Added HAL_STUB_PLATFORM_INIT and voided
354 HAL_STUB_PLATFORM_INIT_BREAK_IRQ and HAL_STUB_PLATFORM_STUBS_INIT.
357 Moved all setup into hal_plf_stub_init(). Deleted
358 hal_plf_init_break_irq().
360 1999-05-27 Nick Garnett <nickg@cygnus.co.uk>
363 Moved Z8530 definitions out to plf_z8530.h.
364 Added setup of install_async_breakpoint() function is vector
367 * src/platform.S: Some minor tidies to the code.
370 Moved Z8530 definitions out to plf_z8530.h.
371 Added modifications for Control-C support - mostly removing some
374 * include/plf_z8530.h
375 Added this file to contain definitions and access macros to the
376 Z8530 DUART for use in the HAL.
378 * include/pkgconf/hal_mips_vr4300_vrc4373.h: Removed some
381 * include/plf_intr.h:
383 Added Control-C support.
385 * include/platform.inc: Some minor changes to diagnostic macros.
387 1999-05-21 Nick Garnett <nickg@cygnus.co.uk>
389 * src/plf_stub.c (hal_plf_init_serial): Tidied away some unused
393 Made use of ROMRAM startup option where relevant.
394 Modified code to be position independent since under ROMRAM
395 startup it is linked to run in RAM but must actually run in ROM
397 Added some delay loops to try and get the hardware to settle on
398 startup. Without these the machine sometimes wedges after
401 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.ldi:
402 * include/pkgconf/mlt_mips_vr4300_vrc4373_romram.mlt:
403 * include/pkgconf/mlt_mips_vr4300_vrc4373_stubs.ldi:
404 * include/pkgconf/mlt_mips_vr4300_vrc4373_stubs.mlt:
405 Added these files to support the new startup types.
406 Note: at present the .mlt files do not match the .ldi files.
408 * include/pkgconf/hal_mips_vr4300_vrc4373.h:
409 Added ROMRAM and STUBS startup options to CDL. Moved default ports
410 for DIAG and GDB to 0 at 38400 baud.
411 Added an ifdef to modify the configuration for STUBS startup.
413 * include/plf_stub.h: Removed spurious include.
415 * include/platform.inc:
416 Added version of INITIAL_SR for use with GDB stubs.
417 Added implementation of "lar" macro and converted the relevant
418 instances of "la" to use it.
419 Made use of ROMRAM startup option where relevant.
420 Implemented copy of ROM image to RAM and transfer of control to
422 Tidied up trampoline copy and VSR table init in monitor init
424 Added code to generate messages to the GrammerEngine PromIce AI
425 interface during initialization.
427 1999-05-20 Gary Thomas <gthomas@cygnus.co.uk>
429 * include/pkgconf/hal_mips_vr4300_vrc4373.h: Move RTC setup here.
431 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
433 Imported whole directory tree into main trunk of repository.
435 1999-05-11 Nick Garnett <nickg@cygnus.co.uk>
438 * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.ldi:
439 Moved RAM and ROM back to their correct addresses.
441 * include/pkgconf/hal_vr4300_vrc4373.h:
442 * include/pkgconf/hal_mips_vr4300_vrc4373.h:
443 Renamed hal_vr4300_vrc4373.h to match file name synthesized by
448 Removed explicit include of vrc4372 pkgconf file.
450 1999-05-06 Nick Garnett <nickg@cygnus.co.uk>
453 * include/pkgconf/hal_vr4300_vrc4373.h: Switched initial DIAG and
454 GDB baud rates to 38400.
456 * include/plf_stub.h:
458 Added hal_plf_stub_init() to initialize the virtual vector table
459 for thread-aware debugging.
461 1999-05-05 Nick Garnett <nickg@cygnus.co.uk>
464 * include/platform.inc: Added code to plant interrupt VSR in table
467 1999-04-29 Nick Garnett <nickg@cygnus.co.uk>
470 * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.ldi:
471 * include/pkgconf/mlt_mips_vr4300_vrc4373_ram.mlt:
472 Load address moved to 0x80100000, which is the cacheable area (kseg0).
474 * include/pkgconf/mlt_mips_vr4300_vrc4373_rom.ldi: For testing
475 purposes ROM loaded code is put at 0x80680000 and its working RAM
476 at 0x80600800. These will be moved back to the real addresses when
477 we can build real ROMs.
478 The corresponding .mlt file has NOT been changed.
480 * src/plf_stub.c (hal_plf_init_serial): Re-enabled initialization
482 Temporarily made calls to PMON close function unconditional.
484 * src/plf_misc.c (hal_platform_init): Added call to
485 patch_dbg_syscalls().
487 * src/platform.S: Lots of code, tables and definitions added to
488 initialize the MMU and memory/bus controllers.
490 * src/hal_diag.c: Added support for GDB protocol messages.
492 * include/platform.inc: Added hal_mmu_init and hal_memc_init
493 macros. Added code to initialize the VSR table in various
496 1999-04-26 Gary Thomas <gthomas@cygnus.co.uk>
499 * include/pkgconf/hal_vr4300_vrc4373.h: Default diagnostics on port B.
501 * src/hal_diag.c (hal_diag_init): Port initialization was incorrect.
503 1999-04-23 Nick Garnett <nickg@cygnus.co.uk>
506 * include/platform.inc: Added some extra vsr table redirects for
507 most other exceptions while we are running under PMON.
509 1999-04-22 Nick Garnett <nickg@cygnus.co.uk>
512 * include/plf_stub.h:
514 * src/PKGconf.mak (COMPILE):
515 Files added to start work on GDB stub support.
517 1999-04-22 Gary Thomas <gthomas@cygnus.co.uk>
521 * include/pkgconf/hal_vr4300_vrc4373.h: Add diag/gdb serial
524 1999-04-22 Nick Garnett <nickg@cygnus.co.uk>
527 * include/platform.inc: Modified hal_intc_init to always enable
528 IPL0..2 bits in CP0 status register.
530 1999-04-21 Nick Garnett <nickg@cygnus.co.uk>
533 * src/plf_misc.c: Added this file to contain hal_platform_init().
535 * src/pmon.S: Renamed pmon entry functions to avoid clashes with
536 the C library. Removed unused code.
538 * src/platform.S: Added this file. It contains an ISR springboard
539 routine to decode interrupts via the vrc4372, a breakpoint
540 springboard to allow breakpoints to continue being handled by
541 PMON, and board specific versions of the ISR tables.
542 [later] Fixed a bug in the ISR springboard, added a few comments
545 * src/hal_diag.c: Implemented direct-to-hardware diagnostic
548 * src/PKGconf.mak (COMPILE): Added platform.S.
551 * include/plf_intr.h: Added extensive support for vr4372 interrupt
554 * include/platform.inc: Added an initial status register value to
555 avoid upsetting PMON. Added plant of hal_breakpoint_springboard in
556 VSR table. Added some diagnostic code to wiggle a led.
557 Added an implementation of hal_intc_init. Changed initial status
558 register value. Moved VRC4372 register definitions here.