um_malloc.h 397 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <[email protected]>
  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__ */