Subversion Repositories HelenOS

Rev

Rev 2787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 4377
Line 35... Line 35...
35
#ifndef KERN_FPU_CONTEXT_H_
35
#ifndef KERN_FPU_CONTEXT_H_
36
#define KERN_FPU_CONTEXT_H_
36
#define KERN_FPU_CONTEXT_H_
37
 
37
 
38
#include <arch/fpu_context.h>
38
#include <arch/fpu_context.h>
39
 
39
 
40
#if defined(CONFIG_FPU_LAZY) && !defined(ARCH_HAS_FPU)
-
 
41
# error "CONFIG_FPU_LAZY defined, but no ARCH_HAS_FPU"
-
 
42
#endif
-
 
43
 
-
 
44
extern void fpu_context_save(fpu_context_t *);
40
extern void fpu_context_save(fpu_context_t *);
45
extern void fpu_context_restore(fpu_context_t *);
41
extern void fpu_context_restore(fpu_context_t *);
46
extern void fpu_init(void);
42
extern void fpu_init(void);
47
extern void fpu_enable(void);
43
extern void fpu_enable(void);
48
extern void fpu_disable(void);
44
extern void fpu_disable(void);