<commit_before>/********************************************************************
* Description:  xenomai-kernel.h
*               This file defines the differences specific to the
*               the Xenomai kernel thread system
********************************************************************/

#include <native/task.h>	/* RT_TASK, rt_task_*() */

/* rtapi_common.c */
// Init rt_stats for RTAPI
#define HAVE_INIT_RTAPI_DATA_HOOK

/* rtapi_proc */
#define HAVE_RTAPI_READ_STATUS_HOOK


/* Priority functions settings */

// Xenomai rt_task priorities are 0: lowest .. 99: highest
#define PRIO_LOWEST 0
#define PRIO_HIGHEST 99


/* rtapi_module.c */
/* rt_linux_use_fpu informs the scheduler that floating point
   arithmetic operations will be used also by foreground Linux
   processes, i.e. the Linux kernel itself (unlikely) and any of its
   processes. */
// FIXME unsure how this relates to Xenomai
// #define RT_LINUX_USE_FPU

#define HAVE_RTAPI_MODULE_INIT_HOOK

/* rtapi_task.c */
#define HAVE_RTAPI_TASK_NEW_HOOK
#define HAVE_RTAPI_WAIT_HOOK


/* rtapi_io hooks */


/* rtapi_time.c */
#ifdef RTAPI
#define HAVE_RTAPI_CLOCK_SET_PERIOD_HOOK
#define HAVE_RTAPI_GET_TIME_HOOK
#define HAVE_RTAPI_GET_CLOCKS_HOOK
#endif<commit_msg>xenomai-kernel: add missing HAVE_RTAPI_TASK_SELF_HOOK<commit_after>/********************************************************************
* Description:  xenomai-kernel.h
*               This file defines the differences specific to the
*               the Xenomai kernel thread system
********************************************************************/

#include <native/task.h>	/* RT_TASK, rt_task_*() */

/* rtapi_common.c */
// Init rt_stats for RTAPI
#define HAVE_INIT_RTAPI_DATA_HOOK

/* rtapi_proc */
#define HAVE_RTAPI_READ_STATUS_HOOK


/* Priority functions settings */

// Xenomai rt_task priorities are 0: lowest .. 99: highest
#define PRIO_LOWEST 0
#define PRIO_HIGHEST 99


/* rtapi_module.c */
/* rt_linux_use_fpu informs the scheduler that floating point
   arithmetic operations will be used also by foreground Linux
   processes, i.e. the Linux kernel itself (unlikely) and any of its
   processes. */
// FIXME unsure how this relates to Xenomai
// #define RT_LINUX_USE_FPU

#define HAVE_RTAPI_MODULE_INIT_HOOK

/* rtapi_task.c */
#define HAVE_RTAPI_TASK_NEW_HOOK
#define HAVE_RTAPI_WAIT_HOOK
#define HAVE_RTAPI_TASK_SELF_HOOK


/* rtapi_io hooks */


/* rtapi_time.c */
#ifdef RTAPI
#define HAVE_RTAPI_CLOCK_SET_PERIOD_HOOK
#define HAVE_RTAPI_GET_TIME_HOOK
#define HAVE_RTAPI_GET_CLOCKS_HOOK
#endif
{'fraction_non_alphanumeric': 0.17837626854020297, 'fraction_numerical': 0.00468384074941452, 'mean_word_length': 4.657836644591612, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6481557', 'n_tokens_mistral': 864, 'n_tokens_neox': 815, 'n_words': 212}