Commit Graph

23332 Commits

Author SHA1 Message Date
Ralf Corsepius
e6db5073f9 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_ls.c: Comment out unused var kflag.
2011-10-17 12:57:11 +00:00
Ralf Corsepius
c145d73986 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* ne2000/ne2000.c: Remove unused var "stat".
2011-10-17 12:37:24 +00:00
Ralf Corsepius
8fd5081a7f 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/ualarm.c: Make _POSIX_signals_Ualarm_TSR static.
2011-10-17 12:25:35 +00:00
Ralf Corsepius
f1e608864d 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/rtc/icm7170.c (icm7170_get_time): Remove unused var setReg.
	* libchip/rtc/icm7170.c (icm7170_set_time): Remove unused var getReg.
2011-10-17 11:56:31 +00:00
Ralf Corsepius
7d49b04f11 Whitespace fixes. 2011-10-17 11:40:02 +00:00
Ralf Corsepius
6e9634614b 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/pthread01.c, psxhdrs/pthread02.c, psxhdrs/pthread03.c,
	psxhdrs/pthread04.c, psxhdrs/pthread05.c, psxhdrs/pthread06.c,
	psxhdrs/pthread07.c, psxhdrs/pthread09.c, psxhdrs/pthread10.c,
	psxhdrs/pthread11.c, psxhdrs/pthread12.c, psxhdrs/pthread13.c,
	psxhdrs/pthread14.c, psxhdrs/pthread15.c, psxhdrs/pthread16.c,
	psxhdrs/pthread17.c, psxhdrs/pthread18.c, psxhdrs/pthread19.c,
	psxhdrs/pthread20.c, psxhdrs/pthread21.c, psxhdrs/pthread22.c,
	psxhdrs/pthread23.c, psxhdrs/pthread24.c, psxhdrs/pthread25.c,
	psxhdrs/pthread26.c, psxhdrs/pthread27.c, psxhdrs/pthread28.c,
	psxhdrs/pthread29.c, psxhdrs/pthread30.c, psxhdrs/pthread34.c,
	psxhdrs/pthread35.c, psxhdrs/pthread36.c, psxhdrs/pthread37.c,
	psxhdrs/pthread38.c, psxhdrs/pthread39.c, psxhdrs/pthread40.c:
	Let test() return values (avoid warnings).
2011-10-17 11:39:04 +00:00
Ralf Corsepius
9620b6189f 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/cond01.c, psxhdrs/cond02.c, psxhdrs/cond03.c,
	psxhdrs/cond04.c, psxhdrs/cond05.c, psxhdrs/cond06.c,
	psxhdrs/cond07.c, psxhdrs/cond08.c, psxhdrs/cond09.c,
	psxhdrs/cond10.c: Let test() return values (avoid warnings).
2011-10-17 11:36:23 +00:00
Ralf Corsepius
38cc8d5385 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/mutex01.c, psxhdrs/mutex02.c, psxhdrs/mutex03.c,
	psxhdrs/mutex04.c, psxhdrs/mutex05.c, psxhdrs/mutex06.c,
	psxhdrs/mutex07.c, psxhdrs/mutex08.c, psxhdrs/mutex09.c,
	psxhdrs/mutex10.c, psxhdrs/mutex11.c, psxhdrs/mutex12.c,
	psxhdrs/mutex13.c, psxhdrs/mutex14.c, psxhdrs/mutex15.c,
	psxhdrs/mutex16.c: Let test() return values (avoid warnings).
2011-10-17 11:17:11 +00:00
Sebastian Huber
4f609eec67 2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/start-config.h, make/custom/lpc24xx_plx800_rom_int.cfg,
	startup/linkcmds.lpc24xx_plx800_rom_int,
	startup/start-config-emc-dynamic.c, startup/start-config-emc-static.c,
	startup/start-config-pinsel.c: New files.
	* Makefile.am, configure.ac, preinstall.am: Reflect changes above.
	* startup/bspstarthooks.c: Use configuration tables for EMC
	initialization.
2011-10-17 10:40:00 +00:00
Ralf Corsepius
a17ec5cbf2 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/proc01.c, psxhdrs/proc02.c, psxhdrs/proc03.c,
	psxhdrs/proc04.c, psxhdrs/proc05.c, psxhdrs/proc06.c,
	psxhdrs/proc07.c, psxhdrs/proc08.c, psxhdrs/proc09.c,
	psxhdrs/proc10.c, psxhdrs/proc11.c, psxhdrs/proc12.c,
	psxhdrs/proc13.c, psxhdrs/proc14.c:
	Let test() return values (avoid warnings).
2011-10-17 10:05:44 +00:00
Ralf Corsepius
f7870bfbfc Remove whitespaces. 2011-10-17 09:59:03 +00:00
Ralf Corsepius
d80b196e4c 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c,
	psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c,
	psxhdrs/sched07.c, psxhdrs/sched08.c:
	Let test() return values (avoid warnings).
2011-10-17 09:53:17 +00:00
Ralf Corsepius
e94ce2fd8e 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/signal01.c, psxhdrs/signal02.c, psxhdrs/signal03.c,
	psxhdrs/signal04.c, psxhdrs/signal05.c, psxhdrs/signal06.c,
	psxhdrs/signal07.c, psxhdrs/signal08.c, psxhdrs/signal09.c,
	psxhdrs/signal10.c, psxhdrs/signal11.c, psxhdrs/signal12.c,
	psxhdrs/signal13.c, psxhdrs/signal14.c, psxhdrs/signal15.c,
	psxhdrs/signal16.c, psxhdrs/signal17.c, psxhdrs/signal18.c,
	psxhdrs/signal19.c, psxhdrs/signal20.c, psxhdrs/signal21.c,
	psxhdrs/signal22.c, psxhdrs/signal23.c:
	Let test() return values (avoid warnings).
2011-10-17 07:18:21 +00:00
Ralf Corsepius
63f4be9999 2011-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/key01.c, psxhdrs/key02.c, psxhdrs/key03.c,
	psxhdrs/key04.c: Let test() return values (avoid warnings).
2011-10-15 09:19:50 +00:00
Ralf Corsepius
003999c44d 2011-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
	psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c:
	Let test() return values (avoid warnings).
2011-10-15 05:31:26 +00:00
Ralf Corsepius
03e0d9aa7f 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/signal23.c: Add comment to denote test as obsolete.
2011-10-13 17:20:11 +00:00
Ralf Corsepius
c1b890c8bd 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for size of mode_t.
	* psxfile01/test.c, psxstat/test.c: Include "primode.h".
	Use PRIomode_t to print mode_t.
2011-10-13 13:44:40 +00:00
Ralf Corsepius
7036ed0049 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/primode.h: New.
	* Makefile.am: Add support/include/primode.h
2011-10-13 13:08:12 +00:00
Ralf Corsepius
04a5c54911 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/uart.c: Remove unused var "tmp".
2011-10-13 12:18:39 +00:00
Sebastian Huber
053974f8b9 2011-10-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psxaio01/system.h, psxaio02/system.h, psxaio03/system.h: Do not use
	the stack checker.
2011-10-12 09:11:47 +00:00
Ralf Corsepius
2dc33993dd 2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/mouse/serial_mouse.c (serial_mouse_initialize):
	Remove unused var "status" (Avoid warnings).
2011-10-12 04:50:34 +00:00
Ralf Corsepius
9ab1039db7 2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
	(avoid warnings).
2011-10-12 04:21:57 +00:00
Ralf Corsepius
077184fd50 2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/time01.c, psxhdrs/time02.c, psxhdrs/time03.c,
	psxhdrs/time04.c, psxhdrs/time05.c, psxhdrs/time06.c,
	psxhdrs/time07.c, psxhdrs/time08.c, psxhdrs/time09.c,
	psxhdrs/time10.c, psxhdrs/time11.c, psxhdrs/time12.c,
	psxhdrs/time13.c: Let test() return values (avoid warnings).
2011-10-12 04:19:11 +00:00
Ralf Corsepius
e7edd55890 2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
	psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
	psxhdrs/timer07.c: Let test() return values (avoid warnings).
2011-10-12 04:15:32 +00:00
Ralf Corsepius
764d531b3b 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c,
	libcsupport/include/rtems/termiostypes.h (rtems_termios_puts):
	Use size_t for buffer size.
2011-10-11 07:57:46 +00:00
Ralf Corsepius
d1dbd228d3 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111.c: Eliminate unused var "success".
2011-10-11 05:19:13 +00:00
Ralf Corsepius
b4fe8c305d Fix changelog entry. 2011-10-11 05:17:46 +00:00
Ralf Corsepius
7095f9f84c 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/mc68681.c: Eliminate unused var "success".
2011-10-11 04:56:22 +00:00
Ralf Corsepius
a39985713f 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/z85c30.c: Eliminate unused var "dummy".
2011-10-10 08:37:28 +00:00
Sebastian Huber
fcec9c4caa 2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc567x.h: Added EQADC as an alias to EQADC_A.
2011-10-10 08:37:07 +00:00
Sebastian Huber
e2d3e37192 2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1928/bsps:
	* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
	* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
2011-10-10 08:22:27 +00:00
Ralf Corsepius
48943dc195 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs_mknod.c: Remove const cast.
	* libfs/src/imfs/ioman.c: Remove const cast.
	* libfs/src/devfs/devfs.h: Make device_name a const char*.
	* sapi/include/rtems/io.h: Make device_name a const char*.
2011-10-10 07:11:26 +00:00
Ralf Corsepius
87f4e9ba56 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Remove meaningless typecast.
2011-10-10 03:47:56 +00:00
Ralf Corsepius
a32a86e758 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/sonic.c: Don't cast pointers to uint32_t.
2011-10-10 02:12:46 +00:00
Ralf Corsepius
1f25c77783 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/greth.c, libchip/network/open_eth.c
	libchip/network/sonic.c: Eliminate evil typecasts.
	* libchip/network/greth.h, libchip/network/open_eth.h,
	libchip/network/sonic.h: Use void* for addresses.
2011-10-09 15:37:53 +00:00
Ralf Corsepius
764e0a752d 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar):
	Remove duplicate decls.
2011-10-09 03:59:21 +00:00
Joel Sherrill
47a61aa16f 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>
PR 1933/cpukit
	* shared/irq_asm.S: From code inspection I have found the following
	issues (most SMP), and some improvements in irq_asm.S. I would need a
	long test with interrupts to verify the interrupt handler better,
	however I can not see that these patches hurt. Please see comment per
	hunk below, One should go through the file to indent delay-slots
	correctly, I have fixed some in the patch areas. An extra space is
	added in front of delay slots to indicate a delay slot.
2011-10-07 14:35:03 +00:00
Joel Sherrill
8f582bc637 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>
PR 1932/cpukit
	* cpu_asm.S: At some point the interrupt trap handler causes a
	window-overflow and the window overflow trap handler crashes when
	writing to 0. I found that this is because the WIM was bad, to the
	window overflow handler uses a uninitialized stack pointer in a
	window never used.
	 * g3=CWP, not WIM
	 * CWP is incremented by done_flushing no need doing that here also
	 * I see no reason to create an additional stack frame (save)
	 * Must turn off traps when updating WIM (maybe already done by caller?)
2011-10-07 14:31:44 +00:00
Ralf Corsepius
591e964eb8 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/startup/bspstart.c: Comment out unused vars.
2011-10-07 14:29:38 +00:00
Joel Sherrill
100446d412 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>
PR 1931/cpukit
	* score/src/percpu.c: The stack must be aligned to CPU alignment
	requirement.
2011-10-07 14:29:19 +00:00
Ralf Corsepius
5191d84995 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console/console.c: Remove stray local decl of "close".
2011-10-07 14:25:31 +00:00
Ralf Corsepius
742c140497 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/threadhandler.c: Don't undefine __USE_INIT_FINI__ for
	the avr.
2011-10-07 11:06:21 +00:00
Ralf Corsepius
6ae51d2e96 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/rtl22xx_t.cfg: Remove USE_THUMB (Violates *.cfg
	conventions, unused).
2011-10-07 11:00:48 +00:00
Ralf Corsepius
968ff5bbd3 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
2011-10-07 09:58:39 +00:00
Ralf Corsepius
7eb31ec936 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ppc403/clock/clock.c (Install_clock): Remove unused var "pvr".
2011-10-07 09:55:46 +00:00
Ralf Corsepius
16b1599ffb 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* capture/init.c: Declare notification only if being used.
2011-10-07 09:39:53 +00:00
Ralf Corsepius
da30d6c009 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/memfile.c (memfile_ioctl): Remove unused var
	"the_jnode".
2011-10-07 09:36:35 +00:00
Ralf Corsepius
c3178737d0 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* new-exceptions/bspsupport/ppc_exc_prologue.c
	(ppc_exc_create_branch_op): Comment out unused var "BRANCH_OP_LINK".
2011-10-07 09:18:24 +00:00
Ralf Corsepius
c6d8f9970e 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc5xx/clock/clock.c: Make BSP_disconnect_clock_handler decl a
	prototype.
2011-10-07 09:15:21 +00:00
Ralf Corsepius
4960b2928d 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1928/bsps:
	* mpc55xx/include/fsl-mpc567x.h (struct FLASH_tag): Extend SIZE to 4
	bits.
2011-10-07 08:41:45 +00:00