Commit Graph

26863 Commits

Author SHA1 Message Date
Joel Sherrill
b587a200ee m68k/mcf5329/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:56 -05:00
Joel Sherrill
736abcf15f m68k/mcf5235/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:56 -05:00
Joel Sherrill
31ca050714 m68k/mcf5225x/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:56 -05:00
Joel Sherrill
bb9448bc82 m68k/idp/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:56 -05:00
Joel Sherrill
527a08bab7 m68k/av5282/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
2a6fd65e56 bfin/eZKit533/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
7307eb148a bfin/bf537Stamp/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
d37ec8d8e9 arm/gba/startup/bspgetworkarea.c: Fix warning 2014-10-09 10:11:55 -05:00
Joel Sherrill
04bafb5395 bfin/TLL6527M/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
ba1d939e89 arm/shared/abort/abort.c: Fix warnings and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
8aec7f5177 arm/lpc24xx/misc/system-clocks.c: Fix warning 2014-10-09 10:11:55 -05:00
Joel Sherrill
d52494ec8f arm/lm3s69xx/startup/bspstart.c: Add include of <bsp/bootcard.h> to fix warning 2014-10-09 10:11:55 -05:00
Joel Sherrill
bcc6c700c0 arm/gdbarmsim/irq/irq.c: Fix warnings 2014-10-09 10:11:55 -05:00
Joel Sherrill
1a829d3ac8 arm/gdbarmsim/include/irq.h: Fix spacing 2014-10-09 10:11:55 -05:00
Joel Sherrill
237b34648c arm/gba/irq/irq.c: Fix warnings and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
27144f447a arm/gba/clock/clockdrv.c: Fix warnings and clean up 2014-10-09 10:11:55 -05:00
Joel Sherrill
461f9f4882 nios2-iic-irq.c: Fix warnings 2014-10-09 10:11:55 -05:00
Joel Sherrill
905b656c5b nios2-iic-irq.c: Include <rtems/score/interr.h> so it builds 2014-10-09 10:11:54 -05:00
Joel Sherrill
4e8de7e72a libcpu/powerpc/mpc6xx/clock/c_clock.c: Fix warning and clean up 2014-10-09 10:11:54 -05:00
Joel Sherrill
9073f554f8 libbsp/shared/console-polled.c: Fix warning 2014-10-09 10:11:54 -05:00
Joel Sherrill
56c6888bba libbsp/shared/clockdrv_shell.h: Fix warning 2014-10-09 10:11:54 -05:00
Joel Sherrill
0dae39033e libbsp/v850/shared/crt1.c: Remove warnings 2014-10-09 10:11:54 -05:00
Joel Sherrill
780eab400d libcpu/powerpc/mpc8xx/clock: Fix warnings and clean up 2014-10-09 10:11:54 -05:00
Joel Sherrill
46e72c8d5a sparc64/shared/clock/ckinit.c: Clean up formatting 2014-10-09 10:11:54 -05:00
Daniel Hellstrom
44bbee0984 LEON: let termios layer handle \n also in polling 2014-10-09 13:19:41 +02:00
Daniel Hellstrom
b4cebd0560 LEON: console print \r\n instead of \n\r 2014-10-09 13:19:41 +02:00
Daniel Hellstrom
a387e944f8 LEON3: use interrupt layer in clock driver
Manupilating the interrupt control registers directly instead
of going through the interrupt layer can be deceiving.
2014-10-09 13:19:40 +02:00
Daniel Hellstrom
6aacf085b8 SPARC BSPs: irq-shared.c code style clean-up 2014-10-09 13:19:40 +02:00
Daniel Hellstrom
fad33860ae LEON3 SMP: support static interrupt affinity
Changed LEON3_irq-mp to const also.
2014-10-09 13:18:01 +02:00
Daniel Hellstrom
fa40ec5288 SPARC BSPs: added CPU aware interrupt ctrl operations
The LEON2 and ERC32 maps the new macros to CPU0 since they do not
support SMP. With the LEON3 a specific CPU's interrupt controller
registers can be modified using macros.
2014-10-09 09:07:22 +02:00
Sebastian Huber
33ba808288 bsps/mcf5235: Fix warnings 2014-10-09 07:50:37 +02:00
Sebastian Huber
cf7df0e67a bsps/mcf548x: Fix warnings 2014-10-09 07:50:37 +02:00
Sebastian Huber
2734617ab6 bsps/mcf548x: Fix warnings 2014-10-09 07:50:37 +02:00
Sebastian Huber
16ed8f7bdf bsps/mcf548x: Fix warnings 2014-10-09 07:50:36 +02:00
Sebastian Huber
1d3025b5e7 bsp/genmcf548x: Fix warning 2014-10-09 07:50:36 +02:00
Sebastian Huber
3e1bf786bd ppp: PR1943: Avoid NULL pointer access
Waiting for mbufs at this level is a bad solution.  It would be better
to try to allocate a new mbuf chain before we hand over the current mbuf
chain to the upper layer.  In case the allocation fails we should drop
the current packet and use its mbuf chain for a new packet.
2014-10-08 11:55:15 +02:00
Sebastian Huber
22cd2821de IMFS: Avoid NULL pointer access
Avoid NULL pointer access in IMFS_is_imfs_instance().  File systems
mounted via mount() always have a valid type string.
2014-10-08 11:26:27 +02:00
Sebastian Huber
b9f952254b posix: Add auto initializaton for rwlock 2014-10-08 11:26:27 +02:00
Sebastian Huber
dfdad6ab1d posix: Fix mutex auto initialization
Use the once lock to prevent race conditions during auto initialization.
2014-10-08 11:26:27 +02:00
Sebastian Huber
419accf6a6 posix: Use function instead of macros 2014-10-08 11:26:26 +02:00
Sebastian Huber
044cf4d713 ppp: Add ppp_unit()
This makes porting to the new network stack easier.
2014-10-08 08:12:24 +02:00
Sebastian Huber
77dd9a4f8a ppp: Nothing to transmit hint for Termios driver 2014-10-07 16:35:20 +02:00
Sebastian Huber
8a9bdc565f libchip/serial: Task driven mode for NS16550 2014-10-07 16:35:20 +02:00
Sebastian Huber
2fd3e65fac libchip/serial: Fix NS16550 for pppstart()
Call rtems_termios_dequeue_characters() only in case all characters of
the last write handler invocation have been transmitted.  This avoids
problems with pppstart() since the start line discipline does not know
how many characters have been dequeued and assumes the maximum.
2014-10-07 16:35:20 +02:00
Sebastian Huber
6ec438e8a3 libchip/serial: Add alternative NS16550 driver
Use the Termios device API.
2014-10-07 16:35:20 +02:00
Sebastian Huber
d5cc923fea bsps: Add Termios console driver initialization
Add a simple Termios console driver using a table for statically
registered devices used in console_initialize() and dynamic installation
via console_device_install().
2014-10-07 16:35:20 +02:00
Sebastian Huber
7fd5e89c96 termios: Partially hide rtems_termios_tty
Move interrupt lock to device context and expose only this structure to
the read, write and set attributes device handler.  This makes these
device handler independent of the general Termios infrastructure
suitable for direct use in printk() support.
2014-10-07 16:35:13 +02:00
Sebastian Huber
a830cb864d termios: Separate flow control from normal handler 2014-10-07 16:27:51 +02:00
Sebastian Huber
ff7217b2f0 termios: Fix transmit daemon
Do not call rtems_termios_refill_transmitter() in case a PPP line
discipline is present.  This is similar to
rtems_termios_dequeue_characters().
2014-10-07 15:09:47 +02:00
Daniel Hellstrom
74f5eaffb9 erc32,leon2: replace bsp_reset with SPARC fatal handler
Now that a SPARC fatal handler is defined, we no longer
need the BSP specific reset routine.
2014-10-06 14:52:16 +02:00