Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fpu.h File Reference
#include <linux/sched.h>
#include <linux/thread_info.h>
#include <linux/bitops.h>
#include <asm/mipsregs.h>
#include <asm/cpu.h>
#include <asm/cpu-features.h>
#include <asm/hazards.h>
#include <asm/processor.h>
#include <asm/current.h>

Go to the source code of this file.

Macros

#define __enable_fpu()
 
#define __disable_fpu()
 
#define enable_fpu()
 
#define disable_fpu()
 
#define clear_fpu_owner()   clear_thread_flag(TIF_USEDFPU)
 

Functions

void fpu_emulator_init_fpu (void)
 
void _init_fpu (void)
 
void _save_fp (struct task_struct *)
 
void _restore_fp (struct task_struct *)
 

Macro Definition Documentation

#define __disable_fpu ( )
Value:
do { \
clear_c0_status(ST0_CU1); \
disable_fpu_hazard(); \
} while (0)

Definition at line 42 of file fpu.h.

#define __enable_fpu ( )
Value:
do { \
set_c0_status(ST0_CU1); \
enable_fpu_hazard(); \
} while (0)

Definition at line 36 of file fpu.h.

#define clear_fpu_owner ( )    clear_thread_flag(TIF_USEDFPU)

Definition at line 61 of file fpu.h.

#define disable_fpu (   void)
Value:
do { \
if (cpu_has_fpu) \
__disable_fpu(); \
} while (0)

Definition at line 54 of file fpu.h.

#define enable_fpu (   void)
Value:
do { \
if (cpu_has_fpu) \
__enable_fpu(); \
} while (0)

Definition at line 48 of file fpu.h.

Function Documentation

void _init_fpu ( void  )
void _restore_fp ( struct task_struct )
void _save_fp ( struct task_struct )
void fpu_emulator_init_fpu ( void  )

Definition at line 32 of file kernel_linkage.c.