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

traps.h (410B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * Trap support for Hexagon
      4 *
      5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
      6 */
      7
      8#ifndef _ASM_HEXAGON_TRAPS_H
      9#define _ASM_HEXAGON_TRAPS_H
     10
     11#include <asm/registers.h>
     12
     13extern int die(const char *str, struct pt_regs *regs, long err);
     14extern int die_if_kernel(char *str, struct pt_regs *regs, long err);
     15
     16#endif /* _ASM_HEXAGON_TRAPS_H */