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

agp.h (490B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef AGP_H
      3#define AGP_H 1
      4
      5#include <asm/io.h>
      6
      7/* dummy for now */
      8
      9#define map_page_into_agp(page)		do { } while (0)
     10#define unmap_page_from_agp(page)	do { } while (0)
     11#define flush_agp_cache() mb()
     12
     13/* GATT allocation. Returns/accepts GATT kernel virtual address. */
     14#define alloc_gatt_pages(order)		\
     15	((char *)__get_free_pages(GFP_KERNEL, (order)))
     16#define free_gatt_pages(table, order)	\
     17	free_pages((unsigned long)(table), (order))
     18
     19#endif