pal.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2005 Jakub Jermar
00003  * All rights reserved.
00004  *
00005  * Redistribution and use in source and binary forms, with or without
00006  * modification, are permitted provided that the following conditions
00007  * are met:
00008  *
00009  * - Redistributions of source code must retain the above copyright
00010  *   notice, this list of conditions and the following disclaimer.
00011  * - Redistributions in binary form must reproduce the above copyright
00012  *   notice, this list of conditions and the following disclaimer in the
00013  *   documentation and/or other materials provided with the distribution.
00014  * - The name of the author may not be used to endorse or promote products
00015  *   derived from this software without specific prior written permission.
00016  *
00017  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
00018  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00019  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00020  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
00021  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
00022  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00023  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00024  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00025  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00026  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00027  */
00028 
00035 #ifndef __ia64_PAL_H__
00036 #define __ia64_PAL_H__
00037 
00038 #define PAL_OK           0      
00039 #define PAL_UNIMPL      -1      
00040 #define PAL_INVARG      -2      
00041 #define PAL_ERR         -3      
00044 #define PAL_CACHE_FLUSH         1
00045 #define PAL_CACHE_INFO          2
00046 #define PAL_CACHE_INIT          3
00047 #define PAL_CACHE_PROT_INFO     38
00048 #define PAL_CACHE_SHARED_INFO   43
00049 #define PAL_CACHE_SUMMARY       4
00050 
00051 #define PAL_MEM_ATTRIB          5
00052 #define PAL_PREFETCH_VISIBILITY 41
00053 #define PAL_PTCE_INFO           6
00054 #define PAL_VM_INFO             7
00055 #define PAL_VM_PAGE_SIZE        34
00056 #define PAL_VM_SUMMARY          8
00057 #define PAL_VM_TR_READ          261
00058 
00059 #define PAL_BUS_GET_FEATURES    9
00060 #define PAL_BUS_SET_FEATURES    10
00061 #define PAL_DEBUG_INFO          11
00062 #define PAL_FIXED_ADDR          12
00063 #define PAL_FREQ_BASE           13
00064 #define PAL_FREQ_RATIOS         14
00065 #define PAL_LOGICAL_TO_PHYSICAL 42
00066 #define PAL_PERF_MON_INFO       15
00067 #define PAL_PLATFORM_ADDR       16
00068 #define PAL_PROC_GET_FEATURES   17
00069 #define PAL_PROC_SET_FEATURES   18
00070 #define PAL_REGISTER_INFO       39
00071 #define PAL_RSE_INFO            19
00072 #define PAL_VERSION             20
00073 
00074 #define PAL_MC_CLEAR_LOG        21
00075 #define PAL_MC_DRAIN            22
00076 #define PAL_MC_DYNAMIC_STATE    24
00077 #define PAL_MC_ERROR_INFO       25
00078 #define PAL_MC_EXPECTED         23
00079 #define PAL_MC_REGISTER_MEM     27
00080 #define PAL_MC_RESUME           26
00081 
00082 #define PAL_HALT                28
00083 #define PAL_HALT_INFO           257
00084 #define PAL_HALT_LIGHT          29
00085 
00086 #define PAL_CACHE_LINE_INIT     31
00087 #define PAL_CACHE_READ          259
00088 #define PAL_CACHE_WRITE         260
00089 #define PAL_TEST_INFO           37
00090 #define PAL_TEST_PROC           258
00091 
00092 #define PAL_COPY_INFO           30
00093 #define PAL_COPY_PAL            256
00094 #define PAL_ENTER_IA_32_ENV     33
00095 #define PAL_PMI_ENTRYPOINT      32
00096 
00097 /*
00098         Ski PTCE data
00099 */
00100 #define PAL_PTCE_INFO_BASE() (0x100000000LL)
00101 #define PAL_PTCE_INFO_COUNT1() (2)
00102 #define PAL_PTCE_INFO_COUNT2() (3)
00103 #define PAL_PTCE_INFO_STRIDE1() (0x10000000)
00104 #define PAL_PTCE_INFO_STRIDE2() (0x2000)
00105 
00106 
00107 #endif
00108 

Generated on Sun Jun 18 16:51:20 2006 for HelenOS Kernel (ia64) by  doxygen 1.4.6