Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

fpe.c File Reference

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <asm/branch.h>
#include <asm/ptrace.h>

Include dependency graph for fpe.c:

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Ralf Baechle <ralf@gnu.org>")
 MODULE_DESCRIPTION ("Experimental floating point exception handler")
 MODULE_SUPPORTED_DEVICE ("MIPS FPU")
static void do_fpe (struct pt_regs *regs, unsigned int fcr31)
int register_fpe (void(*handler)(struct pt_regs *regs, unsigned int fcr31))
int unregister_fpe (void(*handler)(struct pt_regs *regs, unsigned int fcr31))
int init_module (void)
void cleanup_module (void)


Function Documentation

void cleanup_module void   ) 
 

Definition at line 52 of file fpe.c.

Referenced by lcs_init(), pd_geninit(), and sx_init().

static void do_fpe struct pt_regs regs,
unsigned int  fcr31
[static]
 

Definition at line 25 of file fpe.c.

References compute_return_epc(), pt_regs::cp0_epc, current, force_sig(), lock_kernel, out, printk, show_regs, SIGFPE, and unlock_kernel.

Referenced by cleanup_module(), and init_module().

Here is the call graph for this function:

int init_module void   ) 
 

Definition at line 47 of file fpe.c.

Referenced by __initfunc(), and js_sw_probe().

MODULE_AUTHOR "Ralf Baechle <ralf@gnu.org>"   ) 
 

MODULE_DESCRIPTION "Experimental floating point exception handler  ) 
 

MODULE_SUPPORTED_DEVICE "MIPS FPU"   ) 
 

int register_fpe void(*)(struct pt_regs *regs, unsigned int fcr31)  handler  ) 
 

Referenced by init_module().

int unregister_fpe void(*)(struct pt_regs *regs, unsigned int fcr31)  handler  ) 
 

Referenced by cleanup_module().