summaryrefslogtreecommitdiffstats
path: root/c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-22sparc: Optimize CPU counter supportSebastian Huber3-15/+6
2016-06-22Move printer initialization to separate headerSebastian Huber2-1/+2
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
2016-06-22Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2-1/+2
2016-06-21bsp/tms570: regenerate preinstall makefile by bootstrap -p.Pavel Pisa1-0/+8
2016-06-21bsp/tms570: include complete peripheral initialization to SCI driver.Pavel Pisa1-2/+36
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2016-06-21bsp/tms570: update pinmux to provide support for initialization lists and ↵Pavel Pisa4-69/+196
clear of alt outputs.
2016-06-21bsp/tms570: include package balls and PINMMR registers mapping for ↵Pavel Pisa2-0/+700
TMS570LS3135ZWT chip.
2016-06-21bsp/leon3: Add up counter timecounterSebastian Huber2-7/+36
2016-06-21bsp/leon3: Fix interrupt timestampingSebastian Huber1-20/+35
Close #2684.
2016-06-21sparc: Rework CPU counter supportSebastian Huber6-71/+120
Rework CPU counter support to enable use of the GR740 up-counter via %asr22 and %asr23.
2016-06-21bsp/leon3: Fix LEON3_Cpu_Index initializationSebastian Huber3-4/+14
2016-06-20arm/raspberrypi: Ensure that buffers used for VC mail box communication are ↵Pavel Pisa2-7/+56
synchronized through cache.
2016-06-20bsp/leon3: Use sysinit for bsp_debug_uart_init()Sebastian Huber3-7/+8
2016-06-20bsp/leon3: Use sysinit for amba_initialize()Sebastian Huber3-8/+8
2016-06-17bsps: Fix printk() format warningSebastian Huber1-1/+1
2016-06-17bsps: Fix MPCI_Fatal() prototypeSebastian Huber2-4/+4
Close #2742.
2016-06-16libchip/shmdr/send.c: Fix warning and clean upJoel Sherrill1-15/+21
2016-06-16libchip/shmdr/poll.c: Fix warning and clean upJoel Sherrill1-5/+8
2016-06-16mvme147s/shmsupp/mpisr.c: Fix warnings and clean upJoel Sherrill1-12/+10
2016-06-16mvme147s/shmsupp/getcfg.c: Fix warningJoel Sherrill1-1/+1
2016-06-14bsps: Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSORSebastian Huber3-7/+31
Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR clock driver option. If defined, then do the clock tick processing on the boot processor on behalf of all other processors. Currently, this is intended as a workaround for a Qemu shortcoming on ARM. Update #2737.
2016-06-13bsp/qoriq: Increase reserved size for FDTSebastian Huber1-1/+1
Some boards require this size.
2016-06-13bsp/irq-server: Fix install/removeSebastian Huber1-135/+173
Do not wait for the interrupt server while owning the allocator lock. This could lead to deadlock in case one of interrupt service routines or user extensions want to obtain the allocator mutex as well. Instead let the interrupt server do the install/remove job entirely on behalf of the requesting task.
2016-06-09bsps/powerpc: Update to RTEMS printer changesSebastian Huber1-8/+8
2016-06-06bsp/atsam: Support QSPI flashAlexander Krutwig7-5/+65
2016-06-06atsam: Fix network interface PHY handlingAlexander Krutwig2-67/+52
Close #2685.
2016-05-31arm/raspberrypi: add fbcons support for rpi bspYANG Qiao8-2/+362
2016-05-31arm/raspberrypi: add video outchar support for rpi bspYANG Qiao4-0/+5109
2016-05-31arm/raspberrypi: move MMU in front of application image to respect variable ↵Pavel Pisa4-4/+83
memory size. The page table is placed at address 0x00004000 which provides required 16 kB space till the start of application image. The RAM size specified in a linker script is upper limit address of RAM utilized for the work area initialization. If VideoCore reports to use lower address than expected then work area size is adjusted (shrinked) appropriately.
2016-05-31arm/raspberrypi: add VideoCore framebuffer without initializationYANG Qiao4-0/+469
2016-05-31arm/raspberrypi: Raspberry Pi v2 ALLOCATE_BUFFER VC4 operation returns ↵Pavel Pisa1-0/+4
direct address.
2016-05-31arm/raspberrypi: ensure that correct RPI_PERIPHERAL_BASE is provided by ↵Pavel Pisa4-0/+4
raspberrypi.h If the raspberrypi.h has been included without preceding inclussion of bsp.h then BSP_IS_RPI2 has not been set for Raspberry Pi 2 BSP variant and bad things happen later. The patch includes bspopts.h by raspberrypi.h and even includes bsp.h in critical peripherals support.
2016-05-31arm/raspberrypi: cmdline enhancement and early access workaround.Pavel Pisa1-4/+8
cmdline argument is returned without option name. The calls to command line parsing can be called earlier before BSS is cleaned out.
2016-05-31libchip: Remove dwmac network interface driverSebastian Huber19-7918/+1
The network interface driver for this module is located in the new network stack (libbsd), see file "if_dwc.c".
2016-05-31bsp/qoriq: Fix nocache region placementSebastian Huber1-2/+2
Avoid memory waste due to alignment padding. Provide enough space for the DPAA driver infrastructure.
2016-05-31bsps: Add defines for some linker subsectionsSebastian Huber2-2/+17
The GNU ld sort by name or alignment needs distinct input sections.
2016-05-31bsps: Sort some sections first by alignmentSebastian Huber2-7/+7
This helps to avoid alignment padding and thus may reduce some memory waste.
2016-05-25bsp/shared: Fix printk warnings.Chris Johns1-2/+4
2016-05-25i386/pc386: Fix printk formatting warnings.Chris Johns8-18/+27
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns3-18/+20
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2016-05-20score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber10-68/+68
Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.
2016-05-20score: Rename _ISR_Disable_without_giant()Sebastian Huber1-12/+12
Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.
2016-05-20score: _Thread_Dispatch_increment_disable_level()Sebastian Huber4-8/+8
Avoid _Thread_Dispatch_increment_disable_level() and _Thread_Dispatch_decrement_disable_level() and thus the Giant lock. This is a preparation to remove the Giant lock. Update #2555.
2016-05-19arm/raspberrypi: add cmdline support for rpi bsp.Pavel Pisa3-0/+54
2016-05-19arm/raspberrypi: add VideoCore frame buffer control supportYANG Qiao5-0/+832
2016-05-19arm/raspberrypi: add VideoCore mailbox support read and writeYANG Qiao5-0/+145
2016-05-19arm/raspberrypi: add locking around GPIO pin function selection.Pavel Pisa1-0/+5
This is required if function or direction is changed by some driver after start of thread multitasking or in interrupts drivers. There can be problem with calling GPIO function selection before data section is initialized. But actual ticket lock implementation seems to be compatible even with memory initialized to zero oven on SMP.
2016-05-19arm/raspberrypi: correct GPIO pin function selection.Pavel Pisa2-10/+11
Original implementation does only bitwise-or with previous register value for all functions except IN. Switch from one to other function would lead to incorrect value.
2016-05-19arm/raspberrypi: ensure that RTEMS application image can be started by U-boot.Pavel Pisa2-1/+39
The current versions of U-boot start kernel/RTEMS application image with instruction and data caches enabled and it sets exception base register to new address after its self-relocation. ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ Included changes in bsp_start_hook_0 restore default state to allow RTEMS image to run after startup from newer U-boot version on Raspberry Pi. Clear interrupt enable registers in interrupt controller to ensure that RTEMS starts from well defined state.
2016-05-19bsps/arm: CP15 support for flush prefetch buffer and table base control.Pavel Pisa1-0/+48