URL
https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk
Subversion Repositories or1k_soc_on_altera_embedded_dev_kit
[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [powerpc/] [math-emu/] [stfiwx.c] - Rev 3
Compare with Previous | Blame | View Log
#include <linux/types.h> #include <linux/errno.h> #include <asm/uaccess.h> int stfiwx(u32 *frS, void *ea) { #ifdef DEBUG printk("%s: %p %p\n", __FUNCTION__, frS, ea); #endif if (copy_to_user(ea, &frS[1], sizeof(frS[1]))) return -EFAULT; return 0; }