um_malloc.h 384 B

1234567891011121314151617181920
  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__ */