- Update Xen patches to 3.3-rc5 and c/s 1157.
[linux-flexiantxendom0-3.2.10.git] / drivers / xen / sfc_netback / ci / compat / x86_64.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 /*
27  * \author  djr
28  *  \brief  Arch stuff for AMD x86_64.
29  *   \date  2004/08/17
30  */
31
32 /*! \cidoxg_include_ci_compat  */
33 #ifndef __CI_COMPAT_X86_64_H__
34 #define __CI_COMPAT_X86_64_H__
35
36
37 #define CI_MY_BYTE_ORDER        CI_LITTLE_ENDIAN
38
39 #define CI_WORD_SIZE            8
40 #define CI_PTR_SIZE             8
41
42 #define CI_PAGE_SIZE            4096
43 #define CI_PAGE_SHIFT           12
44 #define CI_PAGE_MASK            (~(CI_PAGE_SIZE - 1))
45
46 #define CI_CPU_HAS_SSE          1       /* SSE extensions supported */
47
48 /* SSE2 disabled while investigating BUG1060 */
49 #define CI_CPU_HAS_SSE2         0       /* SSE2 extensions supported */
50 #define CI_CPU_OOS              0       /* CPU does out of order stores */
51
52
53 #endif  /* __CI_COMPAT_X86_64_H__ */
54 /*! \cidoxg_end */