/* Copyright (C) 2005 - 2008 Jeff Dike <jdike@{linux.intel,addtoit}.com> */
/* Much of this ripped from drivers/char/hw_random.c, see there for other * copyright. * * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference.
*/ #include <linux/sched/signal.h> #include <linux/module.h> #include <linux/fs.h> #include <linux/interrupt.h> #include <linux/miscdevice.h> #include <linux/hw_random.h> #include <linux/delay.h> #include <linux/uaccess.h> #include <init.h> #include <irq_kern.h> #include <os.h>
/* * core module information
*/ #define RNG_MODULE_NAME "hw_random"
/* Changed at init time, in the non-modular case, and at module load * time, in the module case. Presumably, the module subsystem * protects against a module being loaded twice at the same time.
*/ staticint random_fd = -1; staticstruct hwrng hwrng; static DECLARE_COMPLETION(have_data);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.