Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_realme_mt6785
/
1c10070a55a38ad8489df8afd52c9a3ffd46bbb5
/
.
/
arch
/
um
/
include
/
task.h
blob: 6375ba7203c92f345117b563b217307e2442e273 [
file
] [
log
] [
blame
]
#ifndef
__TASK_H
#define
__TASK_H
#include
<kern_constants.h>
#define
TASK_REGS
(
task
)
((
union
uml_pt_regs
*)
&(((
char
*)
(
task
))[
HOST_TASK_REGS
]))
#define
TASK_PID
(
task
)
*((
int
*)
&(((
char
*)
(
task
))[
HOST_TASK_PID
]))
#endif