blob: b44ff73898a9cb96f6f511d037a1863823b0f86e [file] [log] [blame]
Geert Uytterhoeven4c3c5222013-10-02 11:37:33 +02001/*
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 /*
Geert Uytterhoevenabe48102013-10-04 11:41:24 +020010 * Macintosh-specific tags (all __be32)
Geert Uytterhoeven4c3c5222013-10-02 11:37:33 +020011 */
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 /*
Geert Uytterhoeven8693d612013-10-03 11:40:00 +020053 * Macintosh Gestalt numbers (BI_MAC_MODEL)
54 */
55
56#define MAC_MODEL_II 6
57#define MAC_MODEL_IIX 7
58#define MAC_MODEL_IICX 8
59#define MAC_MODEL_SE30 9
60#define MAC_MODEL_IICI 11
61#define MAC_MODEL_IIFX 13 /* And well numbered it is too */
62#define MAC_MODEL_IISI 18
63#define MAC_MODEL_LC 19
64#define MAC_MODEL_Q900 20
65#define MAC_MODEL_PB170 21
66#define MAC_MODEL_Q700 22
67#define MAC_MODEL_CLII 23 /* aka: P200 */
68#define MAC_MODEL_PB140 25
69#define MAC_MODEL_Q950 26 /* aka: WGS95 */
70#define MAC_MODEL_LCIII 27 /* aka: P450 */
71#define MAC_MODEL_PB210 29
72#define MAC_MODEL_C650 30
73#define MAC_MODEL_PB230 32
74#define MAC_MODEL_PB180 33
75#define MAC_MODEL_PB160 34
76#define MAC_MODEL_Q800 35 /* aka: WGS80 */
77#define MAC_MODEL_Q650 36
78#define MAC_MODEL_LCII 37 /* aka: P400/405/410/430 */
79#define MAC_MODEL_PB250 38
80#define MAC_MODEL_IIVI 44
81#define MAC_MODEL_P600 45 /* aka: P600CD */
82#define MAC_MODEL_IIVX 48
83#define MAC_MODEL_CCL 49 /* aka: P250 */
84#define MAC_MODEL_PB165C 50
85#define MAC_MODEL_C610 52 /* aka: WGS60 */
86#define MAC_MODEL_Q610 53
87#define MAC_MODEL_PB145 54 /* aka: PB145B */
88#define MAC_MODEL_P520 56 /* aka: LC520 */
89#define MAC_MODEL_C660 60
90#define MAC_MODEL_P460 62 /* aka: LCIII+, P466/P467 */
91#define MAC_MODEL_PB180C 71
92#define MAC_MODEL_PB520 72 /* aka: PB520C, PB540, PB540C, PB550C */
93#define MAC_MODEL_PB270C 77
94#define MAC_MODEL_Q840 78
95#define MAC_MODEL_P550 80 /* aka: LC550, P560 */
96#define MAC_MODEL_CCLII 83 /* aka: P275 */
97#define MAC_MODEL_PB165 84
98#define MAC_MODEL_PB190 85 /* aka: PB190CS */
99#define MAC_MODEL_TV 88
100#define MAC_MODEL_P475 89 /* aka: LC475, P476 */
101#define MAC_MODEL_P475F 90 /* aka: P475 w/ FPU (no LC040) */
102#define MAC_MODEL_P575 92 /* aka: LC575, P577/P578 */
103#define MAC_MODEL_Q605 94
104#define MAC_MODEL_Q605_ACC 95 /* Q605 accelerated to 33 MHz */
105#define MAC_MODEL_Q630 98 /* aka: LC630, P630/631/635/636/637/638/640 */
106#define MAC_MODEL_P588 99 /* aka: LC580, P580 */
107#define MAC_MODEL_PB280 102
108#define MAC_MODEL_PB280C 103
109#define MAC_MODEL_PB150 115
110
111
112 /*
Geert Uytterhoeven4c3c5222013-10-02 11:37:33 +0200113 * Latest Macintosh bootinfo version
114 */
115
116#define MAC_BOOTI_VERSION MK_BI_VERSION(2, 0)
117
118
119#endif /* _UAPI_ASM_M68K_BOOTINFO_MAC_H */