Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
trio_shm.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Tilera Corporation. All Rights Reserved.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation, version 2.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11  * NON INFRINGEMENT. See the GNU General Public License for
12  * more details.
13  */
14 
15 /* Machine-generated file; do not edit. */
16 
17 
18 #ifndef __ARCH_TRIO_SHM_H__
19 #define __ARCH_TRIO_SHM_H__
20 
21 #include <arch/abi.h>
22 #include <arch/trio_shm_def.h>
23 
24 #ifndef __ASSEMBLER__
25 
32 __extension__
33 typedef union
34 {
35  struct
36  {
37  /* Word 0 */
38 
39 #ifndef __BIG_ENDIAN__
40 
41  int_reg_t va : 42;
53  uint_reg_t bsz : 3;
69  uint_reg_t notif : 1;
83  uint_reg_t smod : 1;
88  uint_reg_t xsize : 14;
90  uint_reg_t __reserved_0 : 1;
98 #else /* __BIG_ENDIAN__ */
99  uint_reg_t gen : 1;
100  uint_reg_t __reserved_0 : 1;
101  uint_reg_t xsize : 14;
102  uint_reg_t smod : 1;
103  uint_reg_t notif : 1;
104  uint_reg_t c : 1;
105  uint_reg_t bsz : 3;
106  int_reg_t va : 42;
107 #endif
108 
109  /* Word 1 */
110 
111 #ifndef __BIG_ENDIAN__
112 
113  uint_reg_t io_address : 64;
114 #else /* __BIG_ENDIAN__ */
115  uint_reg_t io_address : 64;
116 #endif
117 
118  };
119 
121  uint_reg_t words[2];
123 #endif /* !defined(__ASSEMBLER__) */
124 
125 #endif /* !defined(__ARCH_TRIO_SHM_H__) */