config.c 300 B

123456789101112
  1. /* Configuration space parsing helpers for virtio.
  2. *
  3. * The configuration is [type][len][... len bytes ...] fields.
  4. *
  5. * Copyright 2007 Rusty Russell, IBM Corporation.
  6. * GPL v2 or later.
  7. */
  8. #include <linux/err.h>
  9. #include <linux/virtio.h>
  10. #include <linux/virtio_config.h>
  11. #include <linux/bug.h>