2 #define LIBTEST_MISC_VERSION_STRING "7.1.0"
3 #define LIBTEST_MISC_VERSION_INTEGER 710
5 #define LIBTEST_MISC_OFFSETOF( structure, member ) (lfds710_pal_uint_t) ( ( &( (structure *) NULL )->member ) )
8 enum libtest_misc_determine_erg_result
10 LIBTEST_MISC_DETERMINE_ERG_RESULT_SUCCESS,
11 LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE,
12 LIBTEST_MISC_DETERMINE_ERG_RESULT_ONE_PHYSICAL_CORE_OR_NO_LLSC,
13 LIBTEST_MISC_DETERMINE_ERG_RESULT_NO_LLSC,
14 LIBTEST_MISC_DETERMINE_ERG_RESULT_NOT_SUPPORTED
17 enum libtest_misc_query
19 LIBTEST_MISC_QUERY_GET_BUILD_AND_VERSION_STRING
24 *libtest_misc_global_validity_names[];
26 /***** public prototypes *****/
27 void *libtest_misc_aligned_malloc( lfds710_pal_uint_t size, lfds710_pal_uint_t align_in_bytes );
28 void libtest_misc_aligned_free( void *memory );
30 void libtest_misc_determine_erg( struct libshared_memory_state *ms,
31 lfds710_pal_uint_t (*count_array)[10],
32 enum libtest_misc_determine_erg_result *der,
33 lfds710_pal_uint_t *erg_length_in_bytes );
35 void libtest_misc_pal_helper_add_logical_processor_to_list_of_logical_processors( struct lfds710_list_asu_state *list_of_logical_processors,
36 struct libshared_memory_state *ms,
37 lfds710_pal_uint_t logical_processor_number,
38 lfds710_pal_uint_t windows_processor_group_number );
40 void libtest_misc_query( enum libtest_misc_query query_type,