um_malloc.h 384 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
  3. * Licensed under the GPL
  4. */
  5. #ifndef __UM_MALLOC_H__
  6. #define __UM_MALLOC_H__
  7. #include <generated/asm-offsets.h>
  8. extern void *uml_kmalloc(int size, int flags);
  9. extern void kfree(const void *ptr);
  10. extern void *vmalloc(unsigned long size);
  11. extern void vfree(void *ptr);
  12. #endif /* __UM_MALLOC_H__ */