virtqueue.c (256281) | virtqueue.c (267312) |
---|---|
1/*- 2 * Copyright (c) 2011, Bryan Venteicher <bryanv@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 */ 26 27/* 28 * Implements the virtqueue interface as basically described 29 * in the original VirtIO paper. 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2011, Bryan Venteicher <bryanv@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 */ 26 27/* 28 * Implements the virtqueue interface as basically described 29 * in the original VirtIO paper. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: stable/10/sys/dev/virtio/virtqueue.c 255166 2013-09-03 02:26:57Z bryanv $"); | 33__FBSDID("$FreeBSD: stable/10/sys/dev/virtio/virtqueue.c 267312 2014-06-10 03:23:35Z bryanv $"); |
34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> 38#include <sys/malloc.h> 39#include <sys/sglist.h> 40#include <vm/vm.h> 41#include <vm/pmap.h> 42 43#include <machine/cpu.h> 44#include <machine/bus.h> 45#include <machine/atomic.h> 46#include <machine/resource.h> 47#include <sys/bus.h> 48#include <sys/rman.h> 49 50#include <dev/virtio/virtio.h> | 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> 38#include <sys/malloc.h> 39#include <sys/sglist.h> 40#include <vm/vm.h> 41#include <vm/pmap.h> 42 43#include <machine/cpu.h> 44#include <machine/bus.h> 45#include <machine/atomic.h> 46#include <machine/resource.h> 47#include <sys/bus.h> 48#include <sys/rman.h> 49 50#include <dev/virtio/virtio.h> |
51#include <dev/virtio/virtio_config.h> |
|
51#include <dev/virtio/virtqueue.h> 52#include <dev/virtio/virtio_ring.h> 53 54#include "virtio_bus_if.h" 55 56struct virtqueue { 57 device_t vq_dev; 58 char vq_name[VIRTQUEUE_MAX_NAME_SZ]; --- 761 unchanged lines hidden --- | 52#include <dev/virtio/virtqueue.h> 53#include <dev/virtio/virtio_ring.h> 54 55#include "virtio_bus_if.h" 56 57struct virtqueue { 58 device_t vq_dev; 59 char vq_name[VIRTQUEUE_MAX_NAME_SZ]; --- 761 unchanged lines hidden --- |