blob: e2bd6bae8b8aea0142d8fddb7eed0efe8cfcf672 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include <kern_constants.h>
#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS]))
#ifdef CONFIG_MODE_TT
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID]))
#endif
#endif
|