Commit Graph

623 Commits

Author SHA1 Message Date
Sebastian Huber
2f61eb210c bsp/qoriq: Add struct qoriq to allow forward decls 2018-09-06 07:04:35 +02:00
Sebastian Huber
54d87f2e52 bsps/powerpc: Simplify ppc_exc_initialize()
Remove parameters from ppc_exc_initialize() since all BSPs passed the
same values.

Update #3459.
2018-09-06 07:04:28 +02:00
Sebastian Huber
9a21fc7383 bsp/mpc55xxevb: Fix format warning
Close #3504.
2018-09-05 07:38:47 +02:00
Sebastian Huber
ccdce9d8f6 libchip/ata: Fix ATA_DRIVER_TABLE_ENTRY
Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY.

Update #3358.
Close #3510.
2018-09-05 07:34:00 +02:00
Sebastian Huber
fad3f79b88 bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack.  The interrupt
stacks are now allocated by the linker.

Update #3459.
2018-09-03 07:03:09 +02:00
Joel Sherrill
66e788547e Remove bsps/sparc64/shared/helenos/boot/generic/string.c 2018-08-29 12:52:12 -05:00
Joel Sherrill
5da159312c psim/include/tm27.h: Fix not a prototype warnings 2018-08-29 12:52:11 -05:00
Joel Sherrill
a8d3f10f6f mvme5500/include/tm27.h: Fix not a prototype warnings 2018-08-29 12:52:11 -05:00
Joel Sherrill
a5c3bfbc60 uC5282/clock/clock.c: Correct bsp_idle_thread() prototype 2018-08-29 12:52:11 -05:00
Joel Sherrill
34e959fa86 gen68340/include/m340timer.h: Fix not a prototype warnings 2018-08-29 12:52:10 -05:00
Joel Sherrill
76ac42ff9a lpc32xx/include/bsp.h: Resolve set but not used warning 2018-08-29 12:52:10 -05:00
Joel Sherrill
350b07a036 monlib.[ch]: Fix warnings for external vs internal use of .h 2018-08-29 12:52:10 -05:00
Joel Sherrill
60702abaf2 qoriq/include/tm27.h: Fix warnings 2018-08-29 12:52:09 -05:00
Joel Sherrill
126a4544cc gen5200/include/tm27.h: Fix warnings 2018-08-29 12:52:09 -05:00
Joel Sherrill
c80f5afcb3 mpc55xxevb/clock/clock-config.c: Remove unused mpc55xx_clock_cleanup() method 2018-08-29 12:52:09 -05:00
Joel Sherrill
76b3f8c3f0 gen5200/include/bsp/bestcomm.h: Fix unused variable warning 2018-08-29 12:52:09 -05:00
Joel Sherrill
bb6eeabf8d bsps/i386/shared/cache/cache.c: Fix warnings 2018-08-29 12:52:08 -05:00
Joel Sherrill
c2e8ed6c81 gdbarmsim/include/bsp.h: Fix warnings 2018-08-29 12:52:08 -05:00
Joel Sherrill
cba349cf30 bsps/m68k/shared/cache/cache.h: Fix warnings and clean up 2018-08-29 12:52:08 -05:00
Sebastian Huber
a6fca762b6 bsp/qoriq: Remove README
Update #2854.
2018-08-29 07:46:54 +02:00
Daniel Hellstrom
408fad38f8 leon,grspw_pkt: remove incorrect comment on SMP not being tested
To clarify, SMP with GRSWP_PKT driver API has been extended to
take advantage of multi-core, is now SMP-safe, and has been tested
on GR740.
2018-08-24 15:51:39 +02:00
Daniel Hellstrom
aea3134ea9 leon,apbuart: replace termios c_cflag & CBAUD with c_{i,o}speed
ince some time RTEMS started to use the termios c_ispeed and
c_ospeed variables in the termios struct to hold the UART baudrate.
However the APBUART driver still uses the old c_cflag sometimes
causing other UART parameters to get overwritten, for example the
partiy setting no mapped to the same bits as the old CBAUD mask.

At the same time the RTEMS primitievs for setting/reading
c_{i,o}speed is now used.
2018-08-24 15:51:39 +02:00
Daniel Hellstrom
243ddb52b3 leon,greth: enable MAC filtering (promiscous mode, multicast)
It enabled promiscous mode or sets the multicast filter according
to the configuration and parameters to ioctl(SIOCSIFFLAGS),
ioctl(SIOCADDMULTI) and ioctl(SIOCDELMULTI).
On SIOCADDMULTI/SIOCDELMULTI requests the greth ioctl calls the
Ethernet helper functions ether_addmulti()/ether_delmulti() which
tells the greth driver when its required to update the MAC multicast
filtering.

The interface notifies support for multicast by setting IFF_MULTICAST.

The GRETH has two registers which contains a bit-mask of allowed MAC
addresses. The incomming MAC address is CRC:ed and the CRC is used as
an index into the bit-mask to determine to allow or drop the frame.
2018-08-24 15:51:39 +02:00
Daniel Hellstrom
2fbe2ef3ea leon, greth: 10/100 MAC enable TX BD interrupt
Missed to enable interrupt per TX descriptor. Could lead to TX buffer
starvation.

Does not affect the GBit code.
2018-08-24 15:51:39 +02:00
Daniel Hellstrom
a87964d04f sparc,smp: typo in start.S causing SMP not working 2018-08-24 15:51:38 +02:00
Sebastian Huber
2cd3716103 bsps/arm: Fix PL111 register define re-definition
Close #3502.
2018-08-20 08:36:31 +02:00
Amaan Cheval
bc7313134f bsps/x86_64: Add APIC timer based clock driver
The APIC timer is calibrated by running the i8254 PIT for a fraction of a
second (determined by PIT_CALIBRATE_DIVIDER) and counting how many times the
APIC counter has ticked. The calibration can be run multiple times (determined
by APIC_TIMER_NUM_CALIBRATIONS) and averaged out.

Updates #2898.
2018-08-13 10:48:20 -05:00
Amaan Cheval
686932125d bsps/x86_64: Add support for RTEMS interrupts
Updates #2898.
2018-08-13 10:48:20 -05:00
Amaan Cheval
4544749e3c bsps/x86_64: Add paging support with 1GiB super pages
Updates #2898.
2018-08-13 10:48:20 -05:00
Amaan Cheval
6eccd0c7e7 bsps/x86_64: Reduce default RamSize to 1GiB
Simulators may not always be able to allocate 4GiB easily, and using an
artificially lower RAM may cause a broken heap.

Updates #2898.
2018-08-13 10:48:20 -05:00
Amaan Cheval
ab971bf5e3 bsps/x86_64: Reorganize header files and compile-options
Updates #2898.
2018-08-13 10:48:20 -05:00
Joel Sherrill
b3693f5d6d bsps/sparc/include/bsp/gradcdac.h: Fix nested comment warning 2018-08-10 08:24:28 -05:00
Joel Sherrill
d071d9a17a qoriq/include/tm27.h: Fix prototype warning 2018-08-10 08:24:28 -05:00
Joel Sherrill
ebd19374c5 motorola_powerpc/include/tm27.h: Fix prototype warning 2018-08-10 08:24:28 -05:00
Joel Sherrill
3cff531fa0 bsps/powerpc/include/mpc83xx/mpc83xx.h: Fix nested comment warning 2018-08-10 08:24:28 -05:00
Joel Sherrill
5896da452c bsps/powerpc/include/bsp/tictac.h: Fix protototype warnings 2018-08-10 08:24:27 -05:00
Joel Sherrill
ae4fbf3b4f gen83xx/include/tm27.h: Fix prototype warning 2018-08-10 08:24:27 -05:00
Joel Sherrill
ec8c955d3e gen5200/include/tm27.h: Fix prototype warning 2018-08-10 08:24:27 -05:00
Joel Sherrill
7de5182999 gen5200/include/bsp/ata.h: Fix warning 2018-08-10 08:24:27 -05:00
Joel Sherrill
0fc87d4785 csb337/include/at91rm9200_dbgu.h: Fix nested comment warning 2018-08-10 08:24:26 -05:00
Sebastian Huber
0e6f7dc4c4 bsps/sparc: Fix external variable declarations 2018-08-10 07:14:43 +02:00
Sebastian Huber
f4424cfb49 bsps/sparc: Move polled APBUART functions
This reduces the link-time dependencies and avoids copy-and-paste.
2018-08-10 07:14:43 +02:00
Christian Mauderer
8e6cfccf8c bsp/atsam: Fix handling of slow SPI speeds.
This patch fixes an overflow in the frequency calculation of the SPI
driver for slow SPI speeds.
2018-08-09 08:37:38 +02:00
Sebastian Huber
1836c6a456 bsp/gen5200: Avoid deprecated routine
Update #3358.
2018-08-07 07:17:18 +02:00
Sebastian Huber
f7cecc3308 libchip/ata: Use rtems_blkdev_create()
Update #3358.
2018-08-07 07:17:18 +02:00
Sebastian Huber
d279e747a7 bsp/smdk2410: Use rtems_blkdev_create()
Update #3358.
2018-08-07 07:17:17 +02:00
Sebastian Huber
1dec54f90c bsps/lm32: Use rtems_blkdev_create()
Update #3358.
2018-08-07 07:17:17 +02:00
Sebastian Huber
32ccc016d8 bsps: Fix the generic IRQ support
The genmcf548x partly uses is own implementation of the interrupt
extension API for libbsd support.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-08-03 14:14:19 +02:00
Sebastian Huber
141d502b52 bsp/riscv: Add missing BSP variant
Update #3433.
2018-08-02 15:33:00 +02:00
Sebastian Huber
4c740de6e2 bsp/riscv: Fix build with RTEMS_SMP undefined
Update #3433.
2018-08-02 14:13:25 +02:00