Changeset 6a27d63 in mainline for arch/ia32/src/interrupt.c
- Timestamp:
- 2005-05-11T21:53:09Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c884ef1
- Parents:
- 6ba143d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/interrupt.c
r6ba143d r6a27d63 86 86 } 87 87 88 void nm_fault(__u8 n, __u32 stack[]) 89 { 90 91 if (((CPU->arch).fpu_owner)!=NULL) 92 { 93 fpu_lazy_context_save(&(((CPU->arch).fpu_owner)->saved_fpu_context)); 94 ((CPU->arch).fpu_owner)->fpu_context_engaged=0; /* Enables migration */ 95 } 96 97 if(THREAD->fpu_context_exists) fpu_lazy_context_restore(&(THREAD->saved_fpu_context)); 98 else {fpu_init();THREAD->fpu_context_exists=1;} 99 100 (CPU->arch).fpu_owner=THREAD; 101 102 reset_TS_flag(); 103 104 // panic("#NM fault\n"); 105 } 106 107 108 88 109 void page_fault(__u8 n, __u32 stack[]) 89 110 {
Note:
See TracChangeset
for help on using the changeset viewer.