Commit Graph

12405 Commits

Author SHA1 Message Date
Ralf Kirchner
782182eba4 bsp/altera-cyclone-v: Change console baud rate
The baud rate of the altera cyclone-V U-Boot can not be changed at the
u-Boot console prompt. Thus we use the same baud rate as the U-Boot for
the BSP.
2014-04-17 13:24:07 +02:00
Sebastian Huber
320faf8e68 score: Clarify TLS support 2014-04-17 08:06:40 +02:00
Sebastian Huber
b80f920860 bsp/qoriq: SMP support for IRQ support 2014-04-16 09:07:33 +02:00
Sebastian Huber
487b94e7ad bsps/powerpc: SMP support for SPR functions
These registers are local to a processor, there is no need to use SMP
locks here.
2014-04-16 09:07:33 +02:00
Sebastian Huber
598f39cd87 libchip: SMP support for NS16550 2014-04-16 09:07:33 +02:00
Sebastian Huber
509040f0af bsps/powerpc: SMP support for one TSEC driver 2014-04-15 10:43:05 +02:00
Sebastian Huber
c5831a3f9a score: Add clustered/partitioned scheduling
Clustered/partitioned scheduling helps to control the worst-case
latencies in the system.  The goal is to reduce the amount of shared
state in the system and thus prevention of lock contention.  Modern
multi-processor systems tend to have several layers of data and
instruction caches.  With clustered/partitioned scheduling it is
possible to honour the cache topology of a system and thus avoid
expensive cache synchronization traffic.

We have clustered scheduling in case the set of processors of a system
is partitioned into non-empty pairwise-disjoint subsets.  These subsets
are called clusters.  Clusters with a cardinality of one are partitions.
Each cluster is owned by exactly one scheduler instance.
2014-04-15 10:41:44 +02:00
Sebastian Huber
53e008b6fd score: SMP initialization changes
Add and use _CPU_SMP_Start_processor().  Add and use
_CPU_SMP_Finalize_initialization().  This makes most
_CPU_SMP_Initialize() functions a bit simpler since we can calculate the
minimum value of the count of processors requested by the application
configuration and the count of physically or virtually available
processors in the high-level code.

The CPU port has now the ability to signal a processor start failure.
With the support for clustered/partitioned scheduling the presence of
particular processors can be configured to be optional or mandatory.
There will be a fatal error only in case mandatory processors are not
present.

The CPU port may use a timeout to monitor the start of a processor.
2014-04-14 08:37:04 +02:00
Sebastian Huber
67a7a2cc98 sparc: Use __leon__ multilib define 2014-04-14 08:37:04 +02:00
Gedare Bloom
73b9af2d25 sparc64/niagara: add bsp_fatal_handler to terminate execution
Terminates the execution of niagara BSP when running in gem5.
2014-04-12 14:23:11 -04:00
Sebastian Huber
cb5eaddf95 rtems: Rename rtems_smp_get_current_processor()
Rename rtems_smp_get_current_processor() in
rtems_get_current_processor().  Make rtems_get_current_processor() a
function in uni-processor configurations to enable ABI compatibility
with SMP configurations.
2014-04-11 08:52:54 +02:00
Sebastian Huber
4bc8d2e717 rtems: Rename rtems_smp_get_processor_count()
Rename rtems_smp_get_processor_count() in rtems_get_processor_count().
Make rtems_get_processor_count() a function in uni-processor
configurations to enable ABI compatibility with SMP configurations.
2014-04-11 08:52:54 +02:00
Joel Sherrill
95cb09ed74 sparc/shared/.../linkcmds.base: Correct C++ support
Add KEEP() for .eh_frame*, .ctor*, and .dtor*.
2014-04-04 09:26:08 -05:00
Joel Sherrill
aa7ff5d3f9 leon2 ckinit.c, console.c: Comment clean up 2014-04-03 15:16:07 -05:00
Joel Sherrill
fcc1076195 leon2/Makefile.am: Change to one file per line 2014-04-03 15:16:07 -05:00
Joel Sherrill
68a647045b erc32/Makefile.am: Change to one file per line 2014-04-03 15:16:07 -05:00
Joel Sherrill
6c0b7b878c psim/console/console-io.c: Comment clean up 2014-04-03 15:16:07 -05:00
Joel Sherrill
d4db719346 sim68000/console/conscfg.c: Comment clean up 2014-04-03 15:16:07 -05:00
Joel Sherrill
3a422f7d66 h8sim/console/console-io.c: Comment clean up 2014-04-03 15:16:07 -05:00
Sebastian Huber
8e980e6168 bsps/powerpc: Fix linker command files 2014-04-01 14:10:23 +02:00
Sebastian Huber
10b0c3f9d3 bsps/powerpc: PR757: Fix PPC_IRQ_TRACE for ppc601
We could probably also remove the ppc601 support entirely.
2014-04-01 14:10:23 +02:00
Sebastian Huber
8118b67065 libchip: Avoid __DEVOLATILE() 2014-03-31 18:31:52 +02:00
Daniel Cederman
1d9818dcb3 LEON3: UT699 and GR712 sleep-mode d-cache fix
See errata of respective chip. Some code-cleanup as well.
2014-03-31 13:32:48 +02:00
Pavel Pisa
3c21ad7db0 SPI SD-Card: adapt common driver code to block devices core API changes. 2014-03-31 10:14:43 +02:00
James Fitzsimons
89aa1ec87d m68k/mrm332: changes required to get the mrm332 bsp working again.
Changed console driver to use interrupts instead of polling.
Change to avoid overwriting CPU32Bug interrupt vector when setting up the Sci interrupt handler.
Fixed type for boolean flag in bsp.h.
Changed mrm332.h to use 25Mhz clock.
Fixes to mrm332.cfg to use correct mcpu32 value for RTEMS_CPU_MODEL instead of m68332 which is no longer supported.
Added -mcpu=cpu32 to compiler options.
Removed broken ROM linker script and replaced broken RAM linker script with working ROM linker script.
Removed no longer required file except_vect_332_ROM.S.
Enabled 0xbeefbeef magic string in start.S to allow MRM version of CPU32Bug to auto run RTEMS.
Removed old code from start.S
Changed compiler optimization flag to optimize for size.
2014-03-26 11:32:52 -04:00
Daniel Cederman
67a4842b59 bsps/sparc: Make local functions for amba plug&play static. 2014-03-24 11:45:44 -05:00
Daniel Cederman
52f6502876 bsps/sparc: Add common gnat handler function prototype.
Moved prototype for __gnat_install_handler and __gnat_install_handler_common to common header file. Placed header file in bsp namespace.
2014-03-24 11:45:44 -05:00
Daniel Cederman
e4b5085344 greth: Make local functions static, remove overflow and correct printf call. 2014-03-21 09:57:27 -05:00
Daniel Cederman
324032549e bsps/sparc: Change asm to __asm__ to compile with -pedantic. 2014-03-21 09:57:25 -05:00
Daniel Cederman
f23bd591c2 bsps/sparc: Make spurious trap handler function static. 2014-03-21 09:57:23 -05:00
Daniel Cederman
a46e02c7ea bsps/sparc: Make local functions static.
The PCI and RASTA versions of the uart, spacewire and 1553 drivers directly includes the c-file of the standard versions
of the drivers, but uses a macro to change the name of the driver register function. When the standard version is
used this function should be global, when it is included as part of the PCI and RASTA versions it should be local and
static.
2014-03-21 09:57:20 -05:00
Daniel Cederman
5130248e12 smc91111: Move driver attach prototype to header file.
Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
2014-03-21 09:57:18 -05:00
Joel Sherrill
82e507e3e8 no_bsp/shmsupp/lock.c: Remove rtems_bsp_delay() 2014-03-21 08:55:10 -05:00
Joel Sherrill
8d6879147b no_bsp/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:10 -05:00
Joel Sherrill
bd7dd3b0e6 nios2_iss/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:09 -05:00
Joel Sherrill
b51e44ad14 moxiesim/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:09 -05:00
Joel Sherrill
43e5a3ca4b sim68000/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:09 -05:00
Joel Sherrill
2e9efbfe86 ods68302/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:08 -05:00
Joel Sherrill
a4ee9f5792 mvme136/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:08 -05:00
Joel Sherrill
3420b6b76f mrm332/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:08 -05:00
Joel Sherrill
65e0fece64 gen68360/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
99a1a2c5e9 gen68340/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
3139c1d0f0 gen68302/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
130f01bb8a m32rsim/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:07 -05:00
Joel Sherrill
0758923da6 m32cbsp/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:06 -05:00
Joel Sherrill
0e363f4cf0 lm32_evr/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:06 -05:00
Joel Sherrill
31f1ef9ddb pc386/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:06 -05:00
Joel Sherrill
43af31de33 h8sim/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:05 -05:00
Joel Sherrill
8fd544d59d gensh1/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:05 -05:00
Joel Sherrill
5830f5a9e1 gensh2/include/bsp.h: Remove rtems_bsp_delay() 2014-03-21 08:55:05 -05:00