sn_feature_sets.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef _ASM_IA64_SN_FEATURE_SETS_H
  2. #define _ASM_IA64_SN_FEATURE_SETS_H
  3. /*
  4. * SN PROM Features
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. *
  10. * Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved.
  11. */
  12. #include <asm/types.h>
  13. #include <asm/bitops.h>
  14. /* --------------------- PROM Features -----------------------------*/
  15. extern int sn_prom_feature_available(int id);
  16. #define MAX_PROM_FEATURE_SETS 2
  17. /*
  18. * The following defines features that may or may not be supported by the
  19. * current PROM. The OS uses sn_prom_feature_available(feature) to test for
  20. * the presence of a PROM feature. Down rev (old) PROMs will always test
  21. * "false" for new features.
  22. *
  23. * Use:
  24. * if (sn_prom_feature_available(PRF_XXX))
  25. * ...
  26. */
  27. #define PRF_PAL_CACHE_FLUSH_SAFE 0
  28. #define PRF_DEVICE_FLUSH_LIST 1
  29. /* --------------------- OS Features -------------------------------*/
  30. /*
  31. * The following defines OS features that are optionally present in
  32. * the operating system.
  33. * During boot, PROM is notified of these features via a series of calls:
  34. *
  35. * ia64_sn_set_os_feature(feature1);
  36. *
  37. * Once enabled, a feature cannot be disabled.
  38. *
  39. * By default, features are disabled unless explicitly enabled.
  40. */
  41. #define OSF_MCA_SLV_TO_OS_INIT_SLV 0
  42. #define OSF_FEAT_LOG_SBES 1
  43. #endif /* _ASM_IA64_SN_FEATURE_SETS_H */