cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

target_syscall.h (1125B)


      1/*
      2 *  Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
      3 *
      4 *  This program is free software; you can redistribute it and/or modify
      5 *  it under the terms of the GNU General Public License as published by
      6 *  the Free Software Foundation; either version 2 of the License, or
      7 *  (at your option) any later version.
      8 *
      9 *  This program is distributed in the hope that it will be useful,
     10 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     11 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12 *  GNU General Public License for more details.
     13 *
     14 *  You should have received a copy of the GNU General Public License
     15 *  along with this program; if not, see <http://www.gnu.org/licenses/>.
     16 */
     17
     18#ifndef HEXAGON_TARGET_SYSCALL_H
     19#define HEXAGON_TARGET_SYSCALL_H
     20
     21struct target_pt_regs {
     22    abi_long sepc;
     23    abi_long sp;
     24};
     25
     26#define UNAME_MACHINE "hexagon"
     27#define UNAME_MINIMUM_RELEASE "4.15.0"
     28
     29#define TARGET_MLOCKALL_MCL_CURRENT 1
     30#define TARGET_MLOCKALL_MCL_FUTURE  2
     31
     32#define TARGET_MCL_CURRENT  1
     33#define TARGET_MCL_FUTURE   2
     34#define TARGET_MCL_ONFAULT  4
     35
     36#endif