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

asm-prototypes.h (729B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
      4 */
      5
      6#include <asm/xor.h>
      7#include <asm/checksum.h>
      8#include <asm/trap_block.h>
      9#include <linux/uaccess.h>
     10#include <asm/atomic.h>
     11#include <asm/ftrace.h>
     12#include <asm/cacheflush.h>
     13#include <asm/oplib.h>
     14#include <linux/atomic.h>
     15
     16void *__memscan_zero(void *, size_t);
     17void *__memscan_generic(void *, int, size_t);
     18void *__bzero(void *, size_t);
     19void VISenter(void); /* Dummy prototype to supress warning */
     20#undef memcpy
     21#undef memset
     22void *memcpy(void *dest, const void *src, size_t n);
     23void *memset(void *s, int c, size_t n);
     24typedef int TItype __attribute__((mode(TI)));
     25TItype __multi3(TItype a, TItype b);