Commit Graph

13321 Commits

Author SHA1 Message Date
Sebastian Huber
df8341ae30 bsp/gen5200: Simplify interrupt write support 2015-06-24 08:46:32 +02:00
Sebastian Huber
cdf30f0550 rtems: Add rtems_interrupt_local_disable|enable()
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to
emphasize that interrupts are only disabled on the current processor.
Do not define the rtems_interrupt_disable|enable|flash() macros and
functions on SMP configurations since they don't ensure system wide
mutual exclusion.
2015-06-22 08:40:26 +02:00
Joel Sherrill
becbedac78 pc386/console/fb*.c: Use atomics to avoid dependency on pthreads
closes #2364.
2015-06-11 08:06:33 -07:00
Sebastian Huber
30f8412ab3 bsps/sparc: tlib clock driver timecounter support 2015-06-09 10:01:50 +02:00
Sebastian Huber
a51b3526ea sparc: Add SPARC_USE_SAFE_FP_SUPPORT
The SPARC ABI is a bit special with respect to the floating point context.
The complete floating point context is volatile.  Thus from an ABI point
of view nothing needs to be saved and restored during a context switch.
Instead the floating point context must be saved and restored during
interrupt processing.  Historically the deferred floating point switch is
used for SPARC and the complete floating point context is saved and
restored during a context switch to the new floating point unit owner.
This is a bit dangerous since post-switch actions (e.g. signal handlers)
and context switch extensions may silently corrupt the floating point
context.  The floating point unit is disabled for interrupt handlers.
Thus in case an interrupt handler uses the floating point unit then this
will result in a trap.

On SMP configurations the deferred floating point switch is not
supported in principle.  So use here a safe floating point support.  Safe
means that the volatile floating point context is saved and restored
around a thread dispatch issued during interrupt processing.  Thus
post-switch actions and context switch extensions may safely use the
floating point unit.

Update #2270.
2015-06-09 09:05:50 +02:00
Sebastian Huber
335e5caa9a score: Add Thread_Control::is_fp
Store the floating-point unit property in the thread control block
regardless of the CPU_HARDWARE_FP and CPU_SOFTWARE_FP settings.  Make
sure the floating-point unit is only enabled for the corresponding
multilibs.  This helps targets which have a volatile only floating point
context like SPARC for example.
2015-06-09 09:05:50 +02:00
Alexander Krutwig
2764bd43d0 sparc: Disable FPU in interrupt context
Update #2270.
2015-05-30 16:46:36 +02:00
Sebastian Huber
aff220db7a bsps/powerpc: Fix potential integer overflow
Update #2356.
2015-05-29 08:59:59 +02:00
ragunath
d55d7a067f beagle bsp: RTC support for BBB 2015-05-28 14:41:37 +02:00
Hesham ALMatary
5774c41455 generic_or1k: Fix a typo in a comment 2015-05-26 11:34:06 -05:00
Hesham ALMatary
5b1a10a01c generic_or1k: Use the correct bsp_specs file 2015-05-26 11:34:06 -05:00
Jan Dolezal
6f79310889 i386/pc386: default graphics driver changed from VGA to VESA based
basic VGA driver can be enabled during configure phase by exporting variable
USE_VGA=1 so that it is available in configure environment
cirrus driver is enabled the same way by exporting variable
USE_CIRRUS_GD5446=1
2015-05-26 11:26:54 -05:00
Jan Dolezal
56399c3bc8 i386/pc386/VESA framebuffer driver: modified and extended initialization options
driver is not initialized by default
initialization is possible through multiboot command line option or
through the string variable (see fb_default_mode.h) set in user's module
allowing the driver to evaluate this variable after the two
modules are linked together
2015-05-26 11:26:46 -05:00
Sebastian Huber
10454223a9 bsps/sparc: Delete unused local labels 2015-05-26 10:02:27 +02:00
Sebastian Huber
26ffb8c21c bsps/sparc: Change tabs to spaces 2015-05-26 10:02:11 +02:00
Hesham ALMatary
6f71dcb7cd Epiphany: Add the first epiphany_sim BSP v4
This BSP in intended to run on the simulator that should be built
from RSB. When building RTEMS for Epiphany --disable-networking must
be provided part of the configure command.
2015-05-21 16:03:34 -04:00
Joel Sherrill
60e4c0094a arm/s3c24xx/clock/clockdrv.c: Remove unused variable warning 2015-05-21 08:28:58 -07:00
Joel Sherrill
562c1b1b6d arm/lpc22xx/clock/clockdrv.c: Remove unused variable warning 2015-05-21 08:28:56 -07:00
Joel Sherrill
efd351d2f8 powerpc/shared/clock/clock.c: Remove unused variable warning 2015-05-21 08:28:56 -07:00
Joel Sherrill
68592d5432 mpc55xxevb/clock/clock-config.c: Remove unused variable warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
4004d971fa mcf5225x/clock/clock.c: Remove unused variable warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
2a605f6495 mcf52235/clock/clock.c: Remove unused variable warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
5a9c3c1053 pc386/clock/ckinit.c: Remove prototyped but not defined warning 2015-05-21 08:28:55 -07:00
Joel Sherrill
52258f1344 arm/shared/lpc/clock/lpc-clock-config.c: Remove unused variable warning 2015-05-21 08:28:54 -07:00
Joel Sherrill
1c0663b48f mcf52235-testsuite.tcfg: Add syscall01 2015-05-21 08:28:54 -07:00
Joel Sherrill
0afac6ab66 Multiple bsp_specs: Change *(old_endfile) to %(old_endfile)
Fix typo.

closes 2345.
2015-05-21 08:28:54 -07:00
Joel Sherrill
22e576dfde simsh2e-testsuite.tcfg: Add fileio 2015-05-21 08:28:53 -07:00
Joel Sherrill
bb997dd9c2 simsh1-testsuite.tcfg: Add fileio 2015-05-21 08:28:53 -07:00
Sebastian Huber
95889465e8 bsp/tms570: Typo 2015-05-21 17:27:34 +02:00
Alexander Krutwig
75acd9e69f bsps: Convert clock drivers to use a timecounter
Update #2271.
2015-05-20 08:40:34 +02:00
Sebastian Huber
a0001d64fe Remove obsolete rtems_clock_major/minor
These global variables are obsolete since
65f71f8472.
2015-05-14 11:17:00 +02:00
Joel Sherrill
438e78e8c0 mrm332-testsuite.tcfg: Add fileio 2015-05-07 08:31:29 -05:00
Sebastian Huber
7f53035504 bsps/sparc: Use inline functions for cache manager 2015-04-27 10:11:47 +02:00
Sebastian Huber
4bf2a6aa09 bsps/cache: Clarify range functions support 2015-04-27 09:40:16 +02:00
Hesham ALMatary
1602bf3973 Fix broken BSPs due to a shared cache function declaration.
Get rid of _CPU_cache_invalidate_instruction_range declaration
as it doesn't make sense here.
2015-04-27 09:25:39 +02:00
Hesham ALMatary
3dead51edd Fix or1k C++ build failure
Closes #2329
2015-04-26 12:44:12 -05:00
Joel Sherrill
5a8cd17d3c simsh*.tcfg: Add iostream 2015-04-23 12:48:04 -05:00
Joel Sherrill
d9ef7ebe11 gensh2-testsuite.tcfg: Add iostream 2015-04-23 12:48:04 -05:00
Joel Sherrill
07d9954b61 gensh1-testsuite.tcfg: Add iostream 2015-04-23 12:48:03 -05:00
Joel Sherrill
ba885bde9f mbx8xx/include/bsp.h: Add include of <rtems/irq.h> 2015-04-23 12:48:03 -05:00
Joel Sherrill
9a9614e5c9 ods68302-testsuite.tcfg: Add iosteam 2015-04-23 12:48:03 -05:00
Joel Sherrill
f620ac7a0e mrm332-testsuite.tcfg: Add iostream and sptls02 2015-04-23 12:48:03 -05:00
Joel Sherrill
0c87234fa9 mcf5225x-testsuite.tcfg: Add iostream 2015-04-23 12:48:02 -05:00
Joel Sherrill
e38fdc22e8 lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add sptls02 2015-04-23 12:48:02 -05:00
Joel Sherrill
2e9baac047 lm3s3749-testsuite.tcfg: Add cdtest 2015-04-23 12:48:02 -05:00
Sebastian Huber
26c142e5ad score: Refactor SMP cache manager support 2015-04-20 08:23:25 +02:00
Hesham ALMatary
3d597c04ed Rename or1ksim BSP to generic_or1k
or1ksim BSP was initially named after or1ksim simulator, and it was
intented to only run there. But now it can also run on QEMU, jor1k and
real FPGA boards without modifications. It makes more sense to give
it a new generic name like generic_or1k.
2015-04-19 06:26:36 -04:00
Daniel Hellstrom
c77e3cb1b0 LEON3: gptimer drvmgr init simplified wrt boot 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
9fe249d032 LEON3: move timer variable to where initialized 2015-04-17 01:10:30 +02:00
Daniel Hellstrom
efd43ad162 LEON3: simplify amba initialization 2015-04-17 01:10:30 +02:00