Changeset 26aafe8 in mainline for kernel/arch/ppc32/src
- Timestamp:
- 2011-05-19T16:47:49Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a6d8726
- Parents:
- bcaca55
- Location:
- kernel/arch/ppc32/src
- Files:
-
- 4 edited
-
boot/boot.S (modified) (2 diffs)
-
mm/tlb.c (modified) (2 diffs)
-
ppc32.c (modified) (1 diff)
-
proc/scheduler.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/boot/boot.S
rbcaca55 r26aafe8 28 28 29 29 #include <arch/asm/regname.h> 30 #include < arch/boot/boot.h>30 #include <config.h> 31 31 32 32 .section K_TEXT_START, "ax" … … 56 56 .align 12 57 57 kernel_stack_bottom: 58 .space TEMP_STACK_SIZE58 .space STACK_SIZE 59 59 kernel_stack: -
kernel/arch/ppc32/src/mm/tlb.c
rbcaca55 r26aafe8 223 223 switch (pfrc) { 224 224 case AS_PF_FAULT: 225 goto fail; 226 break; 225 page_table_unlock(as, true); 226 pht_refill_fail(badvaddr, istate); 227 return; 227 228 case AS_PF_DEFER: 228 229 /* … … 242 243 243 244 page_table_unlock(as, true); 244 return;245 246 fail:247 page_table_unlock(as, true);248 pht_refill_fail(badvaddr, istate);249 245 } 250 246 -
kernel/arch/ppc32/src/ppc32.c
rbcaca55 r26aafe8 265 265 { 266 266 userspace_asm((uintptr_t) kernel_uarg->uspace_uarg, 267 (uintptr_t) kernel_uarg->uspace_stack + 268 THREAD_STACK_SIZE - SP_DELTA, 267 (uintptr_t) kernel_uarg->uspace_stack + STACK_SIZE - SP_DELTA, 269 268 (uintptr_t) kernel_uarg->uspace_entry); 270 269 -
kernel/arch/ppc32/src/proc/scheduler.c
rbcaca55 r26aafe8 55 55 asm volatile ( 56 56 "mtsprg0 %[ksp]\n" 57 :: [ksp] "r" (KA2PA(&THREAD->kstack[ THREAD_STACK_SIZE - SP_DELTA]))57 :: [ksp] "r" (KA2PA(&THREAD->kstack[STACK_SIZE - SP_DELTA])) 58 58 ); 59 59 }
Note:
See TracChangeset
for help on using the changeset viewer.
