Commit Graph

4119 Commits

Author SHA1 Message Date
Joel Sherrill
ec5afe01a5 2001-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove subshell from *.a processing in librtemsall.a
	rule.
2001-01-05 13:40:42 +00:00
Joel Sherrill
60391a2c16 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* scitab/Makefile.am, startup/bspstart.c, configure.in: Removed
	rest of make-target-options and moved them to BSP configure options.
2001-01-05 13:38:20 +00:00
Joel Sherrill
96b2583fdd 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Changed <sh/null.h> to <rtems/devnull.h> to reflect
	the movement of this component to libmisc.
	* wrapup/Makefile.am: /dev/null driver is no longer in libcpu/sh.
2001-01-05 13:35:32 +00:00
Joel Sherrill
7a0a5531ef 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* console/vt.c: Added include of <rtems.h> so _CPU_ISR_disable
	would be visible.
2001-01-05 13:33:31 +00:00
Joel Sherrill
98e1de84a3 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* /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-05 13:31:04 +00:00
Joel Sherrill
85d03e28c7 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* devnull: New addition.  Moved from libcpu/sh.
	* devnull/devnull.c, devnull/devnull.h, devnull/.cvsignore,
	devnull/Makefile.am: New files.
	* Makefile.am, configure.in, wrapup/Makefile.am: Modified to reflect
	addition of above.
2001-01-05 13:26:51 +00:00
Joel Sherrill
0589f0b74b 2001-01-03 Emmanuel Raguet <raguet@crf.canon.fr>
* bootloader/Makefile.am: Modified to install bootloader so
	make-exe rule can avoid writing to install point or assuming
	BSP build tree is available.
2001-01-03 18:47:51 +00:00
Joel Sherrill
2e10f5131c 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* clockdrv_shell.c: Fixed syntax error in fast idle support.
2001-01-03 17:53:10 +00:00
Joel Sherrill
e177810d50 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c: Use shared clock driver shell.
	* console/console.c: Removed.  Now use shared polling shell.
	* console/console-io.c: New file.
	* console/Makefile.am: Correct to use shared polling shell.
	* startup/bspstart.c: Remove all fast idle references.
2001-01-03 17:52:36 +00:00
Joel Sherrill
90dccce216 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c: Removed unused variable initialized.
2001-01-03 17:50:04 +00:00
Joel Sherrill
dbe4dc9149 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c: Added console_initialize_hardware().
2001-01-03 16:54:52 +00:00
Joel Sherrill
5e67b98dfd 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* 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.
2001-01-03 16:45:52 +00:00
Joel Sherrill
e182c62027 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* clockdrv_shell.c: Added fast idle mode which is enabled by defining
	CLOCK_DRIVER_USE_FAST_IDLE.
	* console-polled.c: Added console_initialize_hardware() hook.
2001-01-03 16:44:17 +00:00
Joel Sherrill
60ab53a201 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Removed bad entry.
2001-01-03 16:43:17 +00:00
Joel Sherrill
1f2758872d 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c: Added console_initialize_hardware().
2001-01-03 16:43:16 +00:00
Joel Sherrill
0fd4a13317 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* clock/Makefile.am: Fixed reference to ckinit.c.
	* clock/clockdrv.c: Enabled fast idle.
	* console/console-io.c: Added console_initialize_hardware().
2001-01-03 16:42:59 +00:00
Joel Sherrill
7f9bee004e 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* start/start.S: Added space for vectors on CPU32 configuration.
	* startup/bspstart.c: Fixed typo.
2001-01-03 16:41:56 +00:00
Joel Sherrill
2ecb71532d 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* clock: New directory with stub clock driver.
	* clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c: New files.
	* Makefile.am, configure.in, wrapup/Makefile.am: Modified
	to reflect above.
2001-01-03 16:39:22 +00:00
Joel Sherrill
d6ea098b77 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
2001-01-03 16:37:08 +00:00
Joel Sherrill
fe7acdcf8b 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
	* cpu_asm.S: Modify to properly dereference _ISR_Vector_table
	now that it is dynamically allocated.
2001-01-03 16:36:23 +00:00
Joel Sherrill
9fd4f5c5c2 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
	* cpu_asm.S: Eliminated warning for duplicate definition of EXTERN.
2001-01-03 16:35:08 +00:00
Joel Sherrill
ac0043451d 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
	* cpu_asm.S: Modify to properly dereference _ISR_Vector_table
	now that it is dynamically allocated.
2001-01-03 16:32:23 +00:00
Joel Sherrill
0dd2ee71df 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Removed duplicate entry.
2001-01-03 16:31:51 +00:00
Joel Sherrill
effa65938f 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
2001-01-03 16:29:49 +00:00
Joel Sherrill
2d877aa6ec 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
2001-01-03 16:29:04 +00:00
Joel Sherrill
9094566e59 2001-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Added _CPU_Initialize_vectors().
2001-01-03 15:43:14 +00:00
Joel Sherrill
75ca1791fd 2001-01-02 Joel Sherrill <joel@OARcorp.com>
* CHANGELOG: Removed.
	* README: Merged CHANGELOG contents as initial changes.
2001-01-02 14:18:44 +00:00
Joel Sherrill
d4f0eefd43 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Set _VBR to 0 to indicate that the vectors are
	in RAM not ROM.  Thanks to Juan Zamorano <jzamora@fi.upm.es> for
	debugging this.
2000-12-19 18:24:00 +00:00
Joel Sherrill
7d18fdc120 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* 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-19 16:56:42 +00:00
Joel Sherrill
493fa933fe 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* timer/timer.c: Removed incorrect comments about ERC32.
2000-12-19 16:55:35 +00:00
Joel Sherrill
8f81248cb7 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* timer: New subdirectory.
	* timer/.cvsignore, timer/Makefile.am, timer/timer.c: New files.
	* tools/ChangeLog: New file.
2000-12-19 16:54:36 +00:00
Joel Sherrill
2ba9d3bdcc 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Added tools subdirectory and removed commented out line.
	* configure.in: Added tools subdirectory.
	* tools: New subdirectory.
	* tools/.cvsignore, tools/Makefile.am, tools/configure.in,
	tools/runtest: New files -- based on powerpc/psim.
	* clock/clockdrv.c: Guessed new value for clock tick.  Need to
	add fast idle support.
	* include/bsp.h: tm27 support initiated.
	* start/start.S: Fixed frame/endframe problems on _sys_exit.
	* startup/bspstart.c: Increased Workspace size to 4 MBYTES!
	* linkcmds: Increased Workspace size to 4 MBYTES!
	* Most tests appear to run correctly!
2000-12-19 16:53:13 +00:00
Joel Sherrill
6879633672 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Removed unneeded blank line.
2000-12-19 16:48:22 +00:00
Joel Sherrill
3b06e12baf 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* src/isr.c: Allocate the _ISR_Vector_table all the time not just when
	we are allocating an interrupt stack.
2000-12-19 16:47:47 +00:00
Joel Sherrill
87e8f25ad7 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S (_ISR_Handler): Return to the address in the EPC register.
	Previous code resulting in the interrupted immediately returning
	to the caller of the routine it was inside.
2000-12-19 16:46:29 +00:00
Joel Sherrill
3ad7c5d2f5 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* cpu.c (_CPU_Initialize): Do not initialize _ISR_Vector_table() here
	because it has not been allocated yet.
2000-12-19 16:44:59 +00:00
Joel Sherrill
c5333725bc 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Do not read or write raw interrupt vector table if
	we are on a CPU that does not have a %vbr register and the
	BSP is configured as having the table in ROM.
2000-12-19 16:43:34 +00:00
Joel Sherrill
8f4bddd9c0 2000-12-19 Joel Sherrill <joel@OARcorp.com>
* src/pthreadgetschedparam.c: Do not set output parameters if
	the pointers are NULL.
2000-12-19 16:42:15 +00:00
Joel Sherrill
da8d470c45 2000-12-14 Joel Sherrill <joel@OARcorp.com>
* network/network.c: Removed unused variable warnings.
2000-12-14 19:38:51 +00:00
Joel Sherrill
8c4c223897 2000-12-14 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added comment on 68en302 now that there is a network driver.
2000-12-14 17:55:48 +00:00
Joel Sherrill
8b868a11d9 2000-12-11 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, configure.in, include/Makefile.am,
	wrapup/Makefile.am: Updated to reflect addition of network driver
	by  Franck Julien <FranckJ@cxr.fr>.
	* include/m302_int.h, network/.cvsignore, network/Makefile.am,
	network/network.c: New file.
2000-12-14 17:53:53 +00:00
Joel Sherrill
407bc8c9ee 2000-12-14 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Added write capability.
2000-12-14 14:12:19 +00:00
Joel Sherrill
40323b5b37 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* 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 22:33:49 +00:00
Joel Sherrill
7a677fd7d3 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* README: Updated.  We are now vectoring a clock tick ISR handler.
	But RTEMS is not returning from the ISR properly.
	* clock/clockdrv.c: Now causes interrupts but has not been calibrated.
	* include/bsp.h: Use <libcpu/tx3904.h>
	* startup/Makefile.am: Add setvec.c from shared.
	* startup/bspstart.c: Initialize the status register (SR) so
	no interrupts are masked but global interrupts (SR_IEC) are off.
	Added call to install the ISR prologue code.
	* wrapup/Makefile.am: Pick up more pieces from libcpu.
2000-12-13 22:16:28 +00:00
Joel Sherrill
9928d0887d 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/isr.h, src/isr.c: Allocate it from the
	workspace rather than explicitly declaring it.  This allows
	the size to be a non-constant from the perspective of score/cpu.
2000-12-13 22:13:32 +00:00
Joel Sherrill
797d88ba31 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed duplicate declaration for _ISR_Vector_table.
	* cpu_asm.S: Removed assembly language to vector ISR handler
	on MIPS ISA I.  Now call mips_vector_isr_handlers() in libcpu or BSP.
	* rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): No
	longer a constant -- get the real value from libcpu.
2000-12-13 22:12:06 +00:00
Joel Sherrill
0289674755 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* 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 22:10:07 +00:00
Joel Sherrill
32f415dc50 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.h: Removed.
	* Makefile.am: Remove cpu_asm.h.
	* rtems/score/mips64orion.h: Renamed mips.h.
	* rtems/score/mips.h: New file, formerly mips64orion.h.
	Header rewritten.
	(mips_get_sr, mips_set_sr, mips_enable_in_interrupt_mask,
	mips_disable_in_interrupt_mask): New macros.
	* rtems/score/Makefile.am: Reflect renaming mips64orion.h.
	* asm.h: Include <mips.h> not <mips64orion.h>. Now includes the
	few defines that were in <cpu_asm.h>.
	* cpu.c (_CPU_ISR_Get_level): Added MIPS ISA I version of this routine.
	MIPS ISA 3 is still in assembly for now.
	(_CPU_Thread_Idle_body): Rewrote in C.
	* cpu_asm.S: Rewrote file header.
	(FRAME,ENDFRAME) now in asm.h.
	(_CPU_ISR_Get_level): Removed ISA I version and rewrote in C.
	(_CPU_ISR_Set_level): Removed ISA I version and rewrote in C.
	(_CPU_Context_switch): MIPS ISA I now manages preserves SR_IEC and
	leaves other bits in SR alone on task switch.
	(mips_enable_interrupts,mips_disable_interrupts,
	mips_enable_global_interrupts,mips_disable_global_interrupts,
	disable_int, enable_int): Removed.
	(mips_get_sr): Rewritten as C macro.
	(_CPU_Thread_Idle_body): Rewritten in C.
	(init_exc_vecs): Rewritten in C as mips_install_isr_entries() and
	placed in libcpu.
	(exc_tlb_code, exc_xtlb_code, exc_cache_code, exc_norm_code): Moved
	to libcpu/mips/shared/interrupts.
	(general): Cleaned up comment blocks and #if 0 areas.
	* idtcpu.h: Made ifdef report an error.
	* iregdef.h: Removed warning.
	* rtems/score/cpu.h (CPU_INTERRUPT_NUMBER_OF_VECTORS): Now a variable
	number defined by libcpu.
	(_CPU_ISR_Disable, _CPU_ISR_Enable): Rewritten to use new routines
	to access SR.
	(_CPU_ISR_Set_level): Rewritten as macro for ISA I.
	(_CPU_Context_Initialize): Honor ISR level in task initialization.
	(_CPU_Fatal_halt): Use new _CPU_ISR_Disable() macro.
2000-12-13 18:09:48 +00:00
Joel Sherrill
0ef748fb45 2000-12-12 Jake Janovetz <janovetz@uiuc.edu>
*  src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files.
	* src/imfs/Makefile.am, src/imfs/imfs.h,
	src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c,
	src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c,
	src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs".
	This is not really a tar filesystem.  It is a way to load a tar
	image into the IMFS but actually leave bulky file contents in the
	original tar image.  It essentially adds the linear file type and
	associated support and a loader routine.
2000-12-13 17:53:55 +00:00
Joel Sherrill
b4d0d18eed 2000-12-13 Joel Sherrill <joel@OARcorp.com>
* 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.
2000-12-13 17:52:53 +00:00