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>
19 lines
527 B
C
19 lines
527 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
** asm/bootinfo-virt.h -- Virtual-m68k-specific boot information definitions
|
|
*/
|
|
|
|
#ifndef _UAPI_ASM_M68K_BOOTINFO_VIRT_H
|
|
#define _UAPI_ASM_M68K_BOOTINFO_VIRT_H
|
|
|
|
#define BI_VIRT_QEMU_VERSION 0x8000
|
|
#define BI_VIRT_GF_PIC_BASE 0x8001
|
|
#define BI_VIRT_GF_RTC_BASE 0x8002
|
|
#define BI_VIRT_GF_TTY_BASE 0x8003
|
|
#define BI_VIRT_VIRTIO_BASE 0x8004
|
|
#define BI_VIRT_CTRL_BASE 0x8005
|
|
|
|
#define VIRT_BOOTI_VERSION MK_BI_VERSION(2, 0)
|
|
|
|
#endif /* _UAPI_ASM_M68K_BOOTINFO_MAC_H */
|