Changeset e7b7be3f in mainline for kernel/arch/ia32/src
- Timestamp:
- 2007-01-22T13:10:08Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f3fc9b
- Parents:
- 62c63fc
- Location:
- kernel/arch/ia32/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/cpu/cpu.c
r62c63fc re7b7be3f 72 72 void fpu_disable(void) 73 73 { 74 __asm__volatile (74 asm volatile ( 75 75 "mov %%cr0,%%eax;" 76 76 "or $8,%%eax;" … … 84 84 void fpu_enable(void) 85 85 { 86 __asm__volatile (86 asm volatile ( 87 87 "mov %%cr0,%%eax;" 88 88 "and $0xffFFffF7,%%eax;" -
kernel/arch/ia32/src/fpu_context.c
r62c63fc re7b7be3f 44 44 static void fpu_context_f_save(fpu_context_t *fctx) 45 45 { 46 __asm__volatile (46 asm volatile ( 47 47 "fnsave %0" 48 48 : "=m"(*fctx) … … 52 52 static void fpu_context_f_restore(fpu_context_t *fctx) 53 53 { 54 __asm__volatile (54 asm volatile ( 55 55 "frstor %0" 56 56 : "=m"(*fctx) … … 60 60 static void fpu_context_fx_save(fpu_context_t *fctx) 61 61 { 62 __asm__volatile (62 asm volatile ( 63 63 "fxsave %0" 64 64 : "=m"(*fctx) … … 68 68 static void fpu_context_fx_restore(fpu_context_t *fctx) 69 69 { 70 __asm__volatile (70 asm volatile ( 71 71 "fxrstor %0" 72 72 : "=m"(*fctx) … … 104 104 { 105 105 uint32_t help0 = 0, help1 = 0; 106 __asm__volatile (106 asm volatile ( 107 107 "fninit;\n" 108 108 "stmxcsr %0\n" -
kernel/arch/ia32/src/pm.c
r62c63fc re7b7be3f 148 148 static void clean_IOPL_NT_flags(void) 149 149 { 150 __asm__volatile (150 asm volatile ( 151 151 "pushfl\n" 152 152 "pop %%eax\n" … … 161 161 static void clean_AM_flag(void) 162 162 { 163 __asm__volatile (163 asm volatile ( 164 164 "mov %%cr0, %%eax\n" 165 165 "and $0xfffbffff, %%eax\n" -
kernel/arch/ia32/src/userspace.c
r62c63fc re7b7be3f 52 52 ipl = interrupts_disable(); 53 53 54 __asm__volatile (54 asm volatile ( 55 55 /* 56 56 * Clear nested task flag.
Note:
See TracChangeset
for help on using the changeset viewer.