summaryrefslogtreecommitdiffstats
path: root/c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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().
* bsp/qoriq: Move L1 cache invalidate functionSebastian Huber2016-04-223-19/+45
|
* bsp/qoriq: Do not reset time baseSebastian Huber2016-04-221-5/+0
| | | | We may use this as an entropy source.
* bsps: Copy FDT only if source != destinationSebastian Huber2016-04-221-7/+10
|
* powerpc: Add FSL_EIS_TENSR, etc. definesSebastian Huber2016-04-221-1/+1
|
* bsp/qoriq: Flush and invalidate all L2 cachesSebastian Huber2016-04-224-23/+67
|
* bsp/qoriq: Optionally initialize register HID0Sebastian Huber2016-04-222-1/+11
| | | | Enable the L2MMU multiple-hit detection on the e6500 core.
* i386/pc386: reimplemented check for unused EDID entry in fb_vesa.c to ↵Pavel Pisa2016-04-162-1/+9
| | | | | | suppress GCC 6 warning. closes #2634
* Obsolete rtems_clock_get() directive.Joel Sherrill2016-04-1419-123/+70
| | | | | | | This service was marked as deprecated long prior to the 4.11 release series and is now being removed. closes #2676.
* bsp/qoriq: Fix MMU initialization for e6500Sebastian Huber2016-04-142-2/+15
| | | | | In case a hypervisor mode is present, then we must set MAS8 for some TLB operations, otherwise the run-time behaviour is unpredictable.
* bsp/atsam: Fix mbuf allocationSebastian Huber2016-04-011-1/+1
|
* bsp/leon3: Remove dead codeSebastian Huber2016-03-311-32/+0
|
* bsp/atsam: Add network interface driverAlexander Krutwig2016-03-313-0/+1322
|
* bsp/atsam: Add nocache region supportSebastian Huber2016-03-316-4/+11
|
* bsp/atsam: Fix sizes of internal SRAMSebastian Huber2016-03-311-28/+28
|