2005-08-31 11:05:00 -04:00
|
|
|
#ifndef _ASM_IA64_SN_FEATURE_SETS_H
|
|
|
|
#define _ASM_IA64_SN_FEATURE_SETS_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SN PROM Features
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
2006-01-24 17:49:43 -05:00
|
|
|
* Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved.
|
2005-08-31 11:05:00 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/* --------------------- PROM Features -----------------------------*/
|
|
|
|
extern int sn_prom_feature_available(int id);
|
|
|
|
|
|
|
|
#define MAX_PROM_FEATURE_SETS 2
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following defines features that may or may not be supported by the
|
|
|
|
* current PROM. The OS uses sn_prom_feature_available(feature) to test for
|
|
|
|
* the presence of a PROM feature. Down rev (old) PROMs will always test
|
|
|
|
* "false" for new features.
|
|
|
|
*
|
|
|
|
* Use:
|
2006-01-24 17:49:43 -05:00
|
|
|
* if (sn_prom_feature_available(PRF_XXX))
|
2005-08-31 11:05:00 -04:00
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
|
2006-01-25 18:51:14 -05:00
|
|
|
#define PRF_PAL_CACHE_FLUSH_SAFE 0
|
|
|
|
#define PRF_DEVICE_FLUSH_LIST 1
|
2005-08-31 11:05:00 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* --------------------- OS Features -------------------------------*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following defines OS features that are optionally present in
|
|
|
|
* the operating system.
|
|
|
|
* During boot, PROM is notified of these features via a series of calls:
|
|
|
|
*
|
|
|
|
* ia64_sn_set_os_feature(feature1);
|
|
|
|
*
|
|
|
|
* Once enabled, a feature cannot be disabled.
|
|
|
|
*
|
|
|
|
* By default, features are disabled unless explicitly enabled.
|
|
|
|
*/
|
2006-01-25 18:51:14 -05:00
|
|
|
#define OSF_MCA_SLV_TO_OS_INIT_SLV 0
|
|
|
|
#define OSF_FEAT_LOG_SBES 1
|
2005-08-31 11:05:00 -04:00
|
|
|
|
|
|
|
#endif /* _ASM_IA64_SN_FEATURE_SETS_H */
|