[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCHv2 0/1] net: Add SunGEM device emulation as found on Ap
From: |
Mark Cave-Ayland |
Subject: |
[Qemu-ppc] [PATCHv2 0/1] net: Add SunGEM device emulation as found on Apple UniNorth |
Date: |
Wed, 6 Sep 2017 19:19:54 +0100 |
This is a reworking of Ben's original implementation of the SunGEM device
from last year:
https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg02571.html.
The reason for implenting this device is that it allows out-of-the-box
networking for most MacOS 9 and MacOS X OSs running under qemu-system-ppc
without
having to obtain any external vendor drivers.
The main changes I've made to Ben's original patch are listed below:
- Remove sungem.h file, moving constants into sungem.c as required
- Switch to using tracepoints for debugging
- Split register blocks into separate memory regions
- Use arrays in SunGEMState to hold register values
- Add state-saving support
Signed-off-by: Mark Cave-Ayland <address@hidden>
v2
- Fix tracepoints for trace backends outside of QEMU
- Introduce PCI_BASE_ADDRESS_SPACE_MEMORY instead of using the value 0 directly
Benjamin Herrenschmidt (1):
net: Add SunGEM device emulation as found on Apple UniNorth
default-configs/ppc-softmmu.mak | 1 +
hw/net/Makefile.objs | 1 +
hw/net/sungem.c | 1447 +++++++++++++++++++++++++++++++++++++++
hw/net/trace-events | 44 ++
hw/pci/pci.c | 2 +
include/hw/pci/pci_ids.h | 1 +
6 files changed, 1496 insertions(+)
create mode 100644 hw/net/sungem.c
--
1.7.10.4
- [Qemu-ppc] [PATCHv2 0/1] net: Add SunGEM device emulation as found on Apple UniNorth,
Mark Cave-Ayland <=