182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/****************************************************************************
282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   This header was automatically generated from a Linux kernel header
582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   of the same name, to make information necessary for userspace to
682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   structures, and macros generated from the original header, and thus,
882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   contains no copyrightable information.
982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   To edit the content of this header, modify the corresponding
1182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   Any manual change here will be lost the next time this script will
1582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   be run. You've been warned!
1682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
1882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************/
19525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#ifndef _UAPI_LINUX_SCHED_TYPES_H
20525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define _UAPI_LINUX_SCHED_TYPES_H
2182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/types.h>
22525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferrisstruct sched_param {
23525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  int sched_priority;
24525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris};
25525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define SCHED_ATTR_SIZE_VER0 48
26525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferrisstruct sched_attr {
27525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u32 size;
28525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u32 sched_policy;
29525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u64 sched_flags;
30525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __s32 sched_nice;
31525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u32 sched_priority;
32525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u64 sched_runtime;
33525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u64 sched_deadline;
34525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __u64 sched_period;
3582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
3682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
37