Changeset b49f4ae in mainline for arch/ia32/src/interrupt.c
- Timestamp:
- 2005-09-06T09:56:26Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50a4e25
- Parents:
- a5d1331
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/interrupt.c
ra5d1331 rb49f4ae 110 110 void nm_fault(__u8 n, __native stack[]) 111 111 { 112 reset_TS_flag(); 113 if (CPU->fpu_owner != NULL) { 114 fpu_lazy_context_save(&((CPU->fpu_owner)->saved_fpu_context)); 115 CPU->fpu_owner->fpu_context_engaged=0; /* don't prevent migration */ 116 } 117 if (THREAD->fpu_context_exists) 118 fpu_lazy_context_restore(&(THREAD->saved_fpu_context)); 119 else { 120 fpu_init(); 121 THREAD->fpu_context_exists=1; 122 } 123 CPU->fpu_owner=THREAD; 112 #ifdef FPU_LAZY 113 scheduler_fpu_lazy_request(); 114 #else 115 panic("fpu fault"); 116 #endif 124 117 } 125 118
Note:
See TracChangeset
for help on using the changeset viewer.