make the linux-ppc packags be in synch with other platforms
[tangerine.git] / arch / m68k-mac / exec / ep_info.h
blob370b5d50fe7171a994b54aa2879a09a70d0c0b8e
1 #ifndef _EP_INFO_H
2 #define _EP_INFO_H
4 struct ep_entry {
5 unsigned short tag; /* tag ID */
6 unsigned short size; /* size of entry (in bytes) */
7 unsigned long data[0]; /* data */
8 };
11 #define EP_LAST 0x0000 /* last record */
12 #define EP_MACHTYPE 0x0001 /* machine type (ULONG) */
13 #define EP_CPUTYPE 0x0002 /* cpu type (ULONG) */
14 #define EP_FPUTYPE 0x0003 /* fpu type (ULONG) */
15 #define EP_MMUTYPE 0x0004 /* mmu type (ULONG) */
16 #define EP_MEMCHUNK 0x0005 /* memory chunk address and size */
17 /* (struct mem_info) */
18 #define EP_RAMDISK 0x0006 /* ramdisk address and size */
19 /* (struct mem_info) */
20 #define EP_COMMAND_LINE 0x0007 /* kernel command line parameters */
21 /* (string) */
23 #define EP_MODEL 0x8000 /* Gestalt ID */
24 #define EP_VADDR 0x8001 /* video base address */
25 #define EP_VDEPTH 0x8002 /* video depth */
26 #define EP_VROW 0x8003 /* video rowbytes */
27 #define EP_VDIM 0x8004 /* video dimensions */
28 #define EP_VLOGICAL 0x8005 /* video logical base */
29 #define EP_SCCBASE 0x8006 /* SCC base address */
30 #define EP_BTIME 0x8007 /* boot time */
31 #define EP_GMTBIAS 0x8008 /* GMT timezone offset */
32 #define EP_MEMSIZE 0x8009 /* RAM size (sanity check) */
33 #define EP_CPUID 0x800a /* CPU type (sanity check) */
34 #define EP_ROMBASE 0x800b /* system ROM base address */
36 #define EP_VIA1BASE 0x8010 /* VIA1 base address (always present) */
37 #define EP_VIA2BASE 0x8011 /* VIA2 base address (type varies) */
38 #define EP_VIA2TYPE 0x8012 /* VIA2 type (VIA, RBV, OSS) */
39 #define EP_ADBTYPE 0x8013 /* ADB interface type */
40 #define EP_ASCBASE 0x8014 /* Apple Sound Chip base address */
41 #define EP_SCSI5380 0x8015 /* NCR 5380 SCSI (base address, multi) */
42 #define EP_SCSIDMA 0x8016 /* SCSI DMA (base address) */
43 #define EP_SCSI5396 0x8017 /* NCR 53C96 SCSI (base address, multi) */
44 #define EP_IDETYPE 0x8018 /* IDE interface type */
45 #define EP_IDEBASE 0x8019 /* IDE interface base address */
46 #define EP_NUBUS 0x801a /* Nubus type (none, regular, pseudo) */
47 #define EP_SLOTMASK 0x801b /* Nubus slots present */
48 #define EP_SCCTYPE 0x801c /* SCC serial type (normal, IOP) */
49 #define EP_ETHTYPE 0x801d /* builtin ethernet type (Sonic, MACE */
50 #define EP_ETHBASE 0x801e /* builtin ethernet base address */
51 #define EP_PMU 0x801f /* power management / poweroff hardware */
52 #define EP_IOP_SWIM 0x8020 /* SWIM floppy IOP */
53 #define EP_IOP_ADB 0x8021 /* ADB IOP */
55 #define MAX_MEM_HEADERS 10
57 struct mac68k_init_stuff {
58 unsigned long vidaddr;
59 unsigned long viddepth;
60 unsigned long vidrow;
61 unsigned long vidwidth;
62 unsigned long vidheight;
63 unsigned long model;
64 unsigned long cpu;
65 unsigned long mem;
66 unsigned long memchunk[MAX_MEM_HEADERS];
67 unsigned long memchunksize[MAX_MEM_HEADERS];
68 unsigned char chrrows;
69 unsigned char chrcols;
70 unsigned char curcol;
71 unsigned char currow;
72 char fontbyte[128][10][8];
75 #endif /* _EP_INFO_H */