Commit Graph

25062 Commits

Author SHA1 Message Date
Sebastian Huber
1df348b960 bsps/arm: Rename function
Rename arm_cp15_start_setup_translation_table_and_enable_mmu()
in arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache()
to emphasize that the cache is also enabled after this operation.
2013-06-24 11:02:23 +02:00
Sebastian Huber
e916b1258c bsp/virtex: Use shared clock driver 2013-06-24 10:54:01 +02:00
Sebastian Huber
0110491bd5 bsp/virtex: Add console devices only if present 2013-06-24 10:54:01 +02:00
Sebastian Huber
dbf62b3898 bsp/virtex: Fix warnings 2013-06-24 10:54:01 +02:00
Sebastian Huber
c4cfc62bc1 bsp/virtex: Use XPAR_INTC_SINGLE_BASEADDR
This define is also present in newer "xparameters.h".
2013-06-24 10:54:01 +02:00
Sebastian Huber
dfb58059f6 bsp/virtex: Remove unused configure macros 2013-06-24 10:54:00 +02:00
Sebastian Huber
53dc697501 bsp/virtex: Delete BSP_ask_for_reset and BSP_panic 2013-06-24 10:54:00 +02:00
Sebastian Huber
39c1534f5a bsp/virtex: Use generic interrupt support 2013-06-24 10:54:00 +02:00
Sebastian Huber
894e93f5ec bsp/virtex: Fix header includes 2013-06-24 10:54:00 +02:00
Sebastian Huber
bee7612ec5 bsp/virtex: Move timer config to new file 2013-06-24 10:54:00 +02:00
Sebastian Huber
48ab8465d4 bsp/virtex: Do not use PPC403 TTY driver 2013-06-24 10:53:59 +02:00
Sebastian Huber
ad094f46ab bsp/virtex: Fix warnings 2013-06-24 10:53:59 +02:00
Sebastian Huber
b45397fb9a bsp/virtex: Delete bsp_XAssertHandler() 2013-06-24 10:53:59 +02:00
Sebastian Huber
ff538bbf4a bsp/virtex: Delete unused variables 2013-06-24 10:53:59 +02:00
Sebastian Huber
0ba2736d9f bsp/virtex: Replace low-level BSP start code
Use linkcmds.base.  Use EABI with small-data area.
2013-06-24 10:53:59 +02:00
Sebastian Huber
546c105646 bsp/virtex: Rename file dlentry.S in start.S
Use default bsp_specs file.
2013-06-24 10:53:58 +02:00
Sebastian Huber
509e0f3ff3 bsps/powerpc: Add PPC405 support for shared clock 2013-06-24 10:53:58 +02:00
Sebastian Huber
7d0e88f240 bsps/powerpc: Delete clock_4xx.c 2013-06-24 10:53:58 +02:00
Sebastian Huber
27b207a82a bsps: Delete bspreset_fatal.c
Use bspreset_loop.c instead.  This avoids infinite recursion.
2013-06-24 10:53:58 +02:00
Chris Johns
1ebffa8914 arm: Fix default exception prologues 2013-06-21 10:26:11 +02:00
Sebastian Huber
4f1da72e7f score: _Heap_Protection_free_all_delayed_blocks()
Add and use _Heap_Protection_free_all_delayed_blocks() to prevent
test suite failures if RTEMS_DEBUG is defined.
2013-06-21 10:26:11 +02:00
Sebastian Huber
9165a5b07d IMFS: Fix reference count for debug enabled 2013-06-21 10:26:11 +02:00
Sebastian Huber
f97f46ce75 libchip/serial: Fix warning 2013-06-21 10:26:11 +02:00
Sebastian Huber
c9db7f964b bsps: Use CONSOLE_DEVICE_NAME 2013-06-21 10:26:10 +02:00
Sebastian Huber
a4bc725ecb bsps: Remove debug output in shared console driver 2013-06-21 10:26:10 +02:00
Sebastian Huber
37220fac7e bsps: Do not use printk() in shared console driver 2013-06-21 10:26:10 +02:00
Sebastian Huber
6307b1af62 bsps: Add fatal errors for shared console driver 2013-06-21 10:26:10 +02:00
Sebastian Huber
ade27c69eb bsps: Move bsp_generic_fatal_code to new file
Add bsp_generic_fatal().
2013-06-21 10:26:10 +02:00
Sebastian Huber
5f91272e9b bsps/powerpc: Delete bsp_exceptions_in_RAM
Delete ppc_exc_vector_base.  Add and use
ppc_exc_initialize_with_vector_base().
2013-06-21 10:26:09 +02:00
Joel Sherrill
6520aef1e3 sparc in_cksum: Use __sparc__ which is available in -ansi mode 2013-06-20 10:52:48 -05:00
Ric Claus
cddb8f4a45 bsps/arm: Fix some GIC functions 2013-06-20 10:15:14 +02:00
Sebastian Huber
9a037da966 bsps/arm: Set vector base address if necessary 2013-06-20 10:15:10 +02:00
Jiri Gaisler
45fecbb6db greth: do not advertise 1000M capability if MAC does not support it. 2013-06-19 08:21:49 -05:00
Jiri Gaisler
1bdc6d1d5c greth: prefer full duplex if available 2013-06-19 08:21:49 -05:00
Jiri Gaisler
1f4ee306d3 Added in_cksum_sparc.h to optimize IP checksum calculations for SPARC. 2013-06-19 08:21:40 -05:00
Sebastian Huber
cb6b9bab29 bsp/xilinx-zynq: Use magic UART baud divisor
Use a baud divisor suitable for the evaluation board.
2013-06-19 13:04:01 +02:00
Sebastian Huber
3f6a82342d bsp/xilinx-zynq: Do not start transmitter break 2013-06-19 13:03:39 +02:00
Ralf Corsépius
67f89f2e5b Update from automake-1.13.3. 2013-06-18 13:38:31 +02:00
Sebastian Huber
49bc9f81db bsp/xilinx-zynq: Use second UART for console
This is in now line with the evaluation board.
2013-06-18 09:21:12 +02:00
Sebastian Huber
010e4058e5 smptests/smpschedule01: Update due to API change 2013-06-17 10:22:30 +02:00
Sebastian Huber
c4a236aebe Revert "sptests/sp02: Fix maximum task count"
This reverts commit 6f8adb073b.

The resource count was correct.
2013-06-17 10:12:26 +02:00
Sebastian Huber
cf46db8516 bsps: Provide simple console selection 2013-06-17 10:01:35 +02:00
Sebastian Huber
9f868a16ad bsps: Add missing include 2013-06-17 10:01:25 +02:00
Sebastian Huber
961669db4e documentation: Fix Doxygen comments 2013-06-14 16:26:09 +02:00
Sebastian Huber
8b222be707 smptests/smpschedule01: New test 2013-06-14 16:26:09 +02:00
Sebastian Huber
a936aa49b5 scheduler: New simple SMP scheduler implementation
The new Simple SMP Scheduler allocates a processor for the processor
count highest priority ready threads.  The thread priority and position
in the ready chain are the only information to determine the scheduling
decision.  Threads with an allocated processor are in the scheduled
chain.  After initialization the scheduled chain has exactly processor
count nodes.  Each processor has exactly one allocated thread after
initialization.  All enqueue and extract operations may exchange threads
with the scheduled chain.  One thread will be added and another will be
removed.  The scheduled and ready chain is ordered according to the
thread priority order.  The chain insert operations are O(count of ready
threads), thus this scheduler is unsuitable for most real-time
applications.

The thread preempt mode will be ignored.
2013-06-14 16:26:08 +02:00
Sebastian Huber
8f420927ac scheduler: Simplify simple scheduler
Add and use _Scheduler_simple_Insert_priority_fifo_order(),
_Scheduler_simple_Insert_priority_lifo_order(),
_Scheduler_simple_Insert_priority_fifo() and
_Scheduler_simple_Insert_priority_lifo().
2013-06-14 16:26:08 +02:00
Sebastian Huber
a3443088f5 scheduler: Add and use _Scheduler_default_Tick()
Delete _Scheduler_priority_Tick().  Use _SMP_Get_processor_count() for
default tick operation.  Delete _Scheduler_simple_smp_Tick().
2013-06-14 16:26:08 +02:00
Sebastian Huber
6eba7c857b scheduler: Specify thread of yield operation
The yielding thread of the yield operation is now specified by a
parameter.  The tick operation may be performed for each executing
thread in a SMP configuration.
2013-06-14 16:26:08 +02:00
Sebastian Huber
1ccb64e18f scheduler: Add start idle thread operation
Add and use _Scheduler_Start_idle().
2013-06-14 16:26:07 +02:00