summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/powerpc: Update to RTEMS printer changesSebastian Huber2016-06-091-8/+8
|
* bsp/atsam: Support QSPI flashAlexander Krutwig2016-06-067-5/+65
|
* atsam: Fix network interface PHY handlingAlexander Krutwig2016-06-062-67/+52
| | | | Close #2685.
* arm/raspberrypi: add fbcons support for rpi bspYANG Qiao2016-05-318-2/+362
|
* arm/raspberrypi: add video outchar support for rpi bspYANG Qiao2016-05-314-0/+5109
|
* arm/raspberrypi: move MMU in front of application image to respect variable ↵Pavel Pisa2016-05-314-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.
* arm/raspberrypi: add VideoCore framebuffer without initializationYANG Qiao2016-05-314-0/+469
|
* arm/raspberrypi: Raspberry Pi v2 ALLOCATE_BUFFER VC4 operation returns ↵Pavel Pisa2016-05-311-0/+4
| | | | direct address.
* arm/raspberrypi: ensure that correct RPI_PERIPHERAL_BASE is provided by ↵Pavel Pisa2016-05-314-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.
* arm/raspberrypi: cmdline enhancement and early access workaround.Pavel Pisa2016-05-311-4/+8
| | | | | | cmdline argument is returned without option name. The calls to command line parsing can be called earlier before BSS is cleaned out.
* libchip: Remove dwmac network interface driverSebastian Huber2016-05-3119-7918/+1
| | | | | The network interface driver for this module is located in the new network stack (libbsd), see file "if_dwc.c".
* bsp/qoriq: Fix nocache region placementSebastian Huber2016-05-311-2/+2
| | | | | Avoid memory waste due to alignment padding. Provide enough space for the DPAA driver infrastructure.
* bsps: Add defines for some linker subsectionsSebastian Huber2016-05-312-2/+17
| | | | The GNU ld sort by name or alignment needs distinct input sections.
* bsps: Sort some sections first by alignmentSebastian Huber2016-05-312-7/+7
| | | | | This helps to avoid alignment padding and thus may reduce some memory waste.
* bsp/shared: Fix printk warnings.Chris Johns2016-05-251-2/+4
|
* i386/pc386: Fix printk formatting warnings.Chris Johns2016-05-258-18/+27
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-253-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.
* score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber2016-05-2010-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.
* score: Rename _ISR_Disable_without_giant()Sebastian Huber2016-05-201-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.
* score: _Thread_Dispatch_increment_disable_level()Sebastian Huber2016-05-204-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.
* arm/raspberrypi: add cmdline support for rpi bsp.Pavel Pisa2016-05-193-0/+54
|
* arm/raspberrypi: add VideoCore frame buffer control supportYANG Qiao2016-05-195-0/+832
|
* arm/raspberrypi: add VideoCore mailbox support read and writeYANG Qiao2016-05-195-0/+145
|
* arm/raspberrypi: add locking around GPIO pin function selection.Pavel Pisa2016-05-191-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.
* arm/raspberrypi: correct GPIO pin function selection.Pavel Pisa2016-05-192-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.
* arm/raspberrypi: ensure that RTEMS application image can be started by U-boot.Pavel Pisa2016-05-192-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.
* bsps/arm: CP15 support for flush prefetch buffer and table base control.Pavel Pisa2016-05-191-0/+48
|
* i386/pc386: Clean out removed functions.Chris Johns2016-05-111-46/+0
|
* i386/pc386: Add x86 debug register support for hardware break points.Chris Johns2016-05-111-1/+157
|
* i386/pc386: EOI the master and slave for slave IRQ signals.Chris Johns2016-05-111-6/+33
|
* i386/pc386: Add --ide-disable boot command line option.Chris Johns2016-05-111-51/+57
|
* i386/pc386: Fix interrupt support.Chris Johns2016-05-119-172/+471
| | | | | | | | | | | | Fix the interrupt and stop the spurious interrupt from happening. The fix moves the EOI to C code and cleans that functionality out of the asm part of the ISR handler. The code checks the ISR and IRR registers on the enable. Only ack the master for a slave IRQ if the slave has no other pending requests.
* i386/pc386: Fix printk with the console changes.Chris Johns2016-05-111-32/+37
|
* bsp/pc386: Use irq-generic.Chris Johns2016-05-112-8/+7
|
* bsp/shared: Print the exception stack frame before the shut down message.Chris Johns2016-05-111-7/+7
| | | | | | | This lets you see the exception otherwise the key press clears the screen on the reboot on a PC BSP. Also state there has been a fatal error.
* bsp/shared: Add bsp_interrupt_handler_is_empty.Chris Johns2016-05-112-1/+33
|
* ibchip/ns16550: Minor optimisation.Chris Johns2016-05-111-13/+14
|
* i386/pc386: Add IO and memory support to PCI UART devices.Chris Johns2016-05-111-37/+113
| | | | | Use the BAR to determine IO and memory mapped support for PCI UART boards.
* i386/pc386: Add support for the gdb stub to use available console drivers.Chris Johns2016-05-1117-427/+754
| | | | | | | | | | | Move the gdb stub from the i386 UART code to use the libchip drivers. Use any ports discovered during the probes. Add gdb control to the boot command line. Change the device naming to the full device path, not a partial path. For example /dev/com1.
* bsp/qoriq: Add portal clear functionsSebastian Huber2016-05-093-0/+47
|
* bsp/qoriq: Set M and G bits in ENTRY_DEV_CACHED()Sebastian Huber2016-05-091-1/+10
| | | | Set M and G MMU attribute bits in ENTRY_DEV_CACHED().
* sonic.c: Fix warning on gcc 6Martin Galvan2016-05-061-13/+11
| | | | | | | | | | | | | GCC 6.0 previews give the following warning on sonic.c: ../../../../../rtems/c/src/libchip/network/sonic.c:837:11: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation] This was discussed here: https://lists.rtems.org/pipermail/devel/2016-March/014004.html and we concluded it would be better to rewrite the entire snippet.
* rtems: Remove task variablesSebastian Huber2016-05-042-90/+0
| | | | | Update #2494. Update #2555.
* bsp/mvme5500: Use thread local variableSebastian Huber2016-05-041-23/+4
| | | | | | Use thread local variable instead of task variable. Update #2494.
* bsp/qoriq: Add and use qoriq_reset_qman_and_bman()Sebastian Huber2016-05-022-0/+13
|
* bsp/qoriq: Add DCFG to memory mapSebastian Huber2016-05-021-1/+9
|
* bsp/qoriq: Add bsp_restart()Sebastian Huber2016-04-225-2/+237
|
* bsp/qoriq: Use IPI_INDEX throughoutSebastian Huber2016-04-221-1/+1
|
* bsp/qoriq: Add qoriq_start_spin_table_addr[]Sebastian Huber2016-04-223-28/+43
| | | | | Make the U-Boot start spin table addresses globally available for a soft-reset.
* bsp/qoriq: Add qoriq_tlb1_invalidate_all_by_ts()Sebastian Huber2016-04-222-9/+15
| | | | Generalize qoriq_tlb1_ts_0_only() to qoriq_tlb1_invalidate_all_by_ts().