xref: /linux/arch/m68k/include/uapi/asm/bootinfo-mac.h (revision 4c3c522bcebe16a717d7a809fd14b11823794027)
1 /*
2 ** asm/bootinfo-mac.h -- Macintosh-specific boot information definitions
3 */
4 
5 #ifndef _UAPI_ASM_M68K_BOOTINFO_MAC_H
6 #define _UAPI_ASM_M68K_BOOTINFO_MAC_H
7 
8 
9     /*
10      *  Macintosh-specific tags (all u_long)
11      */
12 
13 #define BI_MAC_MODEL		0x8000	/* Mac Gestalt ID (model type) */
14 #define BI_MAC_VADDR		0x8001	/* Mac video base address */
15 #define BI_MAC_VDEPTH		0x8002	/* Mac video depth */
16 #define BI_MAC_VROW		0x8003	/* Mac video rowbytes */
17 #define BI_MAC_VDIM		0x8004	/* Mac video dimensions */
18 #define BI_MAC_VLOGICAL		0x8005	/* Mac video logical base */
19 #define BI_MAC_SCCBASE		0x8006	/* Mac SCC base address */
20 #define BI_MAC_BTIME		0x8007	/* Mac boot time */
21 #define BI_MAC_GMTBIAS		0x8008	/* Mac GMT timezone offset */
22 #define BI_MAC_MEMSIZE		0x8009	/* Mac RAM size (sanity check) */
23 #define BI_MAC_CPUID		0x800a	/* Mac CPU type (sanity check) */
24 #define BI_MAC_ROMBASE		0x800b	/* Mac system ROM base address */
25 
26 
27     /*
28      *  Macintosh hardware profile data - unused, see macintosh.h for
29      *  reasonable type values
30      */
31 
32 #define BI_MAC_VIA1BASE		0x8010	/* Mac VIA1 base address (always present) */
33 #define BI_MAC_VIA2BASE		0x8011	/* Mac VIA2 base address (type varies) */
34 #define BI_MAC_VIA2TYPE		0x8012	/* Mac VIA2 type (VIA, RBV, OSS) */
35 #define BI_MAC_ADBTYPE		0x8013	/* Mac ADB interface type */
36 #define BI_MAC_ASCBASE		0x8014	/* Mac Apple Sound Chip base address */
37 #define BI_MAC_SCSI5380		0x8015	/* Mac NCR 5380 SCSI (base address, multi) */
38 #define BI_MAC_SCSIDMA		0x8016	/* Mac SCSI DMA (base address) */
39 #define BI_MAC_SCSI5396		0x8017	/* Mac NCR 53C96 SCSI (base address, multi) */
40 #define BI_MAC_IDETYPE		0x8018	/* Mac IDE interface type */
41 #define BI_MAC_IDEBASE		0x8019	/* Mac IDE interface base address */
42 #define BI_MAC_NUBUS		0x801a	/* Mac Nubus type (none, regular, pseudo) */
43 #define BI_MAC_SLOTMASK		0x801b	/* Mac Nubus slots present */
44 #define BI_MAC_SCCTYPE		0x801c	/* Mac SCC serial type (normal, IOP) */
45 #define BI_MAC_ETHTYPE		0x801d	/* Mac builtin ethernet type (Sonic, MACE */
46 #define BI_MAC_ETHBASE		0x801e	/* Mac builtin ethernet base address */
47 #define BI_MAC_PMU		0x801f	/* Mac power management / poweroff hardware */
48 #define BI_MAC_IOP_SWIM		0x8020	/* Mac SWIM floppy IOP */
49 #define BI_MAC_IOP_ADB		0x8021	/* Mac ADB IOP */
50 
51 
52     /*
53      *  Latest Macintosh bootinfo version
54      */
55 
56 #define MAC_BOOTI_VERSION	MK_BI_VERSION(2, 0)
57 
58 
59 #endif /* _UAPI_ASM_M68K_BOOTINFO_MAC_H */
60