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

mock_region.h (474B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2019 Intel Corporation
      4 */
      5
      6#ifndef __MOCK_REGION_H
      7#define __MOCK_REGION_H
      8
      9#include <linux/types.h>
     10
     11struct drm_i915_private;
     12struct intel_memory_region;
     13
     14struct intel_memory_region *
     15mock_region_create(struct drm_i915_private *i915,
     16		   resource_size_t start,
     17		   resource_size_t size,
     18		   resource_size_t min_page_size,
     19		   resource_size_t io_start,
     20		   resource_size_t io_size);
     21
     22#endif /* !__MOCK_REGION_H */