Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_PROC_DOMAIN_H
     13 #define __ASM_PROC_DOMAIN_H
     14 
     15 #define DOMAIN_KERNEL 0
     16 #define DOMAIN_TABLE 0
     17 #define DOMAIN_USER 1
     18 #define DOMAIN_IO 2
     19 
     20 #define DOMAIN_NOACCESS 0
     21 #define DOMAIN_CLIENT 1
     22 #define DOMAIN_MANAGER 3
     23 
     24 #define domain_val(dom,type) ((type) << (2*(dom)))
     25 
     26 #ifndef __ASSEMBLY__
     27 
     28 #define set_domain(x) do { } while (0)
     29 #define modify_domain(dom,type) do { } while (0)
     30 
     31 #endif
     32 #endif
     33