Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | mm_segment_t |
Macros | |
#define | USER_DATA (1) |
#define | __USER_DS (USER_DATA) |
#define | USER_PROGRAM (2) |
#define | SUPER_DATA (5) |
#define | __KERNEL_DS (SUPER_DATA) |
#define | SUPER_PROGRAM (6) |
#define | CPU_SPACE (7) |
#define | MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) |
#define | USER_DS MAKE_MM_SEG(TASK_SIZE) |
#define | KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) |
#define | get_ds() (KERNEL_DS) |
#define | get_fs() (current_thread_info()->addr_limit) |
#define | set_fs(x) (current_thread_info()->addr_limit = (x)) |
#define | segment_eq(a, b) ((a).seg == (b).seg) |
#define __KERNEL_DS (SUPER_DATA) |
#define get_fs | ( | void | ) | (current_thread_info()->addr_limit) |
#define KERNEL_DS MAKE_MM_SEG(0xFFFFFFFF) |
#define MAKE_MM_SEG | ( | s | ) | ((mm_segment_t) { (s) }) |
#define set_fs | ( | x | ) | (current_thread_info()->addr_limit = (x)) |
#define USER_DS MAKE_MM_SEG(TASK_SIZE) |