Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/pci_virtio_rnd.c
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <assert.h> | #include <assert.h> | ||||
#include <pthread.h> | #include <pthread.h> | ||||
#include <sysexits.h> | #include <sysexits.h> | ||||
#include "bhyverun.h" | #include "bhyverun.h" | ||||
#include "debug.h" | #include "debug.h" | ||||
#include "pci_emul.h" | #include "pci_emul.h" | ||||
#include "virtio.h" | #include "pci_virtio.h" | ||||
#define VTRND_RINGSZ 64 | #define VTRND_RINGSZ 64 | ||||
static int pci_vtrnd_debug; | static int pci_vtrnd_debug; | ||||
#define DPRINTF(params) if (pci_vtrnd_debug) PRINTLN params | #define DPRINTF(params) if (pci_vtrnd_debug) PRINTLN params | ||||
#define WPRINTF(params) PRINTLN params | #define WPRINTF(params) PRINTLN params | ||||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |