user.h 892 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __USER_H__
  6. #define __USER_H__
  7. extern void panic(const char *fmt, ...);
  8. extern int printk(const char *fmt, ...);
  9. extern void schedule(void);
  10. extern void *um_kmalloc(int size);
  11. extern void *um_kmalloc_atomic(int size);
  12. extern void kfree(void *ptr);
  13. extern int in_aton(char *str);
  14. extern int open_gdb_chan(void);
  15. extern int strlcpy(char *, const char *, int);
  16. extern void *um_vmalloc(int size);
  17. extern void vfree(void *ptr);
  18. #endif
  19. /*
  20. * Overrides for Emacs so that we follow Linus's tabbing style.
  21. * Emacs will notice this stuff at the end of the file and automatically
  22. * adjust the settings for this buffer only. This must remain at the end
  23. * of the file.
  24. * ---------------------------------------------------------------------------
  25. * Local variables:
  26. * c-file-style: "linux"
  27. * End:
  28. */