L4Re Operating System Framework
Interface and Usage Documentation
|
Files | |
file | kip.h |
Macros | |
#define | l4util_kip_for_each_feature(s) l4_kip_for_each_feature(s) |
Cycle through kernel features given in the KIP. | |
Functions | |
int | l4util_kip_kernel_is_ux (l4_kernel_info_t const *k) |
Return whether the kernel is running natively or under UX. | |
int | l4util_kip_kernel_has_feature (l4_kernel_info_t const *k, char const *str) |
Check if kernel supports a feature. | |
unsigned long | l4util_kip_kernel_abi_version (l4_kernel_info_t const *k) |
Return kernel ABI version. | |
#define l4util_kip_for_each_feature | ( | s | ) | l4_kip_for_each_feature(s) |
Cycle through kernel features given in the KIP.
Cycles through all KIP kernel feature strings. s must be a character pointer (char const *) initialized with l4_kip_version_string().
unsigned long l4util_kip_kernel_abi_version | ( | l4_kernel_info_t const * | k | ) |
Return kernel ABI version.
k | Pointer to the kernel info page (KIP). |
int l4util_kip_kernel_has_feature | ( | l4_kernel_info_t const * | k, |
char const * | str | ||
) |
Check if kernel supports a feature.
k | Pointer to the kernel info page (KIP). |
str | Feature name to check. |
Checks the feature field in the KIP for the given string.
int l4util_kip_kernel_is_ux | ( | l4_kernel_info_t const * | k | ) |
Return whether the kernel is running natively or under UX.
k | Pointer to the kernel info page (KIP). |