Changeset 0ca6faa in mainline
- Timestamp:
- 2005-05-08T22:32:29Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2265edf
- Parents:
- c4a5207f
- Files:
-
- 5 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/Makefile.inc
rc4a5207f r0ca6faa 45 45 arch/drivers/i8259.c \ 46 46 arch/drivers/ega.c \ 47 arch/boot/boot.S 47 arch/boot/boot.S \ 48 arch/fpu_context.c 48 49 49 50 -
arch/ia32/src/context.s
rc4a5207f r0ca6faa 80 80 81 81 82 fpu_context_save:83 ret84 85 fpu_context_restore:86 ret87 88 fpu_lazy_context_save:89 pushl %eax90 mov 8(%esp),%eax91 fxsave (%eax)92 popl %eax93 ret94 95 fpu_lazy_context_restore:96 pushl %eax97 mov 8(%esp),%eax98 fxrstor (%eax)99 popl %eax100 ret101 -
arch/ia32/src/proc/scheduler.c
rc4a5207f r0ca6faa 32 32 #include <arch.h> 33 33 34 void before_thread_runs (void)34 void before_thread_runs_arch(void) 35 35 { 36 36 CPU->arch.tss->esp0 = (__address) &THREAD->kstack[THREAD_STACK_SIZE-8]; -
arch/ia64/Makefile.inc
rc4a5207f r0ca6faa 19 19 arch/fake.s \ 20 20 arch/putchar.c \ 21 arch/context.S \ 22 arch/ia64.c 21 arch/ia64.c \ 22 arch/fpu_context.c 23 arch/context.S 24 25 -
arch/ia64/src/fake.s
rc4a5207f r0ca6faa 32 32 .global asm_delay_loop 33 33 .global userspace 34 .global before_thread_runs 34 .global before_thread_runs_arch 35 35 .global arch_late_init 36 36 .global arch_post_mm_init … … 50 50 .global panic 51 51 52 before_thread_runs :52 before_thread_runs_arch: 53 53 userspace: 54 54 calibrate_delay_loop: -
arch/mips/Makefile.inc
rc4a5207f r0ca6faa 31 31 arch/mm/frame.c \ 32 32 arch/mm/page.c \ 33 arch/mm/tlb.c 33 arch/mm/tlb.c \ 34 arch/fpu_context.c -
arch/mips/src/fake.s
rc4a5207f r0ca6faa 33 33 .global asm_delay_loop 34 34 .global userspace 35 .global before_thread_runs35 .global _before_thread_runs_arch 36 36 37 before_thread_runs :37 before_thread_runs_arch: 38 38 userspace: 39 39 calibrate_delay_loop: -
arch/powerpc/Makefile.inc
rc4a5207f r0ca6faa 12 12 13 13 arch_sources= \ 14 arch/powerpc.c 14 arch/powerpc.c \ 15 arch/fpu_context.c -
include/context.h
rc4a5207f r0ca6faa 31 31 32 32 #include <typedefs.h> 33 #include "fpu_context.h" 34 33 35 34 36 extern int context_save(context_t *c); 35 37 extern void context_restore(context_t *c) __attribute__ ((noreturn)); 36 38 39 40 37 41 #endif -
include/proc/scheduler.h
rc4a5207f r0ca6faa 61 61 62 62 extern void before_thread_runs(void); 63 extern void before_thread_runs_arch(void); 63 64 64 65 #endif -
src/proc/scheduler.c
rc4a5207f r0ca6faa 55 55 volatile int nrdy; 56 56 57 void before_thread_runs(void) 58 { 59 before_thread_runs_arch(); 60 fpu_context_restore(); 61 } 62 63 57 64 void scheduler_init(void) 58 65 {
Note:
See TracChangeset
for help on using the changeset viewer.