Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git] / drivers / xen / sfc_netback / ci / compat / x86.h
1 /****************************************************************************
2  * Copyright 2002-2005: Level 5 Networks Inc.
3  * Copyright 2005-2008: Solarflare Communications Inc,
4  *                      9501 Jeronimo Road, Suite 250,
5  *                      Irvine, CA 92618, USA
6  *
7  * Maintained by Solarflare Communications
8  *  <linux-xen-drivers@solarflare.com>
9  *  <onload-dev@solarflare.com>
10  *
11  * This program is free software; you can redistribute it and/or modify it
12  * under the terms of the GNU General Public License version 2 as published
13  * by the Free Software Foundation, incorporated herein by reference.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23  ****************************************************************************
24  */
25
26 /*! \cidoxg_include_ci_compat  */
27
28 #ifndef __CI_COMPAT_X86_H__
29 #define __CI_COMPAT_X86_H__
30
31
32 #define CI_MY_BYTE_ORDER   CI_LITTLE_ENDIAN
33
34 #define CI_WORD_SIZE       4
35 #define CI_PTR_SIZE        4
36
37 #define CI_PAGE_SIZE       4096
38 #define CI_PAGE_SHIFT      12
39 #define CI_PAGE_MASK       (~(CI_PAGE_SIZE - 1))
40
41 #define CI_CPU_HAS_SSE     1    /* SSE extensions supported */
42 #define CI_CPU_HAS_SSE2    0    /* SSE2 extensions supported */
43 #define CI_CPU_OOS         0    /* CPU does out of order stores */
44
45
46 #endif  /* __CI_COMPAT_X86_H__ */
47
48 /*! \cidoxg_end */