summaryrefslogtreecommitdiffstats
path: root/4/platforms/android-3/arch-arm/usr/include/asm/domain.h
blob: 973109e5b49ee03a232e5096437548672477dedb (plain)
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
29
30
31
32
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef __ASM_PROC_DOMAIN_H
#define __ASM_PROC_DOMAIN_H

#define DOMAIN_KERNEL 0
#define DOMAIN_TABLE 0
#define DOMAIN_USER 1
#define DOMAIN_IO 2

#define DOMAIN_NOACCESS 0
#define DOMAIN_CLIENT 1
#define DOMAIN_MANAGER 3

#define domain_val(dom,type) ((type) << (2*(dom)))

#ifndef __ASSEMBLY__

#define set_domain(x) do { } while (0)
#define modify_domain(dom,type) do { } while (0)

#endif
#endif