fmr.c 260 B

123456789101112131415161718
  1. #include <linux/types.h>
  2. #include <linux/errno.h>
  3. #include <asm/uaccess.h>
  4. int
  5. fmr(u32 *frD, u32 *frB)
  6. {
  7. frD[0] = frB[0];
  8. frD[1] = frB[1];
  9. #ifdef DEBUG
  10. printk("%s: D %p, B %p: ", __func__, frD, frB);
  11. dump_double(frD);
  12. printk("\n");
  13. #endif
  14. return 0;
  15. }