File: constants.h

package info (click to toggle)
linux-kernel-headers 2.6.18-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 38,648 kB
  • ctags: 300,882
  • sloc: ansic: 461,192; asm: 1,555; cpp: 340; makefile: 312; sh: 110
file content (28 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __ASM_OFFSETS_H__
#define __ASM_OFFSETS_H__
/*
 * DO NOT MODIFY.
 *
 * This file was generated by arch/arm26/Makefile
 *
 */

#define TSK_ACTIVE_MM 96 /* offsetof(struct task_struct, active_mm) */

#define VMA_VM_MM 0 /* offsetof(struct vm_area_struct, vm_mm) */
#define VMA_VM_FLAGS 20 /* offsetof(struct vm_area_struct, vm_flags) */

#define VM_EXEC 4 /* VM_EXEC */


#define PAGE_PRESENT 1 /* L_PTE_PRESENT */
#define PAGE_READONLY 95 /* PAGE_READONLY */
#define PAGE_NOT_USER 3 /* PAGE_NONE */
#define PAGE_OLD 3 /* PAGE_NONE */
#define PAGE_CLEAN 128 /* L_PTE_DIRTY */

#define PAGE_SZ 32768 /* PAGE_SIZE */

#define SYS_ERROR0 10420224 /* 0x9f0000 */

#endif