You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
290 B
11 lines
290 B
#ifndef __UM_THREAD_H
|
|
#define __UM_THREAD_H
|
|
|
|
#include <kern_constants.h>
|
|
|
|
#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS]))
|
|
#ifdef UML_CONFIG_MODE_TT
|
|
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID]))
|
|
#endif
|
|
|
|
#endif
|
|
|