From 794eb1b786995b1aa18a1af15d4e6966f16ae8c4 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 14 Sep 2017 10:32:28 +1000 Subject: c-user: Clarify SMP's rtems_get_processor_count. --- c-user/symmetric_multiprocessing_services.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/c-user/symmetric_multiprocessing_services.rst b/c-user/symmetric_multiprocessing_services.rst index 16005f3..930be83 100644 --- a/c-user/symmetric_multiprocessing_services.rst +++ b/c-user/symmetric_multiprocessing_services.rst @@ -510,7 +510,10 @@ CALLING SEQUENCE: uint32_t rtems_get_processor_count(void); DIRECTIVE STATUS CODES: - The count of processors in the system. + + The count of processors in the system that can be run. The value returned + is the highest numbered processor index of all processors available to the + application (if a scheduler is assigned) plus one. DESCRIPTION: In uni-processor configurations, a value of one will be returned. -- cgit v1.2.3