Changeset 68965ec5 in mainline
- Timestamp:
- 2006-05-14T15:26:47Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c23af9
- Parents:
- b1b723e
- Location:
- arch/ppc32/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/src/dummy.s
rb1b723e r68965ec5 32 32 .global userspace 33 33 .global sys_tls_set 34 .global tlb_invalidate_all35 34 .global tlb_invalidate_asid 36 35 .global tlb_invalidate_pages 37 38 tlb_invalidate_all:39 b tlb_invalidate_all40 36 41 37 tlb_invalidate_asid: -
arch/ppc32/src/mm/tlb.c
rb1b723e r68965ec5 233 233 234 234 235 void tlb_invalidate_all(void) 236 { 237 ipl_t ipl; 238 239 ipl = interrupts_disable(); 240 memsetb((__address) phte, 1 << PHT_BITS, 0); 241 interrupts_restore(ipl); 242 } 243 244 235 245 /** Print contents of Page Hash Table. */ 236 246 void tlb_print(void) -
arch/ppc32/src/proc/scheduler.c
rb1b723e r68965ec5 41 41 void before_thread_runs_arch(void) 42 42 { 43 tlb_invalidate_all(); 43 44 asm volatile ( 44 45 "mtsprg0 %0\n"
Note:
See TracChangeset
for help on using the changeset viewer.