Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
thread_info.h File Reference
#include <asm/types.h>
#include <asm/page.h>
#include <asm/segment.h>

Go to the source code of this file.

Data Structures

struct  thread_info
 

Macros

#define THREAD_SIZE   8192
 
#define THREAD_SIZE_ORDER   ((THREAD_SIZE / PAGE_SIZE) - 1)
 
#define PREEMPT_ACTIVE   0x4000000
 
#define INIT_THREAD_INFO(tsk)
 
#define init_stack   (init_thread_union.stack)
 
#define init_thread_info   (init_thread_union.thread_info)
 
#define TIF_NOTIFY_RESUME   5 /* callback before returning to user */
 
#define TIF_SIGPENDING   6 /* signal pending */
 
#define TIF_NEED_RESCHED   7 /* rescheduling necessary */
 
#define TIF_DELAYED_TRACE   14 /* single step a syscall */
 
#define TIF_SYSCALL_TRACE   15 /* syscall trace active */
 
#define TIF_MEMDIE   16 /* is terminating due to OOM killer */
 
#define TIF_RESTORE_SIGMASK   18 /* restore signal mask in do_signal */
 

Macro Definition Documentation

#define init_stack   (init_thread_union.stack)

Definition at line 51 of file thread_info.h.

#define INIT_THREAD_INFO (   tsk)
Value:
{ \
.task = &tsk, \
.exec_domain = &default_exec_domain, \
.addr_limit = KERNEL_DS, \
.preempt_count = INIT_PREEMPT_COUNT, \
.restart_block = { \
}, \
}

Definition at line 40 of file thread_info.h.

#define init_thread_info   (init_thread_union.thread_info)

Definition at line 68 of file thread_info.h.

#define PREEMPT_ACTIVE   0x4000000

Definition at line 38 of file thread_info.h.

#define THREAD_SIZE   8192

Definition at line 17 of file thread_info.h.

#define THREAD_SIZE_ORDER   ((THREAD_SIZE / PAGE_SIZE) - 1)

Definition at line 22 of file thread_info.h.

#define TIF_DELAYED_TRACE   14 /* single step a syscall */

Definition at line 77 of file thread_info.h.

#define TIF_MEMDIE   16 /* is terminating due to OOM killer */

Definition at line 79 of file thread_info.h.

#define TIF_NEED_RESCHED   7 /* rescheduling necessary */

Definition at line 76 of file thread_info.h.

#define TIF_NOTIFY_RESUME   5 /* callback before returning to user */

Definition at line 74 of file thread_info.h.

#define TIF_RESTORE_SIGMASK   18 /* restore signal mask in do_signal */

Definition at line 80 of file thread_info.h.

#define TIF_SIGPENDING   6 /* signal pending */

Definition at line 75 of file thread_info.h.

#define TIF_SYSCALL_TRACE   15 /* syscall trace active */

Definition at line 78 of file thread_info.h.