Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / arch / m68k / include / uapi / asm / bootinfo-virt.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * asm/bootinfo-virt.h -- Virtual-m68k-specific boot information definitions
4  */
5
6 #ifndef _UAPI_ASM_M68K_BOOTINFO_VIRT_H
7 #define _UAPI_ASM_M68K_BOOTINFO_VIRT_H
8
9 #define BI_VIRT_QEMU_VERSION    0x8000
10 #define BI_VIRT_GF_PIC_BASE     0x8001
11 #define BI_VIRT_GF_RTC_BASE     0x8002
12 #define BI_VIRT_GF_TTY_BASE     0x8003
13 #define BI_VIRT_VIRTIO_BASE     0x8004
14 #define BI_VIRT_CTRL_BASE       0x8005
15
16 /*
17  * A random seed used to initialize the RNG. Record format:
18  *
19  *   - length       [ 2 bytes, 16-bit big endian ]
20  *   - seed data    [ `length` bytes, padded to preserve 2-byte alignment ]
21  */
22 #define BI_VIRT_RNG_SEED        0x8006
23
24 #define VIRT_BOOTI_VERSION      MK_BI_VERSION(2, 0)
25
26 #endif /* _UAPI_ASM_M68K_BOOTINFO_MAC_H */