Changeset e515167d in mainline for arch/amd64/src/proc/scheduler.c
- Timestamp:
- 2005-09-03T09:52:47Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be56c17
- Parents:
- 5a5ed25
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/proc/scheduler.c
r5a5ed25 re515167d 1 1 /* 2 * Copyright (C) 2005 Jakub Vana2 * Copyright (C) 2005 Ondrej Palkovsky 3 3 * All rights reserved. 4 4 * … … 25 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 *28 27 */ 29 28 30 #include <fpu_context.h> 29 #include <proc/scheduler.h> 30 #include <cpu.h> 31 #include <proc/thread.h> 32 #include <arch.h> 33 #include <arch/context.h> /* SP_DELTA */ 31 34 32 void fpu_context_save(fpu_context_t *fctx)35 void before_thread_runs_arch(void) 33 36 { 37 CPU->arch.tss->rsp0 = (__address) &THREAD->kstack[THREAD_STACK_SIZE-SP_DELTA]; 34 38 } 35 36 37 void fpu_context_restore(fpu_context_t *fctx)38 {39 }40 41 42 void fpu_lazy_context_save(fpu_context_t *fctx)43 {44 }45 46 void fpu_lazy_context_restore(fpu_context_t *fctx)47 {48 49 }
Note:
See TracChangeset
for help on using the changeset viewer.