blob: 9ca642cad33878a0a3de28c74ae639998099ea86 [file] [log] [blame]
Jack Steinera1cddb82005-08-31 08:05:00 -07001#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 *
Dean Roefd8b2062006-01-24 14:49:43 -080011 * Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved.
Jack Steinera1cddb82005-08-31 08:05:00 -070012 */
13
14
15#include <asm/types.h>
16#include <asm/bitops.h>
17
18/* --------------------- PROM Features -----------------------------*/
19extern int sn_prom_feature_available(int id);
20
21#define MAX_PROM_FEATURE_SETS 2
22
23/*
24 * The following defines features that may or may not be supported by the
25 * current PROM. The OS uses sn_prom_feature_available(feature) to test for
26 * the presence of a PROM feature. Down rev (old) PROMs will always test
27 * "false" for new features.
28 *
29 * Use:
Dean Roefd8b2062006-01-24 14:49:43 -080030 * if (sn_prom_feature_available(PRF_XXX))
Jack Steinera1cddb82005-08-31 08:05:00 -070031 * ...
32 */
33
Prarit Bhargava61d67f22006-01-25 18:51:14 -050034#define PRF_PAL_CACHE_FLUSH_SAFE 0
35#define PRF_DEVICE_FLUSH_LIST 1
Jack Steinera1cddb82005-08-31 08:05:00 -070036
37
38
39/* --------------------- OS Features -------------------------------*/
40
41/*
42 * The following defines OS features that are optionally present in
43 * the operating system.
44 * During boot, PROM is notified of these features via a series of calls:
45 *
46 * ia64_sn_set_os_feature(feature1);
47 *
48 * Once enabled, a feature cannot be disabled.
49 *
50 * By default, features are disabled unless explicitly enabled.
51 */
Prarit Bhargava61d67f22006-01-25 18:51:14 -050052#define OSF_MCA_SLV_TO_OS_INIT_SLV 0
53#define OSF_FEAT_LOG_SBES 1
Jack Steinera1cddb82005-08-31 08:05:00 -070054
55#endif /* _ASM_IA64_SN_FEATURE_SETS_H */