Changeset 0ca6faa in mainline for arch/ia32/src
- Timestamp:
- 2005-05-08T22:32:29Z (21 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2265edf
- Parents:
- c4a5207f
- Location:
- arch/ia32/src
- Files:
-
- 1 added
- 2 edited
-
context.s (modified) (1 diff)
-
fpu_context.c (added)
-
proc/scheduler.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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];
Note:
See TracChangeset
for help on using the changeset viewer.
