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

early_alloc.h (437B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2#ifndef __KVM_HYP_EARLY_ALLOC_H
      3#define __KVM_HYP_EARLY_ALLOC_H
      4
      5#include <asm/kvm_pgtable.h>
      6
      7void hyp_early_alloc_init(void *virt, unsigned long size);
      8unsigned long hyp_early_alloc_nr_used_pages(void);
      9void *hyp_early_alloc_page(void *arg);
     10void *hyp_early_alloc_contig(unsigned int nr_pages);
     11
     12extern struct kvm_pgtable_mm_ops hyp_early_alloc_mm_ops;
     13
     14#endif /* __KVM_HYP_EARLY_ALLOC_H */