/* * Fully exercise CPU_SET() methods */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #define CONFIGURE_INIT #include #include #include #include #include "system.h" const char rtems_test_name[] = "SPCPUSET 1"; #if defined(__RTEMS_HAVE_SYS_CPUSET_H__) static void test_cpu_zero_case_1(void) { size_t i; /* * Set to all zeros and verify */ puts( "Exercise CPU_ZERO, CPU_ISSET, and CPU_COUNT" ); CPU_ZERO(&set3); /* test if all bits clear */ for (i=0 ; i