From 6788a577c394a2fc512d8f3df0806d84dc09f355 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sun, 18 Jun 2017 09:06:08 +0100 Subject: [PATCH] link to qemu source --- kernel_module/pci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel_module/pci.c b/kernel_module/pci.c index aa3b24b..d6c5651 100644 --- a/kernel_module/pci.c +++ b/kernel_module/pci.c @@ -8,8 +8,11 @@ implements beautifully for us, so let's use the kernel API. This example relies on the QEMU "edu" educational device. Grep QEMU source for the device description, and keep it open at all times! +- edu device source and spec in QEMU tree: + - https://github.com/qemu/qemu/blob/v2.7.0/hw/misc/edu.c + - https://github.com/qemu/qemu/blob/v2.7.0/docs/specs/edu.txt - http://www.zarb.org/~trem/kernel/pci/pci-driver.c inb outb runnable example (no device) -- LDD3 PCI chapter +- LDD3 PCI chapter - another QEMU device + module, but using a custom QEMU device: - https://github.com/levex/kernel-qemu-pci/blob/31fc9355161b87cea8946b49857447ddd34c7aa6/module/levpci.c - https://github.com/levex/kernel-qemu-pci/blob/31fc9355161b87cea8946b49857447ddd34c7aa6/qemu/hw/char/lev-pci.c