uml_uaccess.h 884 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __UML_UACCESS_H__
  6. #define __UML_UACCESS_H__
  7. extern int __do_copy_to_user(void *to, const void *from, int n,
  8. void **fault_addr, void **fault_catcher);
  9. extern unsigned long __do_user_copy(void *to, const void *from, int n,
  10. void **fault_addr, void **fault_catcher,
  11. void (*op)(void *to, const void *from,
  12. int n), int *faulted_out);
  13. void __do_copy(void *to, const void *from, int n);
  14. #endif
  15. /*
  16. * Overrides for Emacs so that we follow Linus's tabbing style.
  17. * Emacs will notice this stuff at the end of the file and automatically
  18. * adjust the settings for this buffer only. This must remain at the end
  19. * of the file.
  20. * ---------------------------------------------------------------------------
  21. * Local variables:
  22. * c-file-style: "linux"
  23. * End:
  24. */