summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/partdata.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-10-20 11:09:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-10-20 11:16:53 +0200
commitc15132aafdfdb10883224d88ae1b21c0157a547f (patch)
treee9f956dbb9b210ab2f207d8af9ea502a7ecf9b23 /cpukit/include/rtems/rtems/partdata.h
parentbsps/aarch64: Disable use of TTBR1 (diff)
downloadrtems-c15132aafdfdb10883224d88ae1b21c0157a547f.tar.bz2
mpci: Hide implementation details
This improves the standard compatibility of API headers. It fixes errors like this if RTEMS_MULTIPROCESSING is enabled: cpukit/include/rtems/score/processormask.h: In function 'uint32_t _Processor_mask_Find_last_set(const Processor_mask*)': cpukit/include/rtems/score/processormask.h:339:21: error: 'flsl' was not declared in this scope 339 | return (uint32_t) __BIT_FLS( CPU_MAXIMUM_PROCESSORS, a ); | ^~~~~~~~~
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/rtems/partdata.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtems/partdata.h b/cpukit/include/rtems/rtems/partdata.h
index 864c47294e..6df4af81c5 100644
--- a/cpukit/include/rtems/rtems/partdata.h
+++ b/cpukit/include/rtems/rtems/partdata.h
@@ -116,6 +116,8 @@ typedef struct {
extern Objects_Information _Partition_Information;
#if defined(RTEMS_MULTIPROCESSING)
+struct _Thread_Control;
+
/**
* @brief Sends the extract proxy request.
*
@@ -126,8 +128,8 @@ extern Objects_Information _Partition_Information;
* @param id is the partition identifier.
*/
void _Partition_MP_Send_extract_proxy (
- Thread_Control *the_thread,
- Objects_Id id
+ struct _Thread_Control *the_thread,
+ Objects_Id id
);
#endif