Subversion Repositories HelenOS-historic

Rev

Rev 435 | Rev 534 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Copyright (C) 2005 Jakub Jermar
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms, with or without
  6.  * modification, are permitted provided that the following conditions
  7.  * are met:
  8.  *
  9.  * - Redistributions of source code must retain the above copyright
  10.  *   notice, this list of conditions and the following disclaimer.
  11.  * - Redistributions in binary form must reproduce the above copyright
  12.  *   notice, this list of conditions and the following disclaimer in the
  13.  *   documentation and/or other materials provided with the distribution.
  14.  * - The name of the author may not be used to endorse or promote products
  15.  *   derived from this software without specific prior written permission.
  16.  *
  17.  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  18.  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  19.  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  20.  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  21.  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  22.  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  23.  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  24.  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  25.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  26.  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27.  */
  28.  
  29. #ifndef __ia64_PAL_H__
  30. #define __ia64_PAL_H__
  31.  
  32. #define PAL_OK       0  /**< Call completed without error. */
  33. #define PAL_UNIMPL  -1  /**< Unimplemented procedure. */
  34. #define PAL_INVARG  -2  /**< Invalid argument. */
  35. #define PAL_ERR     -3  /**< Can not compete call without error. */
  36.  
  37. /** These are the indices for PAL_PROC. */
  38. #define PAL_CACHE_FLUSH     1
  39. #define PAL_CACHE_INFO      2
  40. #define PAL_CACHE_INIT      3
  41. #define PAL_CACHE_PROT_INFO 38
  42. #define PAL_CACHE_SHARED_INFO   43
  43. #define PAL_CACHE_SUMMARY   4
  44.  
  45. #define PAL_MEM_ATTRIB      5
  46. #define PAL_PREFETCH_VISIBILITY 41
  47. #define PAL_PTCE_INFO       6
  48. #define PAL_VM_INFO     7
  49. #define PAL_VM_PAGE_SIZE    34
  50. #define PAL_VM_SUMMARY      8
  51. #define PAL_VM_TR_READ      261
  52.  
  53. #define PAL_BUS_GET_FEATURES    9
  54. #define PAL_BUS_SET_FEATURES    10
  55. #define PAL_DEBUG_INFO      11
  56. #define PAL_FIXED_ADDR      12
  57. #define PAL_FREQ_BASE       13
  58. #define PAL_FREQ_RATIOS     14
  59. #define PAL_LOGICAL_TO_PHYSICAL 42
  60. #define PAL_PERF_MON_INFO   15
  61. #define PAL_PLATFORM_ADDR   16
  62. #define PAL_PROC_GET_FEATURES   17
  63. #define PAL_PROC_SET_FEATURES   18
  64. #define PAL_REGISTER_INFO   39
  65. #define PAL_RSE_INFO        19
  66. #define PAL_VERSION     20
  67.  
  68. #define PAL_MC_CLEAR_LOG    21
  69. #define PAL_MC_DRAIN        22
  70. #define PAL_MC_DYNAMIC_STATE    24
  71. #define PAL_MC_ERROR_INFO   25
  72. #define PAL_MC_EXPECTED     23
  73. #define PAL_MC_REGISTER_MEM 27
  74. #define PAL_MC_RESUME       26
  75.  
  76. #define PAL_HALT        28
  77. #define PAL_HALT_INFO       257
  78. #define PAL_HALT_LIGHT      29
  79.  
  80. #define PAL_CACHE_LINE_INIT 31
  81. #define PAL_CACHE_READ      259
  82. #define PAL_CACHE_WRITE     260
  83. #define PAL_TEST_INFO       37
  84. #define PAL_TEST_PROC       258
  85.  
  86. #define PAL_COPY_INFO       30
  87. #define PAL_COPY_PAL        256
  88. #define PAL_ENTER_IA_32_ENV 33
  89. #define PAL_PMI_ENTRYPOINT  32
  90.  
  91. #endif
  92.