Rev 823 | Rev 973 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 823 | Rev 940 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | #define USER_ADDRESS_SPACE_START USER_ADDRESS_SPACE_START_ARCH |
42 | #define USER_ADDRESS_SPACE_START USER_ADDRESS_SPACE_START_ARCH |
43 | #define USER_ADDRESS_SPACE_END USER_ADDRESS_SPACE_END_ARCH |
43 | #define USER_ADDRESS_SPACE_END USER_ADDRESS_SPACE_END_ARCH |
44 | 44 | ||
45 | #define IS_KA(addr) ((addr)>=KERNEL_ADDRESS_SPACE_START && (addr)<=KERNEL_ADDRESS_SPACE_END) |
45 | #define IS_KA(addr) ((addr)>=KERNEL_ADDRESS_SPACE_START && (addr)<=KERNEL_ADDRESS_SPACE_END) |
46 | 46 | ||
47 | #define UTEXT_ADDRESS UTEXT_ADDRESS_ARCH |
- | |
48 | #define USTACK_ADDRESS USTACK_ADDRESS_ARCH |
47 | #define USTACK_ADDRESS USTACK_ADDRESS_ARCH |
49 | #define UDATA_ADDRESS UDATA_ADDRESS_ARCH |
- | |
50 | 48 | ||
51 | #define FLAG_AS_KERNEL (1 << 0) /**< Kernel address space. */ |
49 | #define FLAG_AS_KERNEL (1 << 0) /**< Kernel address space. */ |
52 | 50 | ||
53 | enum as_area_type { |
51 | enum as_area_type { |
54 | AS_AREA_TEXT = 1, AS_AREA_DATA, AS_AREA_STACK |
52 | AS_AREA_TEXT = 1, AS_AREA_DATA, AS_AREA_STACK |