Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2081 → Rev 2082

/trunk/kernel/arch/ia32/src/cpu/cpu.c
71,7 → 71,7
 
void fpu_disable(void)
{
__asm__ volatile (
asm volatile (
"mov %%cr0,%%eax;"
"or $8,%%eax;"
"mov %%eax,%%cr0;"
83,7 → 83,7
 
void fpu_enable(void)
{
__asm__ volatile (
asm volatile (
"mov %%cr0,%%eax;"
"and $0xffFFffF7,%%eax;"
"mov %%eax,%%cr0;"