Changeset c0699467 in mainline for kernel/arch/ppc32
- Timestamp:
- 2011-08-09T18:08:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b538ca5c
- Parents:
- 3666d386
- Location:
- kernel/arch/ppc32
- Files:
-
- 10 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/asm.h
r3666d386 rc0699467 38 38 #include <typedefs.h> 39 39 #include <config.h> 40 #include <arch/ cpu.h>40 #include <arch/msr.h> 41 41 #include <arch/mm/asid.h> 42 42 #include <trace.h> -
kernel/arch/ppc32/include/context_offset.h
r3666d386 rc0699467 75 75 76 76 #ifdef __ASM__ 77 # include <arch/asm/regname.h>78 77 79 # ctx: address of the structure with saved context 78 #ifdef KERNEL 79 80 #include <arch/asm/regname.h> 81 82 #else /* KERNEL */ 83 84 #include <libarch/regname.h> 85 86 #endif /* KERNEL */ 87 88 /* ctx: address of the structure with saved context */ 80 89 .macro CONTEXT_SAVE_ARCH_CORE ctx:req 81 90 stw sp, OFFSET_SP(\ctx) … … 102 111 .endm 103 112 104 # ctx: address of the structure with saved context 113 /* ctx: address of the structure with saved context */ 105 114 .macro CONTEXT_RESTORE_ARCH_CORE ctx:req 106 115 lwz sp, OFFSET_SP(\ctx) -
kernel/arch/ppc32/include/cpu.h
r3666d386 rc0699467 36 36 #define KERN_ppc32_CPU_H_ 37 37 38 /* MSR bits */39 #define MSR_DR (1 << 4)40 #define MSR_IR (1 << 5)41 #define MSR_PR (1 << 14)42 #define MSR_EE (1 << 15)43 44 /* HID0 bits */45 #define HID0_STEN (1 << 24)46 #define HID0_ICE (1 << 15)47 #define HID0_DCE (1 << 14)48 #define HID0_ICFI (1 << 11)49 #define HID0_DCI (1 << 10)50 51 #ifndef __ASM__52 53 38 #include <typedefs.h> 54 39 #include <trace.h> … … 67 52 } 68 53 69 #endif /* __ASM__ */70 71 54 #endif 72 55 -
kernel/arch/ppc32/include/exception.h
r3666d386 rc0699467 37 37 38 38 #include <typedefs.h> 39 #include <arch/ cpu.h>39 #include <arch/msr.h> 40 40 #include <trace.h> 41 41 -
kernel/arch/ppc32/include/istate.h
r3666d386 rc0699467 36 36 #define KERN_ppc32_EXCEPTION_H_ 37 37 38 #include <typedefs.h>39 #include <arch/cpu.h>40 38 #include <trace.h> 39 40 #ifdef KERNEL 41 42 #include <arch/msr.h> 43 44 #else /* KERNEL */ 45 46 #include <libarch/msr.h> 47 48 #endif /* KERNEL */ 41 49 42 50 typedef struct istate { -
kernel/arch/ppc32/include/mm/frame.h
r3666d386 rc0699467 39 39 #define FRAME_SIZE (1 << FRAME_WIDTH) 40 40 41 #ifdef KERNEL42 41 #ifndef __ASM__ 43 42 … … 63 62 64 63 #endif /* __ASM__ */ 65 #endif /* KERNEL */66 64 67 65 #endif -
kernel/arch/ppc32/include/mm/page.h
r3666d386 rc0699467 41 41 #define PAGE_WIDTH FRAME_WIDTH 42 42 #define PAGE_SIZE FRAME_SIZE 43 44 #ifdef KERNEL45 43 46 44 #ifndef __ASM__ … … 181 179 #endif /* __ASM__ */ 182 180 183 #endif /* KERNEL */184 185 181 #endif 186 182 -
kernel/arch/ppc32/include/msr.h
r3666d386 rc0699467 1 1 /* 2 * Copyright (c) 20 11 Jiri Svoboda2 * Copyright (c) 2005 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup generic29 /** @addtogroup ppc32 30 30 * @{ 31 31 */ 32 32 /** @file 33 *34 * This header allows including a kernel header using typedefs.h from35 * libc. User-space code should use sys/types.h directly.36 33 */ 37 34 38 #ifndef LIBC_TYPEDEFS_H_39 #define LIBC_TYPEDEFS_H_35 #ifndef KERN_ppc32_MSR_H_ 36 #define KERN_ppc32_MSR_H_ 40 37 41 #include <sys/types.h> 38 /* MSR bits */ 39 #define MSR_DR (1 << 4) 40 #define MSR_IR (1 << 5) 41 #define MSR_PR (1 << 14) 42 #define MSR_EE (1 << 15) 43 44 /* HID0 bits */ 45 #define HID0_STEN (1 << 24) 46 #define HID0_ICE (1 << 15) 47 #define HID0_DCE (1 << 14) 48 #define HID0_ICFI (1 << 11) 49 #define HID0_DCI (1 << 10) 42 50 43 51 #endif -
kernel/arch/ppc32/src/asm.S
r3666d386 rc0699467 28 28 29 29 #include <arch/asm/regname.h> 30 #include <arch/ cpu.h>30 #include <arch/msr.h> 31 31 32 32 .text -
kernel/arch/ppc32/src/exception.S
r3666d386 rc0699467 28 28 29 29 #include <arch/asm/regname.h> 30 #include <arch/ cpu.h>30 #include <arch/msr.h> 31 31 #include <arch/mm/page.h> 32 32 -
kernel/arch/ppc32/src/ppc32.c
r3666d386 rc0699467 41 41 #include <interrupt.h> 42 42 #include <genarch/fb/fb.h> 43 #include < genarch/fb/visuals.h>43 #include <abi/fb/visuals.h> 44 44 #include <genarch/ofw/ofw_tree.h> 45 45 #include <genarch/ofw/pci.h> 46 46 #include <userspace.h> 47 47 #include <mm/page.h> 48 #include < proc/uarg.h>48 #include <abi/proc/uarg.h> 49 49 #include <console/console.h> 50 50 #include <sysinfo/sysinfo.h>
Note:
See TracChangeset
for help on using the changeset viewer.