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

timeriomem-rng.h (432B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * linux/include/linux/timeriomem-rng.h
      4 *
      5 * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk>
      6 */
      7
      8#ifndef _LINUX_TIMERIOMEM_RNG_H
      9#define _LINUX_TIMERIOMEM_RNG_H
     10
     11struct timeriomem_rng_data {
     12	void __iomem		*address;
     13
     14	/* measures in usecs */
     15	unsigned int		period;
     16
     17	/* bits of entropy per 1024 bits read */
     18	unsigned int		quality;
     19};
     20
     21#endif /* _LINUX_TIMERIOMEM_RNG_H */