e48b140eef
m68k: virt: correctly set the initial PC
...
According to QEMU parameter, set initial PC to the entry of
the loaded kernel.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Message-Id: <20220115203725.3834712-4-laurent@vivier.eu >
2022-01-20 09:09:37 +01:00
214bdf8e71
hw: m68k: Add virt compat machine type for 7.0
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Cornelia Huck <cohuck@redhat.com >
Message-Id: <20211218114340.1856757-1-laurent@vivier.eu >
2022-01-09 12:02:53 +01:00
2b22e7540d
Merge tag 'm68k-for-6.2-pull-request' of git://github.com/vivier/qemu-m68k into staging
...
m68k pull request 20211109
Add virt machine types for 6.1 and 6.2
# gpg: Signature made Tue 09 Nov 2021 12:14:39 PM CET
# gpg: using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg: issuer "laurent@vivier.eu "
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com >" [full]
# gpg: aka "Laurent Vivier <laurent@vivier.eu >" [full]
# gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com >" [full]
* tag 'm68k-for-6.2-pull-request' of git://github.com/vivier/qemu-m68k:
hw: m68k: virt: Add compat machine for 6.2
hw: m68k: virt: Add compat machine for 6.1
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
2021-11-09 13:16:56 +01:00
6ed25621f2
hw: m68k: virt: Add compat machine for 6.2
...
Add the missing machine type for m68k/virt
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Message-Id: <20211106194158.4068596-3-laurent@vivier.eu >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-11-09 12:14:18 +01:00
6837f29976
hw: m68k: virt: Add compat machine for 6.1
...
Add the missing machine type for m68k/virt
Cc: qemu-stable@nongnu.org
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Message-Id: <20211106194158.4068596-2-laurent@vivier.eu >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-11-09 12:14:07 +01:00
65b4c8c759
hw/m68k: Fix typo in SPDX tag
...
Fix 'Identifer' -> 'Identifier' typo.
Cc: Laurent Vivier <laurent@vivier.eu >
Fixes: 8c6df16ff6
("hw/char: add goldfish-tty")
Fixes: 8785559390
("hw/intc: add goldfish-pic")
Fixes: 2fde99ee31
("m68k: add an interrupt controller")
Fixes: 0791bc02b8
("m68k: add a system controller")
Fixes: e1cecdca55
("m68k: add Virtual M68k Machine")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Reviewed-by: Laurent Vivier <laurent@vivier.eu >
Message-Id: <20211103105311.3399293-1-f4bug@amsat.org >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-11-09 10:11:27 +01:00
ee86213aa3
Do not include exec/address-spaces.h if it's not really necessary
...
Stop including exec/address-spaces.h in files that don't need it.
Signed-off-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20210416171314.2074665-5-thuth@redhat.com >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-05-02 17:24:51 +02:00
e924921f5c
hw: Do not include hw/irq.h if it is not necessary
...
Many files include hw/irq.h without needing it. Remove the superfluous
include statements.
Signed-off-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Alistair Francis <alistair.francis@wdc.com >
Message-Id: <20210327050236.2232347-1-thuth@redhat.com >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-05-02 17:24:50 +02:00
e06054368c
hw: Remove superfluous includes of hw/hw.h
...
The include/hw/hw.h header only has a prototype for hw_error(),
so it does not make sense to include this in files that do not
use this function.
Signed-off-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20210326151848.2217216-1-thuth@redhat.com >
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2021-05-02 17:24:50 +02:00
e1cecdca55
m68k: add Virtual M68k Machine
...
The machine is based on Goldfish interfaces defined by Google
for Android simulator. It uses Goldfish-rtc (timer and RTC),
Goldfish-pic (PIC) and Goldfish-tty (for serial port and early tty).
The machine is created with 128 virtio-mmio bus, and they can
be used to use serial console, GPU, disk, NIC, HID, ...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org >
Message-Id: <20210312214145.2936082-6-laurent@vivier.eu >
2021-03-15 21:03:06 +01:00