m68k: Introduce a virtual m68k machine
This machine allows to have up to 3.2 GiB and 128 Virtio devices. It is based on android goldfish devices. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Link: https://lore.kernel.org/r/20220406201523.243733-5-laurent@vivier.eu Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
c92e7ef164
commit
05d51e42df
18
arch/m68k/include/uapi/asm/bootinfo-virt.h
Normal file
18
arch/m68k/include/uapi/asm/bootinfo-virt.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/* 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 */
|
||||
@@ -83,6 +83,7 @@ struct mem_info {
|
||||
#define MACH_SUN3X 11
|
||||
#define MACH_M54XX 12
|
||||
#define MACH_M5441X 13
|
||||
#define MACH_VIRT 14
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user