cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

um_malloc.h (397B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      4 */
      5
      6#ifndef __UM_MALLOC_H__
      7#define __UM_MALLOC_H__
      8
      9#include <generated/asm-offsets.h>
     10
     11extern void *uml_kmalloc(int size, int flags);
     12extern void kfree(const void *ptr);
     13
     14extern void *vmalloc(unsigned long size);
     15extern void vfree(void *ptr);
     16
     17#endif /* __UM_MALLOC_H__ */
     18
     19