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

mmu.h (490B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
      4 */
      5
      6#ifndef _ASM_MMU_H
      7#define _ASM_MMU_H
      8
      9#include <asm/vdso.h>
     10
     11/*
     12 * Architecture-specific state for a mm_struct.
     13 * For the Hexagon Virtual Machine, it can be a copy
     14 * of the pointer to the page table base.
     15 */
     16struct mm_context {
     17	unsigned long long generation;
     18	unsigned long ptbase;
     19	struct hexagon_vdso *vdso;
     20};
     21
     22typedef struct mm_context mm_context_t;
     23
     24#endif