Commit Graph

32751 Commits

Author SHA1 Message Date
Sebastian Huber
f6895c6d55 bsps/powerpc: Fix C++ exception handling
Close #3736.
2019-05-07 10:31:51 +02:00
Sebastian Huber
f4db49a1ab bsp/motorola_powerpc: Fix bootloader output 2019-05-07 08:45:52 +02:00
Sebastian Huber
8bd4f61c30 bsps: Remove bogus config declaration
Replace it with a proper struct rtems_bsdnet_ifconfig forward
declaration.

Close #3742.
2019-05-06 07:57:34 +02:00
Chris Johns
b36c52097f libdl: Do not access the ELF file while the allocator is locked.
- Load symbols before allocation.
- Parse reloc records and place any reloc recs in a cache to use
  while the allocator is locked.
- Relocate symbols after section allocation.
- Split section loading into allocation/locating and loading.
- Update all arch back-ends with a new reloc interface to control
  tramp handling.
- Add `-a` and `-t` to the object list shell command.

Closes #3741
2019-05-03 10:15:20 +10:00
Sebastian Huber
be50969881 bsp/motorola_powerpc: Fix debug output
Update #3122.
2019-04-12 14:38:06 +02:00
Sebastian Huber
ef9d20f691 score: More robust _SMP_Multicast_action()
If the caller already disabled interrupts, then do not disable thread
dispatching.  Calling _SMP_Multicast_action() with interrupts disabled
is a questionable use case.
2019-04-12 11:15:40 +02:00
Sebastian Huber
5cc313bf08 bsp/imx: CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR
Remove this BSP option.
2019-04-12 09:44:48 +02:00
Sebastian Huber
ad40d05eba score: Remove _SMP_Before_multitasking_action()
Use _SMP_Multicast_action() instead.
2019-04-12 09:44:48 +02:00
Sebastian Huber
f410b31be4 score: Improve _SMP_Multicast_action()
Let it work during system initialization.
2019-04-12 09:44:48 +02:00
Sebastian Huber
e90486ab41 score: Rework SMP multicast action
Use a FIFO list of jobs per processor to carry out the SMP multicast
action.  Use a done indicator per job to reduce the bus traffic a bit.
2019-04-12 09:44:48 +02:00
Sebastian Huber
df8d7bd76f score: Use processor mask in _SMP_Multicast_action
Processor_mask is the internal data type to deal with processor sets.
2019-04-12 09:44:48 +02:00
Sebastian Huber
e97b7c9a7a score: Use an ISR lock for Per_CPU_Control::Lock
The use of a hand crafted lock for Per_CPU_Control::Lock was necessary
at some point in the SMP support development, but it is no longer
justified.
2019-04-12 09:44:44 +02:00
Sebastian Huber
18d45d9d25 score: Add _ISR_lock_Set_name()
Add _ISR_lock_Set_name() to optimize the initialization of
zero-initialized locks.
2019-04-12 09:12:03 +02:00
Sebastian Huber
5ca8190b96 score: Remove unused macros 2019-04-12 09:12:03 +02:00
Sebastian Huber
ad87de4a67 score: Rename _SMP_Get_processor_count()
Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be
in line with the API level rtems_scheduler_get_processor_maximum().

Update #3732.
2019-04-11 09:19:12 +02:00
Sebastian Huber
cfcd6dc98c score: Rename _SMP_Processor_count
Rename _SMP_Processor_count in _SMP_Processor_maximum to be in line with
the API level rtems_scheduler_get_processor_maximum().

Update #3732.
2019-04-11 09:19:12 +02:00
Jeff Kubascik
77f9a1be47 bsp/xilinx-zynqmp: Implement Ultra96 target
Modifications to get xilinx-zynqmp BSP working on an Ultra96 board.

Update #3682.
2019-04-11 07:29:10 +02:00
Jeff Kubascik
677d5167ba bsp/xilinx-zynqmp: Stub out Xilinx MPSoC BSP
Source files were copied from xilinx-zynq.

Update #3682.
2019-04-11 07:29:08 +02:00
Jeff Kubascik
b0044305a6 bsp/zynq-uart: Move Zynq UART driver to shared directory
This driver will be shared with the xilinx-zynqmp BSP.

Update #3682.
2019-04-11 07:29:06 +02:00
Jeff Kubascik
b0c420b92f bsp/zynq-uart: Remove zynq_uart_instances from header
This variable is BSP specific and should be removed from the driver
header file.

Update #3682.
2019-04-11 07:28:50 +02:00
Sebastian Huber
f1eedbde52 bsp/xilinx-zynq: Relicense to BSD-2-Clause
Relicense contributions from Chris Johns, Christian Mauderer,
embedded brains GmbH, Joel Sherrill, OAR, Pavel Pisa, Ralf Kirchner, and
Sebastian Huber.

Update #3053.
2019-04-10 09:50:08 +02:00
Sebastian Huber
8aaa055adb posix: Avoid fatal error in Shm object create 2019-04-10 09:50:08 +02:00
Sebastian Huber
1bf2f160e2 posix: Avoid workspace for queued signals 2019-04-10 09:50:07 +02:00
Sebastian Huber
e6a8410321 posix: _Configuration_POSIX_Minimum_stack_size
Rename to use proper namespace.
2019-04-10 09:50:07 +02:00
Sebastian Huber
b0e335c23c posix: _Configuration_POSIX_Maximum_queued_signals
Rename to use proper namespace.
2019-04-10 09:50:07 +02:00
Sebastian Huber
369bf2c4ea config: Obsolete Go configuration options
Update #2832.
2019-04-10 09:50:07 +02:00
Chris Johns
581cce2626 libdebugger: Fix for ARMv7-M with -O0 optimization 2019-04-09 17:52:39 +10:00
Sebastian Huber
71c5b005c7 spmisc01: Use RTEMS_CONST
Update #3734.
2019-04-09 08:18:28 +02:00
Sebastian Huber
f9219db2a9 rtems: Add rtems_scheduler_get_processor_maximum()
Add rtems_scheduler_get_processor_maximum() as a replacement for
rtems_get_processor_count(). The rtems_get_processor_count() is a bit
orphaned. Adopt it by the Scheduler Manager. The count is also
misleading, since the processor set may have gaps and the actual count
of online processors may be less than the value returned by
rtems_get_processor_count().

Update #3732.
2019-04-09 08:06:46 +02:00
Sebastian Huber
03c9f24061 rtems: Add rtems_scheduler_get_processor()
Add rtems_scheduler_get_processor() as a replacement for
rtems_get_current_processor(). The rtems_get_current_processor() is a
bit orphaned. Adopt it by the Scheduler Manager. This is in line with
the glibc sched_getcpu() function.

Deprecate rtems_get_current_processor().

Update #3731.
2019-04-09 08:06:46 +02:00
Sebastian Huber
3c50c32865 score: Add RTEMS_CONST
Close #3734.
2019-04-09 08:06:46 +02:00
Sebastian Huber
222570a61b bsps/arm: Optimize ARMv7-M CPU counter
Update #3456.
2019-04-09 08:06:46 +02:00
Sebastian Huber
e0dcf29438 Remove superfluous run-time check
The _Objects_Information_table[ the_api ] is never NULL for a valid API
index.
2019-04-09 07:31:25 +02:00
Sebastian Huber
b8a0a49672 bsps/arm: Fix ARMv7-M CPU counter
Read the current counter value again after we know that we had an
underflow.

Update #3456.
2019-04-09 07:31:25 +02:00
Chris Johns
2c09b71faf libdebugger: Use an offset table to format GDB g packets.
Adding support for a register offset table lets FPU registers
be supported if added to the backend.

Closes #3733.
2019-04-09 15:02:24 +10:00
Sebastian Huber
8a8b95aa1d doxygen: Update _Objects_Build_name()
This is intended as an example in the RTEMS Software Engineering manual.

Update #3704.
2019-04-05 07:46:46 +02:00
Sebastian Huber
4c20da4be4 doxygen: Rename Score* groups in RTEMSScore*
Update #3706
2019-04-04 09:18:55 +02:00
Andreas Dachsberger
7b0903293b doxygen: Split up "libmisc" subgroups and removed libmisc
Update #3706.
2019-04-04 08:23:30 +02:00
Andreas Dachsberger
c9bd696eb4 doxygen: New API subgroup Tracing
Update #3706.
2019-04-04 08:23:30 +02:00
Andreas Dachsberger
bbdf93869d doxygen: Added RTEMS Test Framework to API
Update #3706.
2019-04-04 08:23:30 +02:00
Andreas Dachsberger
51f8d73bdb doxygen: Added inttypes.h to Print Support
Update #3706.
2019-04-04 08:23:29 +02:00
Andreas Dachsberger
57a076cd11 doxygen: Added subclasses to API
Update #3706.

RTEMS Application Loader, RTEMS Runtime Link Editor, Status Checks
and Test Support
2019-04-04 08:23:19 +02:00
Andreas Dachsberger
7155b5bc29 doxygen: Zero and Null Device Drivers now in Device Drivers
Update #3706.
2019-04-04 08:21:50 +02:00
Andreas Dachsberger
7e5ed6b789 doxygen: Print Support now in API->IO
Update #3706.
2019-04-04 08:21:48 +02:00
Andreas Dachsberger
bd675f394c doxygen: Mouse now in Device Drivers
Update #3706.
2019-04-04 08:20:50 +02:00
Andreas Dachsberger
74bfbc1f5f doxygen: Time Test 27 now in Device Drivers
Update #3706.
2019-04-04 08:20:50 +02:00
Andreas Dachsberger
b8cff580fa doxygen: Benchmark Timer Driver Interface now in Device Drivers
Update #3706.
2019-04-04 08:20:50 +02:00
Andreas Dachsberger
2bc058dbff doxygen: Put Real-Timer Clock Driver Interface into group Device Drivers
Update #3706.
2019-04-04 08:20:50 +02:00
Andreas Dachsberger
885c9a7066 doxygen: Put Print Support in IO
Update #3706.
2019-04-04 08:20:38 +02:00
Andreas Dachsberger
2a56a1cf5f doxygen: Real Time Clock Time of Day API Definition in BSP->Shared
Update #3706.
2019-04-04 08:20:07 +02:00