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

errseq.h (382B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * See Documentation/core-api/errseq.rst and lib/errseq.c
      4 */
      5#ifndef _LINUX_ERRSEQ_H
      6#define _LINUX_ERRSEQ_H
      7
      8typedef u32	errseq_t;
      9
     10errseq_t errseq_set(errseq_t *eseq, int err);
     11errseq_t errseq_sample(errseq_t *eseq);
     12int errseq_check(errseq_t *eseq, errseq_t since);
     13int errseq_check_and_advance(errseq_t *eseq, errseq_t *since);
     14#endif