[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800
From: |
Thomas Huth |
Subject: |
Re: [Qemu-block] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800 |
Date: |
Sun, 26 May 2019 19:00:11 +0200 |
Am Sun, 26 May 2019 00:50:13 +0200
schrieb Laurent Vivier <address@hidden>:
> If you want to test the machine, it doesn't yet boot a MacROM, but
> you can boot a linux kernel from the command line.
>
> You can install your own disk using debian-installer with:
>
> ./qemu-system-m68k \
> -M q800 \
> -serial none -serial mon:stdio \
> -m 1000M -drive file=m68k.qcow2,format=qcow2 \
> -net nic,model=dp83932,addr=09:00:07:12:34:57 \
> -append "console=ttyS0 vga=off" \
> -kernel vmlinux-4.15.0-2-m68k \
> -initrd initrd.gz \
> -drive file=debian-9.0-m68k-NETINST-1.iso \
> -drive file=m68k.qcow2,format=qcow2 \
> -nographic
>
> If you use a graphic adapter instead of "-nographic", you can use
> "-g" to set the size of the display (I use "-g 1600x800x24").
>
> Co-developed-by: Mark Cave-Ayland <address@hidden>
> Signed-off-by: Mark Cave-Ayland <address@hidden>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> MAINTAINERS | 14 ++
> default-configs/m68k-softmmu.mak | 1 +
> hw/m68k/Kconfig | 12 +
> hw/m68k/Makefile.objs | 1 +
> hw/m68k/bootinfo.h | 100 +++++++++
> hw/m68k/q800.c | 369
> +++++++++++++++++++++++++++++++ 6 files changed, 497 insertions(+)
> create mode 100644 hw/m68k/bootinfo.h
> create mode 100644 hw/m68k/q800.c
[...]
> diff --git a/hw/m68k/bootinfo.h b/hw/m68k/bootinfo.h
> new file mode 100644
> index 0000000000..6584775f6d
> --- /dev/null
> +++ b/hw/m68k/bootinfo.h
> @@ -0,0 +1,100 @@
> +struct bi_record {
> + uint16_t tag; /* tag ID */
> + uint16_t size; /* size of record */
> + uint32_t data[0]; /* data */
> +};
Maybe add a short description, license information and header guards at
the top of the file?
Apart from that, the patch looks sane to me.
Thomas
- [Qemu-block] [PATCH v7 00/10] hw/m68k: add Apple Machintosh Quadra 800 machine, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 04/10] hw/m68k: add via support, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 06/10] hw/m68k: add macfb video card, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 05/10] hw/m68k: implement ADB bus support for via, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 09/10] hw/m68k: add a dummy SWIM floppy controller, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 07/10] hw/m68k: add Nubus support, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 02/10] esp: add pseudo-DMA as used by Macintosh, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 03/10] dp8393x: manage big endian bus, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 08/10] hw/m68k: add Nubus support for macfb video card, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 01/10] escc: introduce a selector for the register bit, Laurent Vivier, 2019/05/25
- Re: [Qemu-block] [Qemu-devel] [PATCH v7 00/10] hw/m68k: add Apple Machintosh Quadra 800 machine, no-reply, 2019/05/25