summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-1214-3/+552
| | | | | * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
* 2001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-10-123-54/+6
| | | | | | * include/sh4_regs.h: Deleted and contents merged in score/cpu to avoid dependencies. * include/Makefile.am: Reflects above.
* 2001-10-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-1213-538/+0
| | | | | | * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
* 2001-10-11 Alexandra Kossovsky <sasha@oktet.ru>Joel Sherrill2001-10-1226-0/+4989
| | | | | | | | | | | | | * clock/Makefile.am, clock/ckinit.c, clock/.cvsignore, Makefile.am, include/Makefile.am, include/iosh7750.h, include/ipl.h, include/ispsh7750.h, include/sh4_regs.h, include/sh4uart.h, include/sh7750_regs.h, include/.cvsignore, sci/Makefile.am, sci/console.c, sci/sh4uart.c, sci/.cvsignore, score/Makefile.am, score/cpu_asm.c, score/ispsh7750.c, score/.cvsignore, timer/Makefile.am, timer/timer.c, timer/.cvsignore, configure.ac, .cvsignore, ChangeLog: New files. Reviewed and updated to latest automake and autoconf standards by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
* 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-1126-1/+92
| | | | | | * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
* 2001-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-112-8/+15
| | | | | * configure.in: AC_PREREQ(2.52), Adapt CONFIG_SUBDIRS to autoconf-2.52.
* 2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-103-12/+32
| | | | | | * Makefile.am: reformat noinst_HEADERS to work around a bug in automake-1.4-p5. * configure.in: autoupdate to autoconf-2.52, apply RTEMS_CPU_SUBDIRS.
* 2001-09-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-09-283-4/+11
| | | | | | | * old_exception_processing/cpu.h: Renamed delay() to rtems_bsp_delay(). Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles(). * shared/include/cpu.h: Renamed delay() to rtems_bsp_delay(). Renamed delay_in_bus_cycles() to rtems_bsp_delay_in_bus_cycles().
* 2001-09-27 Jiri Gaisler <jiri@gaisler.com>Joel Sherrill2001-09-271-0/+6
| | | | | | * cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The bug has been there all the time, but only hits the leon bsp since the leon cpu has a 5-stage pipeline (erc32 has 4 stages).
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-273-3/+9
| | | | | | * include/Makefile.am: Use 'TMPINSTALL_FILES ='. * cache/Makefile.am: Use 'PREINSTALL_FILES ='. * cache/Makefile.am: Use 'CLEANFILES ='.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-276-3/+15
| | | | * include/Makefile.am: Use 'TMPINSTALL_FILES ='.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-2710-10/+23
| | | | | | | | | | | | | * new_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='. * old_exception_processing/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc6xx/mmu/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc6xx/clock/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc6xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc8xx/include/Makefile.am: Use 'PREINSTALL_FILES ='. * mpc8xx/exceptions/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/include/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/src/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/src/Makefile.am: Use 'CLEANFILES ='.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-275-5/+13
| | | | | | | | * tx39/include/Makefile.am: Use 'TMPINSTALL_FILES ='. * mongoosev/include/Makefile.am: Use 'TMPINSTALL_FILES ='. * mongoosev/duart/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/cache/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/cache/Makefile.am: Use 'CLEANFILES ='.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-272-2/+7
| | | | | * shared/cache/Makefile.am: Use 'PREINSTALL_FILES ='. * shared/cache/Makefile.am: Use 'CLEANFILES ='.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-272-2/+7
| | | | | * Makefile.am: Use 'PREINSTALL_FILES ='. * Makefile.am: Use 'CLEANFILES ='.
* 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-272-1/+5
| | | | * include/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-08-162-0/+531
| | | | | | | | | | | | | | | * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector number range check and handling of interrupt priority regs to conform SH2 specs. * sci/sci_termios.c: New file. * include/sci_termios.h: New file. * include/Makefile.am (EXTRA_DIST): Added sci_termios.h. (include_sh_HEADERS): Added sci_termios.h. * score/ispsh7045.c (isp): Calling an ISR with immediate argument casued negative sign extension for vector numbers of 128 and above. This was fixed. * sci/sci.c: Cleaned initialization of SCI registers; added necessary setup for new TERMIOS console cooperation
* 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-08-167-24/+161
| | | | | | | | | | | | | | | * score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector number range check and handling of interrupt priority regs to conform SH2 specs. * sci/sci_termios.c: New file. * include/sci_termios.h: New file. * include/Makefile.am (EXTRA_DIST): Added sci_termios.h. (include_sh_HEADERS): Added sci_termios.h. * score/ispsh7045.c (isp): Calling an ISR with immediate argument casued negative sign extension for vector numbers of 128 and above. This was fixed. * sci/sci.c: Cleaned initialization of SCI registers; added necessary setup for new TERMIOS console cooperation
* 2000-06-08 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-06-082-0/+17
| | | | | | | | | | | | | | | | * mpc8xx/console-generic/console-generic.c: The printk/printf did not work when loaded by EPPCBUG. They did work when loaded with the BDM debugger. I suspected EPPBUG made some nasty things like patching Communication processor microcode... Anyway, the attached patch: 1) Enables to have printk nearly immediately after boot, 2) Make printf work automagically (I do not know why except I make a different initialization for printk that should be overwritten by console init later ?) I let the default to be using EPPCBUG embedded firmware to boot and using this printk early enabler code (LOADED_BY_EPPCBUG and EARLY_CONSOLE) are on.
* 2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>Joel Sherrill2001-05-242-2/+7
| | | | | | * mpc6xx/timer/timer.c: Added include of bsp.h and removed external declaration of BSP_Convert_decrementer() to correct unresolved reference to this routine.
* 2001-05-24 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-05-242-10/+15
| | | | | | * mpc8xx/console-generic/console-generic.c: Bug found by Yacine <elkolli@crf.canon.fr> where the initialization or irq data structure was incomplete in case a SMC channel was used first and later a SCC one.
* 2000-05-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-2414-333/+308
| | | | | | | | | | | | | | | * mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c, r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c, tx39/include/tx3904.h: All exceptions were given low numbers and thus can be now be installed and processed in a uniform manner just like interrupts. Variances between various MIPS ISA levels are not accounted for at this time. * mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c, r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c, tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c, shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the shared maxvectors.c into a variety of CPU model specific versions to simplify the build process and reduce depdencies. Deleted shared/interrupts/maxvectors.c and created various CPU model versions.
* 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-242-2/+6
| | | | * clock/clock.S: Move placement of nop.
* 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>Joel Sherrill2001-05-228-389/+721
| | | | | | | | | | * Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>. * mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h, mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c, shared/interrupts/maxvectors.c: Now works. Significant rework of exceptions and interrupt vectoring to clean things up. * shared/interrupts/vectorexceptions.c: Removed. * shared/interrupts/Makefile.am: Reflects above.
* 2001-05-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-05-073-1/+97
| | | | | | * shared/interrupts/vectorexceptions.c: New file to decode exception code and vector appropriate NON-interrupt exception. * shared/interrupts/Makefile.am: Modified to reflect above.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-203-9/+51
| | | | | | | | | | * mongoosev/duart/mg5uart.c (mg5uart_enable_interrupts): Honor the other bits set in the Peripheral Function Interrupt Mask Register when modifying those enabled for the DUART. * mongoosev/include/mongoose-v.h (MONGOOSEV_ATOMIC_MASK, MONGOOSEV_PFICR, MONGOOSEV_PFIMR, mongoosev_set_in_pficr, mongoosev_clear_in_pficr, mongoosev_set_in_pfimr, mongoosev_clear_in_pfimr, MONGOOSEV_UART_ALL_IRQ_BITS): New macros.
* 2001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-163-17/+18
| | | | | | | | * mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov> as he debugged this BSP using a logic analyzer. In particular, there was a mistake where the index not offset of registers was in the header file and the baud rate calculation was incorrect.
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-066-1788/+8
| | | | | | | | * mpc8xx/vectors/.cvsignore, mpc8xx/vectors/Makefile.am, mpc8xx/vectors/README, mpc8xx/vectors/align_h.S mpc8xx/vectors/vectors.S: These files were removed in support of switching the mpc8xx to the use the "new exception processing model."
* 2001-03-30 Eric Valette <valette@crf.canon.fr>Joel Sherrill2001-04-0616-140/+720
| | | | | | | | | | | | | * mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am, mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h: New files. * configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, new_exception_processing/cpu.h, shared/include/byteorder.h, wrapup/Makefile.am: This is conversion of the mpc8xx CPU to the "new exception processing model."
* 2001-03-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-1421-3/+1614
| | | | | | | | | | | | | | | | * Added mongoose-v, mongoose-v/include, and mongoose-v/vectorisrs directories. * mongoosev/.cvsignore, mongoosev/Makefile.am, mongoosev/README, mongoosev/duart/.cvsignore, mongoosev/duart/Makefile.am, mongoosev/duart/README.mguart, mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c, mongoosev/include/.cvsignore, mongoosev/include/Makefile.am, mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/.cvsignore, mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/vectorisrs.c: New files. * Makefile.am, configure.in, shared/interrupts/Makefile.am, shared/interrupts/maxvectors.c: Added support for mongoosev. * tx39/vectorisrs/vectorisrs.c: Corrected warning.
* 2001-02-18 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-052-5/+11
| | | | * include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-18 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-052-5/+11
| | | | * include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-03-0512-32/+53
| | | | | | | | | | * mpc505/ictrl/Makefile.am, mpc6xx/clock/Makefile.am, mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am, mpc8xx/include/Makefile.am, new_exception_processing/Makefile.am, old_exception_processing/Makefile.am, pc403/ictrl/Makefile.am, shared/include/Makefile.am, shared/src/Makefile.am: Apply *_HEADERS instead of *H_FILES. * shared/src/.cvsignore: Add cache.h.
* 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-03-052-1/+5
| | | | * clock/Makefile.am: Apply *_HEADERS instead of *H_FILES.
* 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-03-054-8/+19
| | | | | * shared/cache/Makefile.am, tx39/include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-03-053-6/+15
| | | | | * m68040/fpsp/Makefile.am, shared/cache/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-03-055-8/+10
| | | | | | * i960ca/Makefile.am, i960ka/Makefile.am, i960rp/Makefile.am: Remove H_FILES. * include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de:Joel Sherrill2001-03-052-1/+5
| | | | * include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de:Joel Sherrill2001-03-052-2/+8
| | | | * include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de:Joel Sherrill2001-03-015-8/+19
| | | | | | * include/Makefile.am, syscall/Makefile.am, cache/Makefile.am: Apply include_*HEADERS instead of H_FILES. * cache/.cvsignore: Add cache.h.
* 2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-03-013-6/+15
| | | | | * Makefile.am: Apply include_*HEADERS instead of H_FILES. * .cvsignore: Add cache.h.
* 2001-01-22 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-01-222-7/+14
| | | | | * clock/ckinit.c (Install_clock): Modified MTU timer 0 initialization to generate an interrupt exactly every 1us
* 2001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-122-2/+2
| | | | | | | * r46xx/vectorisrs/vectorisrs.c (mips_get_cause): Corrected constraints from general to register. * tx39/vectorisrs/vectorisrs.c (mips_get_cause): Corrected constraints from general to register.
* 2001-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-089-2/+127
| | | | | | | | | * Added r46xx directory. * Makefile.am, configure.in: Modified to reflect addition of r46xx. * shared/interrupts/installisrentries.c: Fixed typo. * r46xx/.cvsignore, r46xx/Makefile.am, r46xx/vectorisrs/.cvsignore, r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/vectorisrs.c: New files.
* 2001-01-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-0526-709/+24
| | | | | | | | | * /dev/null moved to libmisc. * Makefile.am, configure.in: Removed null directory. * include/Makefile.am: Removed null.h. * include/null.h, null/.cvsignore, null/Makefile.am, null/close.c, null/cntrl.c, null/init.c, null/open.c, null/read.c, null/write.c: Removed.
* 2001-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-035-14/+65
| | | | | | | * new_exception_processing/cpu.h, old_exception_processing/cpu.c: old_exception_processing/cpu.h, Added _CPU_Initialize_vectors(). In particular, spurious vector initialization had to be moved on old exception processing model.
* 2000-12-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-192-1/+18
| | | | | | * tx39/vectorisrs/vectorisrs.c: Modified to have default exception vector handler. This should be in a separate file so the BSP can easily override it.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-133-0/+84
| | | | | | | | | | | | * configure.in: Added new directories. * shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39 when compiling for a TX3904. * shared/interrupts/maxvectors.c: Corrected conditional logic. * tx39/Makefile.am: Added vectorisrs. * tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c, * tx39/vectorisrs/.cvsignore: New files. This decodes the interrupt pending information on the TX3904 and vectors an interrupt.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-135-3/+22
| | | | | | | | | | | | * configure.in: Added new directories. * shared/interrupts/Makefile.am: Added AM_CPPFLAGS to define TX39 when compiling for a TX3904. * shared/interrupts/maxvectors.c: Corrected conditional logic. * tx39/Makefile.am: Added vectorisrs. * tx39/vectorisrs/Makefile.am, tx39/vectorisrs/vectorisrs.c, * tx39/vectorisrs/.cvsignore: New files. This decodes the interrupt pending information on the TX3904 and vectors an interrupt.
* 2000-12-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-1320-3/+396
| | | | | | | | | | | | | | | | | | * shared/.cvsignore, shared/Makefile.am, shared/cache/.cvsignore, shared/cache/Makefile.am, shared/cache/cache.c, shared/cache/cache_.h, shared/interrupts/.cvsignore, shared/interrupts/Makefile.am, shared/interrupts/installisrentries.c, shared/interrupts/isr_entries.S, shared/interrupts/maxvectors.c, tx39/.cvsignore, tx39/Makefile.am, tx39/include/.cvsignore, tx39/include/Makefile.am, tx39/include/tx3904.h: New file. Moved some pieces of interrupt processing from score/cpu to libcpu/mips since many interrupt servicing characteristics are CPU model dependent. This patch addresses the number of interrupt sources and where the ISR prologues are located. The only way to currently install the ISR prologues requires that the prologues be installed into RAM.