![]() |
RTEMS 6.3
|
This group contains the implementation to support processor masks. More...
Files | |
| file | cpukit/include/rtems/score/processormask.h |
| This header file provides the interfaces of the Processor Mask. | |
| file | cpukit/include/rtems/score/processormaskimpl.h |
| This header file provides the interfaces of the Processor Mask. | |
| file | cpukit/score/src/processormaskcopy.c |
| This source file contains the definition of ::_Processor_mask_The_one_and_only and the implementation of _Processor_mask_Copy(). | |
Enumerations | |
| enum | Processor_mask_Copy_status { PROCESSOR_MASK_COPY_LOSSLESS , PROCESSOR_MASK_COPY_PARTIAL_LOSS , PROCESSOR_MASK_COPY_COMPLETE_LOSS , PROCESSOR_MASK_COPY_INVALID_SIZE } |
Functions | |
| typedef | __BITSET_DEFINE (Processor_mask, CPU_MAXIMUM_PROCESSORS) Processor_mask |
| A bit map which is large enough to provide one bit for each processor in the system. | |
| Processor_mask_Copy_status | _Processor_mask_Copy (long *dst, size_t dst_size, const long *src, size_t src_size) |
| Copies one mask to another. | |
Variables | |
| const Processor_mask | _Processor_mask_The_one_and_only |
This group contains the implementation to support processor masks.
The processor mask provides a bit map large enough to provide one bit for each processor in the system. It is a fixed size internal data type provided for efficiency in addition to the API level cpu_set_t.
| Processor_mask_Copy_status _Processor_mask_Copy | ( | long * | dst, |
| size_t | dst_size, | ||
| const long * | src, | ||
| size_t | src_size ) |
Copies one mask to another.
| [out] | dst | The destination of the copy operation. |
| dst_size | The size of dst. | |
| src | The source of the copy operation. | |
| src_size | The size of src. |
| PROCESSOR_MASK_COPY_LOSSLESS | It is guaranteed that the copy operation is lossless. |
| PROCESSOR_MASK_COPY_PARTIAL_LOSS | Partial loss happened due to the sizes of src and dst. |
| PROCESSOR_MASK_COPY_COMPLETE_LOSS | Complete loss happened due to the sizes of src and dst. |
| PROCESSOR_MASK_COPY_INVALID_SIZE | One of the arguments sizes is invalid (bigger than the size of a long). |