Changeset 06e1e95 in mainline for kernel/arch/ia64
- Timestamp:
- 2006-09-14T17:09:21Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1d1f5d3
- Parents:
- e5ecc02
- Location:
- kernel/arch/ia64
- Files:
-
- 1 deleted
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/arg.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ARG_H__36 #define __ia64_ARG_H__35 #ifndef KERN_ia64_ARG_H_ 36 #define KERN_ia64_ARG_H_ 37 37 38 38 #include <stdarg.h> … … 40 40 #endif 41 41 42 42 /** @} 43 43 */ 44 -
kernel/arch/ia64/include/asm.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ASM_H__36 #define __ia64_ASM_H__35 #ifndef KERN_ia64_ASM_H_ 36 #define KERN_ia64_ASM_H_ 37 37 38 38 #include <config.h> … … 282 282 #endif 283 283 284 /** @} 285 */ 286 284 /** @} 285 */ -
kernel/arch/ia64/include/atomic.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ATOMIC_H__36 #define __ia64_ATOMIC_H__35 #ifndef KERN_ia64_ATOMIC_H_ 36 #define KERN_ia64_ATOMIC_H_ 37 37 38 38 /** Atomic addition. … … 63 63 #endif 64 64 65 65 /** @} 66 66 */ 67 -
kernel/arch/ia64/include/barrier.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_BARRIER_H__36 #define __ia64_BARRIER_H__35 #ifndef KERN_ia64_BARRIER_H_ 36 #define KERN_ia64_BARRIER_H_ 37 37 38 38 /* … … 51 51 #endif 52 52 53 53 /** @} 54 54 */ 55 -
kernel/arch/ia64/include/byteorder.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_BYTEORDER_H__36 #define __ia64_BYTEORDER_H__35 #ifndef KERN_ia64_BYTEORDER_H_ 36 #define KERN_ia64_BYTEORDER_H_ 37 37 38 38 /* IA-64 is little-endian */ … … 42 42 #endif 43 43 44 44 /** @} 45 45 */ 46 -
kernel/arch/ia64/include/context.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_CONTEXT_H__36 #define __ia64_CONTEXT_H__35 #ifndef KERN_ia64_CONTEXT_H_ 36 #define KERN_ia64_CONTEXT_H_ 37 37 38 38 #include <arch/types.h> … … 133 133 #endif 134 134 135 135 /** @} 136 136 */ 137 -
kernel/arch/ia64/include/cpu.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __ia64_CPU_H__36 #define __ia64_CPU_H__35 #ifndef KERN_ia64_CPU_H_ 36 #define KERN_ia64_CPU_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/ia64/include/debug.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64debug ia64 30 30 * @ingroup debug 31 31 * @{ … … 34 34 */ 35 35 36 #ifndef __ia64_DEBUG_H__37 #define __ia64_DEBUG_H__36 #ifndef KERN_ia64_DEBUG_H_ 37 #define KERN_ia64_DEBUG_H_ 38 38 39 39 #endif 40 40 41 41 /** @} 42 42 */ 43 -
kernel/arch/ia64/include/drivers/it.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_IT_H__36 #define __ia64_IT_H__35 #ifndef KERN_ia64_IT_H_ 36 #define KERN_ia64_IT_H_ 37 37 38 38 /* … … 49 49 #endif 50 50 51 51 /** @} 52 52 */ 53 -
kernel/arch/ia64/include/elf.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ELF_H__36 #define __ia64_ELF_H__35 #ifndef KERN_ia64_ELF_H_ 36 #define KERN_ia64_ELF_H_ 37 37 38 38 #define ELF_MACHINE EM_IA_64 … … 42 42 #endif 43 43 44 44 /** @} 45 45 */ 46 -
kernel/arch/ia64/include/fpu_context.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_FPU_CONTEXT_H__36 #define __ia64_FPU_CONTEXT_H__35 #ifndef KERN_ia64_FPU_CONTEXT_H_ 36 #define KERN_ia64_FPU_CONTEXT_H_ 37 37 38 38 #define ARCH_HAS_FPU 1 … … 47 47 }; 48 48 49 50 49 #endif 51 50 52 51 /** @} 53 52 */ 54 -
kernel/arch/ia64/include/interrupt.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64interrupt 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_INTERRUPT_H__36 #define __ia64_INTERRUPT_H__35 #ifndef KERN_ia64_INTERRUPT_H_ 36 #define KERN_ia64_INTERRUPT_H_ 37 37 38 38 #include <typedefs.h> … … 124 124 return istate->cr_iip; 125 125 } 126 #include <panic.h> 126 127 127 static inline int istate_from_uspace(istate_t *istate) 128 128 { … … 140 140 extern void disabled_fp_register(uint64_t vector, istate_t *istate); 141 141 142 143 144 142 #endif 145 143 146 144 /** @} 147 145 */ 148 -
kernel/arch/ia64/include/memstr.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_MEMSTR_H__36 #define __ia64_MEMSTR_H__35 #ifndef KERN_ia64_MEMSTR_H_ 36 #define KERN_ia64_MEMSTR_H_ 37 37 38 38 #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) … … 45 45 #endif 46 46 47 47 /** @} 48 48 */ 49 -
kernel/arch/ia64/include/mm/as.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_AS_H__36 #define __ia64_AS_H__35 #ifndef KERN_ia64_AS_H_ 36 #define KERN_ia64_AS_H_ 37 37 38 38 #define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH 0 … … 49 49 #endif 50 50 51 51 /** @} 52 52 */ 53 -
kernel/arch/ia64/include/mm/asid.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_ASID_H__36 #define __ia64_ASID_H__35 #ifndef KERN_ia64_ASID_H_ 36 #define KERN_ia64_ASID_H_ 37 37 38 38 #ifndef __ASM__ … … 63 63 #endif 64 64 65 65 /** @} 66 66 */ 67 -
kernel/arch/ia64/include/mm/frame.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_FRAME_H__36 #define __ia64_FRAME_H__35 #ifndef KERN_ia64_FRAME_H_ 36 #define KERN_ia64_FRAME_H_ 37 37 38 38 #define FRAME_WIDTH 14 /* 16K */ … … 51 51 #endif 52 52 53 53 /** @} 54 54 */ 55 -
kernel/arch/ia64/include/mm/memory_init.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_MEMORY_INIT_H__36 #define __ia64_MEMORY_INIT_H__35 #ifndef KERN_ia64_MEMORY_INIT_H_ 36 #define KERN_ia64_MEMORY_INIT_H_ 37 37 38 38 #include <config.h> … … 42 42 #endif 43 43 44 44 /** @} 45 45 */ 46 -
kernel/arch/ia64/include/mm/page.h
re5ecc02 r06e1e95 34 34 */ 35 35 36 #ifndef __ia64_PAGE_H__37 #define __ia64_PAGE_H__36 #ifndef KERN_ia64_PAGE_H_ 37 #define KERN_ia64_PAGE_H_ 38 38 39 39 #include <arch/mm/frame.h> -
kernel/arch/ia64/include/mm/tlb.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_TLB_H__36 #define __ia64_TLB_H__35 #ifndef KERN_ia64_TLB_H_ 36 #define KERN_ia64_TLB_H_ 37 37 38 38 #define tlb_arch_init() … … 101 101 #endif 102 102 103 103 /** @} 104 104 */ 105 -
kernel/arch/ia64/include/mm/vhpt.h
re5ecc02 r06e1e95 1 1 /* 2 * Copyright (C) 2006 Jakub Vana3 * All rights reserved.4 *5 * Redistribution and use in source and binary forms, with or without6 * modification, are permitted provided that the following conditions7 * are met:8 *9 * - Redistributions of source code must retain the above copyright10 * notice, this list of conditions and the following disclaimer.11 * - Redistributions in binary form must reproduce the above copyright12 * notice, this list of conditions and the following disclaimer in the13 * documentation and/or other materials provided with the distribution.14 * - The name of the author may not be used to endorse or promote products15 * derived from this software without specific prior written permission.16 *17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES19 * 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, BUT22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.2 * Copyright (C) 2006 Jakub Vana 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 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ 32 32 /** @file 33 33 */ 34 35 36 #ifndef __ia64_VHPT_H__ 37 #define __ia64_VHPT_H__ 34 35 #ifndef KERN_ia64_VHPT_H_ 36 #define KERN_ia64_VHPT_H_ 38 37 39 38 #include <arch/mm/tlb.h> … … 56 55 void vhpt_invalidate_asid(asid_t asid); 57 56 58 59 57 #endif 60 58 61 62 /** @} 59 /** @} 63 60 */ 64 -
kernel/arch/ia64/include/pal/pal.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_PAL_H__36 #define __ia64_PAL_H__35 #ifndef KERN_ia64_PAL_H_ 36 #define KERN_ia64_PAL_H_ 37 37 38 38 #define PAL_OK 0 /**< Call completed without error. */ … … 96 96 97 97 /* 98 Ski PTCE data99 */98 * Ski PTCE data 99 */ 100 100 #define PAL_PTCE_INFO_BASE() (0x100000000LL) 101 101 #define PAL_PTCE_INFO_COUNT1() (2) … … 104 104 #define PAL_PTCE_INFO_STRIDE2() (0x2000) 105 105 106 107 106 #endif 108 107 109 108 /** @} 110 109 */ 111 -
kernel/arch/ia64/include/proc/task.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64proc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_TASK_H__36 #define __ia64_TASK_H__35 #ifndef KERN_ia64_TASK_H_ 36 #define KERN_ia64_TASK_H_ 37 37 38 38 typedef struct { … … 44 44 #endif 45 45 46 46 /** @} 47 47 */ 48 -
kernel/arch/ia64/include/register.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_REGISTER_H__36 #define __ia64_REGISTER_H__35 #ifndef KERN_ia64_REGISTER_H_ 36 #define KERN_ia64_REGISTER_H_ 37 37 38 38 #define CR_IVR_MASK 0xf … … 275 275 #endif 276 276 277 /** @} 278 */ 279 277 /** @} 278 */ -
kernel/arch/ia64/include/ski/ski.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __SKI_H__36 #define __SKI_H__35 #ifndef KERN_ia64_SKI_H_ 36 #define KERN_ia64_SKI_H_ 37 37 38 38 #include <arch/types.h> … … 52 52 #endif 53 53 54 54 /** @} 55 55 */ 56 -
kernel/arch/ia64/include/stack.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ia64_STACK_H__36 #define __ia64_STACK_H__35 #ifndef KERN_ia64_STACK_H_ 36 #define KERN_ia64_STACK_H_ 37 37 38 38 #define STACK_ITEM_SIZE 8 … … 43 43 #endif 44 44 45 45 /** @} 46 46 */ 47 -
kernel/arch/ia64/include/types.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __TYPES_H__36 #define __TYPES_H__35 #ifndef KERN_ia64_TYPES_H_ 36 #define KERN_ia64_TYPES_H_ 37 37 38 38 #define NULL 0 … … 71 71 /** @} 72 72 */ 73 -
kernel/arch/ia64/src/ia64.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 153 153 } 154 154 155 155 /** @} 156 156 */ 157 -
kernel/arch/ia64/src/interrupt.c
re5ecc02 r06e1e95 217 217 } 218 218 219 if (istate->in4 < SYSCALL_END) 220 return syscall_table[istate->in4](istate->in0, istate->in1, istate->in2, istate->in3); 221 else 222 panic("Undefined syscall %d", istate->in4); 223 224 return -1; 219 return syscall_handler(istate->in0, istate->in1, istate->in2, istate->in3, istate->in4); 225 220 } 226 221 -
kernel/arch/ia64/src/mm/as.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 86 86 } 87 87 88 88 /** @} 89 89 */ 90 -
kernel/arch/ia64/src/mm/frame.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64mm 30 30 * @{ 31 31 */ … … 55 55 } 56 56 57 57 /** @} 58 58 */ 59 -
kernel/arch/ia64/src/mm/page.c
re5ecc02 r06e1e95 28 28 */ 29 29 30 30 /** @addtogroup ia64mm 31 31 * @{ 32 32 */ … … 264 264 } 265 265 266 /** @} 267 */ 268 266 /** @} 267 */ -
kernel/arch/ia64/src/mm/vhpt.c
re5ecc02 r06e1e95 32 32 /** @file 33 33 */ 34 35 34 36 35 #include <arch/mm/vhpt.h> 37 36 #include <mm/frame.h> 38 37 #include <print.h> 39 40 38 41 39 static vhpt_entry_t* vhpt_base; -
kernel/arch/ia64/src/proc/scheduler.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64proc 30 30 * @{ 31 31 */ … … 89 89 } 90 90 91 91 /** @} 92 92 */ 93 -
kernel/arch/ia64/src/putchar.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 41 41 } 42 42 43 43 /** @} 44 44 */ 45 -
kernel/arch/ia64/src/ski/ski.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 159 159 } 160 160 161 162 161 static chardev_operations_t ski_ops = { 163 162 .resume = ski_kb_enable, … … 166 165 .read = ski_getchar_blocking 167 166 }; 168 169 167 170 168 /** Initialize debug console … … 189 187 190 188 } 189 191 190 /** Setup console sysinfo (i.e. Keyboard IRQ) 192 191 * … … 201 200 } 202 201 203 /** @} 204 */ 205 202 /** @} 203 */
Note:
See TracChangeset
for help on using the changeset viewer.