Changeset 06e1e95 in mainline for kernel/arch/ppc64
- 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/ppc64
- Files:
-
- 33 edited
-
include/arg.h (modified) (3 diffs)
-
include/asm.h (modified) (3 diffs)
-
include/asm/regname.h (modified) (3 diffs)
-
include/atomic.h (modified) (3 diffs)
-
include/barrier.h (modified) (3 diffs)
-
include/boot/boot.h (modified) (3 diffs)
-
include/byteorder.h (modified) (3 diffs)
-
include/context.h (modified) (3 diffs)
-
include/context_offset.h (modified) (1 diff)
-
include/cpu.h (modified) (1 diff)
-
include/cpuid.h (modified) (1 diff)
-
include/debug.h (modified) (2 diffs)
-
include/elf.h (modified) (3 diffs)
-
include/exception.h (modified) (3 diffs)
-
include/faddr.h (modified) (3 diffs)
-
include/fpu_context.h (modified) (3 diffs)
-
include/interrupt.h (modified) (3 diffs)
-
include/memstr.h (modified) (3 diffs)
-
include/mm/as.h (modified) (3 diffs)
-
include/mm/asid.h (modified) (3 diffs)
-
include/mm/frame.h (modified) (3 diffs)
-
include/mm/memory_init.h (modified) (3 diffs)
-
include/mm/page.h (modified) (3 diffs)
-
include/mm/tlb.h (modified) (2 diffs)
-
include/proc/task.h (modified) (3 diffs)
-
include/proc/thread.h (modified) (1 diff)
-
include/types.h (modified) (3 diffs)
-
src/ddi/ddi.c (modified) (2 diffs)
-
src/interrupt.c (modified) (2 diffs)
-
src/mm/frame.c (modified) (2 diffs)
-
src/mm/memory_init.c (modified) (2 diffs)
-
src/mm/page.c (modified) (2 diffs)
-
src/proc/scheduler.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc64/include/arg.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ARG_H__36 #define __ppc64_ARG_H__35 #ifndef KERN_ppc64_ARG_H_ 36 #define KERN_ppc64_ARG_H_ 37 37 38 38 #include <stdarg.h> … … 40 40 #endif 41 41 42 /** @}42 /** @} 43 43 */ 44 -
kernel/arch/ppc64/include/asm.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ASM_H__36 #define __ppc64_ASM_H__35 #ifndef KERN_ppc64_ASM_H_ 36 #define KERN_ppc64_ASM_H_ 37 37 38 38 #include <arch/types.h> … … 158 158 #endif 159 159 160 /** @}160 /** @} 161 161 */ 162 -
kernel/arch/ppc64/include/asm/regname.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_REGNAME_H__36 #define __ppc64_REGNAME_H__35 #ifndef KERN_ppc64_REGNAME_H_ 36 #define KERN_ppc64_REGNAME_H_ 37 37 38 38 /* Condition Register Bit Fields */ … … 212 212 #endif 213 213 214 /** @} 215 */ 216 214 /** @} 215 */ -
kernel/arch/ppc64/include/atomic.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ATOMIC_H__36 #define __ppc64_ATOMIC_H__35 #ifndef KERN_ppc64_ATOMIC_H_ 36 #define KERN_ppc64_ATOMIC_H_ 37 37 38 38 static inline void atomic_inc(atomic_t *val) … … 94 94 #endif 95 95 96 /** @}96 /** @} 97 97 */ 98 -
kernel/arch/ppc64/include/barrier.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_BARRIER_H__36 #define __ppc64_BARRIER_H__35 #ifndef KERN_ppc64_BARRIER_H_ 36 #define KERN_ppc64_BARRIER_H_ 37 37 38 38 #define CS_ENTER_BARRIER() asm volatile ("" ::: "memory") … … 45 45 #endif 46 46 47 /** @}47 /** @} 48 48 */ 49 -
kernel/arch/ppc64/include/boot/boot.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_BOOT_H__36 #define __ppc64_BOOT_H__35 #ifndef KERN_ppc64_BOOT_H_ 36 #define KERN_ppc64_BOOT_H_ 37 37 38 38 #define BOOT_OFFSET 0x4000 … … 89 89 #endif 90 90 91 /** @}91 /** @} 92 92 */ 93 -
kernel/arch/ppc64/include/byteorder.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_BYTEORDER_H__36 #define __ppc64_BYTEORDER_H__35 #ifndef KERN_ppc64_BYTEORDER_H_ 36 #define KERN_ppc64_BYTEORDER_H_ 37 37 38 38 #include <arch/types.h> … … 70 70 #endif 71 71 72 /** @}72 /** @} 73 73 */ 74 -
kernel/arch/ppc64/include/context.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_CONTEXT_H__36 #define __ppc64_CONTEXT_H__35 #ifndef KERN_ppc64_CONTEXT_H_ 36 #define KERN_ppc64_CONTEXT_H_ 37 37 38 #ifndef __ppc64_TYPES_H__38 #ifndef KERN_ppc64_TYPES_H_ 39 39 # include <arch/types.h> 40 40 #endif … … 74 74 #endif 75 75 76 /** @}76 /** @} 77 77 */ 78 -
kernel/arch/ppc64/include/context_offset.h
re5ecc02 r06e1e95 44 44 #define OFFSET_FR31 0x88 45 45 #define OFFSET_FPSCR 0x90 46 47 /** @}48 */49 -
kernel/arch/ppc64/include/cpu.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __ppc64_CPU_H__36 #define __ppc64_CPU_H__35 #ifndef KERN_ppc64_CPU_H_ 36 #define KERN_ppc64_CPU_H_ 37 37 38 38 #include <typedefs.h> -
kernel/arch/ppc64/include/cpuid.h
re5ecc02 r06e1e95 33 33 */ 34 34 35 #ifndef __ppc64_CPUID_H__36 #define __ppc64_CPUID_H__35 #ifndef KERN_ppc64_CPUID_H_ 36 #define KERN_ppc64_CPUID_H_ 37 37 38 38 #include <arch/types.h> -
kernel/arch/ppc64/include/debug.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64debug29 /** @addtogroup ppc64debug 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_DEBUG_H__36 #define __ppc64_DEBUG_H__35 #ifndef KERN_ppc64_DEBUG_H_ 36 #define KERN_ppc64_DEBUG_H_ 37 37 38 38 #endif 39 39 40 /** @}40 /** @} 41 41 */ 42 -
kernel/arch/ppc64/include/elf.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ELF_H__36 #define __ppc64_ELF_H__35 #ifndef KERN_ppc64_ELF_H_ 36 #define KERN_ppc64_ELF_H_ 37 37 38 38 #define ELF_MACHINE EM_PPC64 … … 42 42 #endif 43 43 44 /** @}44 /** @} 45 45 */ 46 -
kernel/arch/ppc64/include/exception.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_EXCEPTION_H__36 #define __ppc64_EXCEPTION_H__35 #ifndef KERN_ppc64_EXCEPTION_H_ 36 #define KERN_ppc64_EXCEPTION_H_ 37 37 38 #ifndef __ppc64_TYPES_H__38 #ifndef KERN_ppc64_TYPES_H_ 39 39 # include <arch/types.h> 40 40 #endif … … 101 101 #endif 102 102 103 /** @}103 /** @} 104 104 */ 105 -
kernel/arch/ppc64/include/faddr.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_FADDR_H__36 #define __ppc64_FADDR_H__35 #ifndef KERN_ppc64_FADDR_H_ 36 #define KERN_ppc64_FADDR_H_ 37 37 38 38 #include <arch/types.h> … … 42 42 #endif 43 43 44 /** @}44 /** @} 45 45 */ 46 -
kernel/arch/ppc64/include/fpu_context.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_FPU_CONTEXT_H__36 #define __ppc64_FPU_CONTEXT_H__35 #ifndef KERN_ppc64_FPU_CONTEXT_H_ 36 #define KERN_ppc64_FPU_CONTEXT_H_ 37 37 38 #ifndef __ppc64_TYPES_H__38 #ifndef KERN_ppc64_TYPES_H_ 39 39 # include <arch/types.h> 40 40 #endif … … 64 64 #endif 65 65 66 /** @}66 /** @} 67 67 */ 68 -
kernel/arch/ppc64/include/interrupt.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64interrupt29 /** @addtogroup ppc64interrupt 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_INTERRUPT_H__36 #define __ppc64_INTERRUPT_H__35 #ifndef KERN_ppc64_INTERRUPT_H_ 36 #define KERN_ppc64_INTERRUPT_H_ 37 37 38 38 #include <arch/exception.h> … … 49 49 #endif 50 50 51 /** @}51 /** @} 52 52 */ 53 -
kernel/arch/ppc64/include/memstr.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_MEMSTR_H__36 #define __ppc64_MEMSTR_H__35 #ifndef KERN_ppc64_MEMSTR_H_ 36 #define KERN_ppc64_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/ppc64/include/mm/as.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_AS_H__36 #define __ppc64_AS_H__35 #ifndef KERN_ppc64_AS_H_ 36 #define KERN_ppc64_AS_H_ 37 37 38 38 #define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH 0 … … 51 51 #endif 52 52 53 /** @}53 /** @} 54 54 */ 55 -
kernel/arch/ppc64/include/mm/asid.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_ASID_H__36 #define __ppc64_ASID_H__35 #ifndef KERN_ppc64_ASID_H_ 36 #define KERN_ppc64_ASID_H_ 37 37 38 38 typedef int asid_t; … … 45 45 #endif 46 46 47 /** @}47 /** @} 48 48 */ 49 -
kernel/arch/ppc64/include/mm/frame.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_FRAME_H__36 #define __ppc64_FRAME_H__35 #ifndef KERN_ppc64_FRAME_H_ 36 #define KERN_ppc64_FRAME_H_ 37 37 38 38 #define FRAME_WIDTH 12 /* 4K */ … … 53 53 #endif 54 54 55 /** @}55 /** @} 56 56 */ 57 -
kernel/arch/ppc64/include/mm/memory_init.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_MEMORY_INIT_H__36 #define __ppc64_MEMORY_INIT_H__35 #ifndef KERN_ppc64_MEMORY_INIT_H_ 36 #define KERN_ppc64_MEMORY_INIT_H_ 37 37 38 38 #include <typedefs.h> … … 44 44 #endif 45 45 46 /** @}46 /** @} 47 47 */ 48 -
kernel/arch/ppc64/include/mm/page.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_PAGE_H__36 #define __ppc64_PAGE_H__35 #ifndef KERN_ppc64_PAGE_H_ 36 #define KERN_ppc64_PAGE_H_ 37 37 38 38 #include <arch/mm/frame.h> … … 159 159 #endif 160 160 161 /** @}161 /** @} 162 162 */ 163 -
kernel/arch/ppc64/include/mm/tlb.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_TLB_H__ 36 #define __ppc64_TLB_H__ 37 35 #ifndef KERN_ppc64_TLB_H_ 36 #define KERN_ppc64_TLB_H_ 38 37 39 38 #endif 40 39 41 /** @}40 /** @} 42 41 */ 43 -
kernel/arch/ppc64/include/proc/task.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64proc29 /** @addtogroup ppc64proc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_TASK_H__36 #define __ppc64_TASK_H__35 #ifndef KERN_ppc64_TASK_H_ 36 #define KERN_ppc64_TASK_H_ 37 37 38 38 typedef struct { … … 44 44 #endif 45 45 46 /** @}46 /** @} 47 47 */ 48 -
kernel/arch/ppc64/include/proc/thread.h
re5ecc02 r06e1e95 47 47 /** @} 48 48 */ 49 -
kernel/arch/ppc64/include/types.h
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc6429 /** @addtogroup ppc64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef __ppc64_TYPES_H__36 #define __ppc64_TYPES_H__35 #ifndef KERN_ppc64_TYPES_H_ 36 #define KERN_ppc64_TYPES_H_ 37 37 38 38 #define NULL 0 … … 66 66 #endif 67 67 68 /** @}68 /** @} 69 69 */ 70 -
kernel/arch/ppc64/src/ddi/ddi.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64ddi29 /** @addtogroup ppc64ddi 30 30 * @{ 31 31 */ … … 53 53 } 54 54 55 /** @}55 /** @} 56 56 */ 57 -
kernel/arch/ppc64/src/interrupt.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64interrupt29 /** @addtogroup ppc64interrupt 30 30 * @{ 31 31 */ … … 72 72 } 73 73 74 /** @}74 /** @} 75 75 */ 76 -
kernel/arch/ppc64/src/mm/frame.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 68 68 } 69 69 70 /** @}70 /** @} 71 71 */ 72 -
kernel/arch/ppc64/src/mm/memory_init.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 53 53 } 54 54 55 /** @}55 /** @} 56 56 */ 57 -
kernel/arch/ppc64/src/mm/page.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ppc64mm 30 30 * @{ 31 31 */ … … 304 304 } 305 305 306 /** @} 307 */ 308 306 /** @} 307 */ -
kernel/arch/ppc64/src/proc/scheduler.c
re5ecc02 r06e1e95 27 27 */ 28 28 29 /** @addtogroup ppc64proc29 /** @addtogroup ppc64proc 30 30 * @{ 31 31 */ … … 60 60 } 61 61 62 /** @}62 /** @} 63 63 */ 64
Note:
See TracChangeset
for help on using the changeset viewer.
