PageRenderTime 11ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/ia64/include/asm/sn/sn_feature_sets.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 58 lines | 13 code | 10 blank | 35 comment | 0 complexity | 55213969d3842454fa4cd4a0bbe7e228 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1#ifndef _ASM_IA64_SN_FEATURE_SETS_H
 2#define _ASM_IA64_SN_FEATURE_SETS_H
 3
 4/*
 5 * SN PROM Features
 6 *
 7 * This file is subject to the terms and conditions of the GNU General Public
 8 * License.  See the file "COPYING" in the main directory of this archive
 9 * for more details.
10 *
11 * Copyright (c) 2005-2006 Silicon Graphics, Inc.  All rights reserved.
12 */
13
14
15/* --------------------- PROM Features -----------------------------*/
16extern int sn_prom_feature_available(int id);
17
18#define MAX_PROM_FEATURE_SETS			2
19
20/*
21 * The following defines features that may or may not be supported by the
22 * current PROM. The OS uses sn_prom_feature_available(feature) to test for
23 * the presence of a PROM feature. Down rev (old) PROMs will always test
24 * "false" for new features.
25 *
26 * Use:
27 * 		if (sn_prom_feature_available(PRF_XXX))
28 * 			...
29 */
30
31#define PRF_PAL_CACHE_FLUSH_SAFE	0
32#define PRF_DEVICE_FLUSH_LIST		1
33#define PRF_HOTPLUG_SUPPORT		2
34#define PRF_CPU_DISABLE_SUPPORT		3
35
36/* --------------------- OS Features -------------------------------*/
37
38/*
39 * The following defines OS features that are optionally present in
40 * the operating system.
41 * During boot, PROM is notified of these features via a series of calls:
42 *
43 * 		ia64_sn_set_os_feature(feature1);
44 *
45 * Once enabled, a feature cannot be disabled.
46 *
47 * By default, features are disabled unless explicitly enabled.
48 *
49 * These defines must be kept in sync with the corresponding
50 * PROM definitions in feature_sets.h.
51 */
52#define  OSF_MCA_SLV_TO_OS_INIT_SLV	0
53#define  OSF_FEAT_LOG_SBES		1
54#define  OSF_ACPI_ENABLE		2
55#define  OSF_PCISEGMENT_ENABLE		3
56
57
58#endif /* _ASM_IA64_SN_FEATURE_SETS_H */