RTEMS 6.1-rc1
Macros | Enumerations | Functions | Variables
processormask.h File Reference

This header file provides the interfaces of the Processor Mask. More...

#include <rtems/score/cpu.h>
#include <sys/cpuset.h>
#include <strings.h>

Go to the source code of this file.

Macros

#define __BIT_AND2   BIT_AND2
 
#define __BIT_CLR   BIT_CLR
 
#define __BIT_CMP   BIT_CMP
 
#define __BIT_COPY   BIT_COPY
 
#define __BIT_COUNT   BIT_COUNT
 
#define __BITSET_DEFINE   BITSET_DEFINE
 
#define __BIT_EMPTY   BIT_EMPTY
 
#define __BIT_FILL   BIT_FILL
 
#define __BIT_FLS   BIT_FLS
 
#define __BIT_ISSET   BIT_ISSET
 
#define __BIT_OR2   BIT_OR2
 
#define __BIT_OVERLAP   BIT_OVERLAP
 
#define __BIT_SET   BIT_SET
 
#define __BIT_SETOF   BIT_SETOF
 
#define __BIT_SUBSET   BIT_SUBSET
 
#define __BIT_XOR2   BIT_XOR2
 
#define __BIT_ZERO   BIT_ZERO
 

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. More...
 

Variables

const Processor_mask _Processor_mask_The_one_and_only
 

Detailed Description

This header file provides the interfaces of the Processor Mask.