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_signal.h (681B)


      1#ifndef AARCH64_TARGET_SIGNAL_H
      2#define AARCH64_TARGET_SIGNAL_H
      3
      4/* this struct defines a stack used during syscall handling */
      5
      6typedef struct target_sigaltstack {
      7    abi_ulong ss_sp;
      8    abi_int ss_flags;
      9    abi_ulong ss_size;
     10} target_stack_t;
     11
     12
     13/*
     14 * sigaltstack controls
     15 */
     16#define TARGET_SS_ONSTACK 1
     17#define TARGET_SS_DISABLE 2
     18
     19#define TARGET_MINSIGSTKSZ 2048
     20#define TARGET_SIGSTKSZ 8192
     21
     22#include "../generic/signal.h"
     23
     24#define TARGET_SEGV_MTEAERR  8  /* Asynchronous ARM MTE error */
     25#define TARGET_SEGV_MTESERR  9  /* Synchronous ARM MTE exception */
     26
     27#define TARGET_ARCH_HAS_SETUP_FRAME
     28#define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
     29
     30#endif /* AARCH64_TARGET_SIGNAL_H */