• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/shared/skas/
1/*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
5
6#ifndef __SKAS_PROC_MM_H
7#define __SKAS_PROC_MM_H
8
9#define MM_MMAP 54
10#define MM_MUNMAP 55
11#define MM_MPROTECT 56
12#define MM_COPY_SEGMENTS 57
13
14struct mm_mmap {
15	unsigned long addr;
16	unsigned long len;
17	unsigned long prot;
18	unsigned long flags;
19	unsigned long fd;
20	unsigned long offset;
21};
22
23struct mm_munmap {
24	unsigned long addr;
25	unsigned long len;
26};
27
28struct mm_mprotect {
29	unsigned long addr;
30	unsigned long len;
31	unsigned int prot;
32};
33
34struct proc_mm_op {
35	int op;
36	union {
37		struct mm_mmap mmap;
38		struct mm_munmap munmap;
39	        struct mm_mprotect mprotect;
40		int copy_segments;
41	} u;
42};
43
44#endif
45