Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
bootinfo.h File Reference

Go to the source code of this file.

Data Structures

struct  bi_record
 
struct  mac_booter_data
 
struct  bootversion
 

Macros

#define BI_LAST   0x0000 /* last record (sentinel) */
 
#define BI_MACHTYPE   0x0001 /* machine type (u_long) */
 
#define BI_CPUTYPE   0x0002 /* cpu type (u_long) */
 
#define BI_FPUTYPE   0x0003 /* fpu type (u_long) */
 
#define BI_MMUTYPE   0x0004 /* mmu type (u_long) */
 
#define BI_MEMCHUNK   0x0005 /* memory chunk address and size */
 
#define BI_RAMDISK   0x0006 /* ramdisk address and size */
 
#define BI_COMMAND_LINE   0x0007 /* kernel command line parameters */
 
#define BI_AMIGA_MODEL   0x8000 /* model (u_long) */
 
#define BI_AMIGA_AUTOCON   0x8001 /* AutoConfig device */
 
#define BI_AMIGA_CHIP_SIZE   0x8002 /* size of Chip RAM (u_long) */
 
#define BI_AMIGA_VBLANK   0x8003 /* VBLANK frequency (u_char) */
 
#define BI_AMIGA_PSFREQ   0x8004 /* power supply frequency (u_char) */
 
#define BI_AMIGA_ECLOCK   0x8005 /* EClock frequency (u_long) */
 
#define BI_AMIGA_CHIPSET   0x8006 /* native chipset present (u_long) */
 
#define BI_AMIGA_SERPER   0x8007 /* serial port period (u_short) */
 
#define BI_ATARI_MCH_COOKIE   0x8000 /* _MCH cookie from TOS (u_long) */
 
#define BI_ATARI_MCH_TYPE   0x8001 /* special machine type (u_long) */
 
#define ATARI_MCH_ST   0
 
#define ATARI_MCH_STE   1
 
#define ATARI_MCH_TT   2
 
#define ATARI_MCH_FALCON   3
 
#define ATARI_MACH_NORMAL   0 /* no special machine type */
 
#define ATARI_MACH_MEDUSA   1 /* Medusa 040 */
 
#define ATARI_MACH_HADES   2 /* Hades 040 or 060 */
 
#define ATARI_MACH_AB40   3 /* Afterburner040 on Falcon */
 
#define BI_VME_TYPE   0x8000 /* VME sub-architecture (u_long) */
 
#define BI_VME_BRDINFO   0x8001 /* VME board information (struct) */
 
#define VME_TYPE_TP34V   0x0034 /* Tadpole TP34V */
 
#define VME_TYPE_MVME147   0x0147 /* Motorola MVME147 */
 
#define VME_TYPE_MVME162   0x0162 /* Motorola MVME162 */
 
#define VME_TYPE_MVME166   0x0166 /* Motorola MVME166 */
 
#define VME_TYPE_MVME167   0x0167 /* Motorola MVME167 */
 
#define VME_TYPE_MVME172   0x0172 /* Motorola MVME172 */
 
#define VME_TYPE_MVME177   0x0177 /* Motorola MVME177 */
 
#define VME_TYPE_BVME4000   0x4000 /* BVM Ltd. BVME4000 */
 
#define VME_TYPE_BVME6000   0x6000 /* BVM Ltd. BVME6000 */
 
#define BI_MAC_MODEL   0x8000 /* Mac Gestalt ID (model type) */
 
#define BI_MAC_VADDR   0x8001 /* Mac video base address */
 
#define BI_MAC_VDEPTH   0x8002 /* Mac video depth */
 
#define BI_MAC_VROW   0x8003 /* Mac video rowbytes */
 
#define BI_MAC_VDIM   0x8004 /* Mac video dimensions */
 
#define BI_MAC_VLOGICAL   0x8005 /* Mac video logical base */
 
#define BI_MAC_SCCBASE   0x8006 /* Mac SCC base address */
 
#define BI_MAC_BTIME   0x8007 /* Mac boot time */
 
#define BI_MAC_GMTBIAS   0x8008 /* Mac GMT timezone offset */
 
#define BI_MAC_MEMSIZE   0x8009 /* Mac RAM size (sanity check) */
 
#define BI_MAC_CPUID   0x800a /* Mac CPU type (sanity check) */
 
#define BI_MAC_ROMBASE   0x800b /* Mac system ROM base address */
 
#define BI_MAC_VIA1BASE   0x8010 /* Mac VIA1 base address (always present) */
 
#define BI_MAC_VIA2BASE   0x8011 /* Mac VIA2 base address (type varies) */
 
#define BI_MAC_VIA2TYPE   0x8012 /* Mac VIA2 type (VIA, RBV, OSS) */
 
#define BI_MAC_ADBTYPE   0x8013 /* Mac ADB interface type */
 
#define BI_MAC_ASCBASE   0x8014 /* Mac Apple Sound Chip base address */
 
#define BI_MAC_SCSI5380   0x8015 /* Mac NCR 5380 SCSI (base address, multi) */
 
#define BI_MAC_SCSIDMA   0x8016 /* Mac SCSI DMA (base address) */
 
#define BI_MAC_SCSI5396   0x8017 /* Mac NCR 53C96 SCSI (base address, multi) */
 
#define BI_MAC_IDETYPE   0x8018 /* Mac IDE interface type */
 
#define BI_MAC_IDEBASE   0x8019 /* Mac IDE interface base address */
 
#define BI_MAC_NUBUS   0x801a /* Mac Nubus type (none, regular, pseudo) */
 
#define BI_MAC_SLOTMASK   0x801b /* Mac Nubus slots present */
 
#define BI_MAC_SCCTYPE   0x801c /* Mac SCC serial type (normal, IOP) */
 
#define BI_MAC_ETHTYPE   0x801d /* Mac builtin ethernet type (Sonic, MACE */
 
#define BI_MAC_ETHBASE   0x801e /* Mac builtin ethernet base address */
 
#define BI_MAC_PMU   0x801f /* Mac power management / poweroff hardware */
 
#define BI_MAC_IOP_SWIM   0x8020 /* Mac SWIM floppy IOP */
 
#define BI_MAC_IOP_ADB   0x8021 /* Mac ADB IOP */
 
#define BI_APOLLO_MODEL   0x8000 /* model (u_long) */
 
#define BI_HP300_MODEL   0x8000 /* model (u_long) */
 
#define BI_HP300_UART_SCODE   0x8001 /* UART select code (u_long) */
 
#define BI_HP300_UART_ADDR   0x8002 /* phys. addr of UART (u_long) */
 
#define BOOTINFOV_MAGIC   0x4249561A /* 'BIV^Z' */
 
#define MK_BI_VERSION(major, minor)   (((major)<<16)+(minor))
 
#define BI_VERSION_MAJOR(v)   (((v) >> 16) & 0xffff)
 
#define BI_VERSION_MINOR(v)   ((v) & 0xffff)
 
#define AMIGA_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 
#define ATARI_BOOTI_VERSION   MK_BI_VERSION( 2, 1 )
 
#define MAC_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 
#define MVME147_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 
#define MVME16x_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 
#define BVME6000_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 
#define Q40_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 
#define HP300_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )
 

Variables

struct mac_booter_data mac_bi_data
 

Macro Definition Documentation

#define AMIGA_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 257 of file bootinfo.h.

#define ATARI_BOOTI_VERSION   MK_BI_VERSION( 2, 1 )

Definition at line 258 of file bootinfo.h.

#define ATARI_MACH_AB40   3 /* Afterburner040 on Falcon */

Definition at line 103 of file bootinfo.h.

#define ATARI_MACH_HADES   2 /* Hades 040 or 060 */

Definition at line 102 of file bootinfo.h.

#define ATARI_MACH_MEDUSA   1 /* Medusa 040 */

Definition at line 101 of file bootinfo.h.

#define ATARI_MACH_NORMAL   0 /* no special machine type */

Definition at line 100 of file bootinfo.h.

#define ATARI_MCH_FALCON   3

Definition at line 97 of file bootinfo.h.

#define ATARI_MCH_ST   0

Definition at line 94 of file bootinfo.h.

#define ATARI_MCH_STE   1

Definition at line 95 of file bootinfo.h.

#define ATARI_MCH_TT   2

Definition at line 96 of file bootinfo.h.

#define BI_AMIGA_AUTOCON   0x8001 /* AutoConfig device */

Definition at line 76 of file bootinfo.h.

#define BI_AMIGA_CHIP_SIZE   0x8002 /* size of Chip RAM (u_long) */

Definition at line 78 of file bootinfo.h.

#define BI_AMIGA_CHIPSET   0x8006 /* native chipset present (u_long) */

Definition at line 82 of file bootinfo.h.

#define BI_AMIGA_ECLOCK   0x8005 /* EClock frequency (u_long) */

Definition at line 81 of file bootinfo.h.

#define BI_AMIGA_MODEL   0x8000 /* model (u_long) */

Definition at line 75 of file bootinfo.h.

#define BI_AMIGA_PSFREQ   0x8004 /* power supply frequency (u_char) */

Definition at line 80 of file bootinfo.h.

#define BI_AMIGA_SERPER   0x8007 /* serial port period (u_short) */

Definition at line 83 of file bootinfo.h.

#define BI_AMIGA_VBLANK   0x8003 /* VBLANK frequency (u_char) */

Definition at line 79 of file bootinfo.h.

#define BI_APOLLO_MODEL   0x8000 /* model (u_long) */

Definition at line 214 of file bootinfo.h.

#define BI_ATARI_MCH_COOKIE   0x8000 /* _MCH cookie from TOS (u_long) */

Definition at line 89 of file bootinfo.h.

#define BI_ATARI_MCH_TYPE   0x8001 /* special machine type (u_long) */

Definition at line 90 of file bootinfo.h.

#define BI_COMMAND_LINE   0x0007 /* kernel command line parameters */

Definition at line 68 of file bootinfo.h.

#define BI_CPUTYPE   0x0002 /* cpu type (u_long) */

Definition at line 61 of file bootinfo.h.

#define BI_FPUTYPE   0x0003 /* fpu type (u_long) */

Definition at line 62 of file bootinfo.h.

#define BI_HP300_MODEL   0x8000 /* model (u_long) */

Definition at line 220 of file bootinfo.h.

#define BI_HP300_UART_ADDR   0x8002 /* phys. addr of UART (u_long) */

Definition at line 222 of file bootinfo.h.

#define BI_HP300_UART_SCODE   0x8001 /* UART select code (u_long) */

Definition at line 221 of file bootinfo.h.

#define BI_LAST   0x0000 /* last record (sentinel) */

Definition at line 59 of file bootinfo.h.

#define BI_MAC_ADBTYPE   0x8013 /* Mac ADB interface type */

Definition at line 154 of file bootinfo.h.

#define BI_MAC_ASCBASE   0x8014 /* Mac Apple Sound Chip base address */

Definition at line 155 of file bootinfo.h.

#define BI_MAC_BTIME   0x8007 /* Mac boot time */

Definition at line 140 of file bootinfo.h.

#define BI_MAC_CPUID   0x800a /* Mac CPU type (sanity check) */

Definition at line 143 of file bootinfo.h.

#define BI_MAC_ETHBASE   0x801e /* Mac builtin ethernet base address */

Definition at line 165 of file bootinfo.h.

#define BI_MAC_ETHTYPE   0x801d /* Mac builtin ethernet type (Sonic, MACE */

Definition at line 164 of file bootinfo.h.

#define BI_MAC_GMTBIAS   0x8008 /* Mac GMT timezone offset */

Definition at line 141 of file bootinfo.h.

#define BI_MAC_IDEBASE   0x8019 /* Mac IDE interface base address */

Definition at line 160 of file bootinfo.h.

#define BI_MAC_IDETYPE   0x8018 /* Mac IDE interface type */

Definition at line 159 of file bootinfo.h.

#define BI_MAC_IOP_ADB   0x8021 /* Mac ADB IOP */

Definition at line 168 of file bootinfo.h.

#define BI_MAC_IOP_SWIM   0x8020 /* Mac SWIM floppy IOP */

Definition at line 167 of file bootinfo.h.

#define BI_MAC_MEMSIZE   0x8009 /* Mac RAM size (sanity check) */

Definition at line 142 of file bootinfo.h.

#define BI_MAC_MODEL   0x8000 /* Mac Gestalt ID (model type) */

Definition at line 133 of file bootinfo.h.

#define BI_MAC_NUBUS   0x801a /* Mac Nubus type (none, regular, pseudo) */

Definition at line 161 of file bootinfo.h.

#define BI_MAC_PMU   0x801f /* Mac power management / poweroff hardware */

Definition at line 166 of file bootinfo.h.

#define BI_MAC_ROMBASE   0x800b /* Mac system ROM base address */

Definition at line 144 of file bootinfo.h.

#define BI_MAC_SCCBASE   0x8006 /* Mac SCC base address */

Definition at line 139 of file bootinfo.h.

#define BI_MAC_SCCTYPE   0x801c /* Mac SCC serial type (normal, IOP) */

Definition at line 163 of file bootinfo.h.

#define BI_MAC_SCSI5380   0x8015 /* Mac NCR 5380 SCSI (base address, multi) */

Definition at line 156 of file bootinfo.h.

#define BI_MAC_SCSI5396   0x8017 /* Mac NCR 53C96 SCSI (base address, multi) */

Definition at line 158 of file bootinfo.h.

#define BI_MAC_SCSIDMA   0x8016 /* Mac SCSI DMA (base address) */

Definition at line 157 of file bootinfo.h.

#define BI_MAC_SLOTMASK   0x801b /* Mac Nubus slots present */

Definition at line 162 of file bootinfo.h.

#define BI_MAC_VADDR   0x8001 /* Mac video base address */

Definition at line 134 of file bootinfo.h.

#define BI_MAC_VDEPTH   0x8002 /* Mac video depth */

Definition at line 135 of file bootinfo.h.

#define BI_MAC_VDIM   0x8004 /* Mac video dimensions */

Definition at line 137 of file bootinfo.h.

#define BI_MAC_VIA1BASE   0x8010 /* Mac VIA1 base address (always present) */

Definition at line 151 of file bootinfo.h.

#define BI_MAC_VIA2BASE   0x8011 /* Mac VIA2 base address (type varies) */

Definition at line 152 of file bootinfo.h.

#define BI_MAC_VIA2TYPE   0x8012 /* Mac VIA2 type (VIA, RBV, OSS) */

Definition at line 153 of file bootinfo.h.

#define BI_MAC_VLOGICAL   0x8005 /* Mac video logical base */

Definition at line 138 of file bootinfo.h.

#define BI_MAC_VROW   0x8003 /* Mac video rowbytes */

Definition at line 136 of file bootinfo.h.

#define BI_MACHTYPE   0x0001 /* machine type (u_long) */

Definition at line 60 of file bootinfo.h.

#define BI_MEMCHUNK   0x0005 /* memory chunk address and size */

Definition at line 64 of file bootinfo.h.

#define BI_MMUTYPE   0x0004 /* mmu type (u_long) */

Definition at line 63 of file bootinfo.h.

#define BI_RAMDISK   0x0006 /* ramdisk address and size */

Definition at line 66 of file bootinfo.h.

#define BI_VERSION_MAJOR (   v)    (((v) >> 16) & 0xffff)

Definition at line 241 of file bootinfo.h.

#define BI_VERSION_MINOR (   v)    ((v) & 0xffff)

Definition at line 242 of file bootinfo.h.

#define BI_VME_BRDINFO   0x8001 /* VME board information (struct) */

Definition at line 110 of file bootinfo.h.

#define BI_VME_TYPE   0x8000 /* VME sub-architecture (u_long) */

Definition at line 109 of file bootinfo.h.

#define BOOTINFOV_MAGIC   0x4249561A /* 'BIV^Z' */

Definition at line 239 of file bootinfo.h.

#define BVME6000_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 262 of file bootinfo.h.

#define HP300_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 264 of file bootinfo.h.

#define MAC_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 259 of file bootinfo.h.

#define MK_BI_VERSION (   major,
  minor 
)    (((major)<<16)+(minor))

Definition at line 240 of file bootinfo.h.

#define MVME147_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 260 of file bootinfo.h.

#define MVME16x_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 261 of file bootinfo.h.

#define Q40_BOOTI_VERSION   MK_BI_VERSION( 2, 0 )

Definition at line 263 of file bootinfo.h.

#define VME_TYPE_BVME4000   0x4000 /* BVM Ltd. BVME4000 */

Definition at line 120 of file bootinfo.h.

#define VME_TYPE_BVME6000   0x6000 /* BVM Ltd. BVME6000 */

Definition at line 121 of file bootinfo.h.

#define VME_TYPE_MVME147   0x0147 /* Motorola MVME147 */

Definition at line 114 of file bootinfo.h.

#define VME_TYPE_MVME162   0x0162 /* Motorola MVME162 */

Definition at line 115 of file bootinfo.h.

#define VME_TYPE_MVME166   0x0166 /* Motorola MVME166 */

Definition at line 116 of file bootinfo.h.

#define VME_TYPE_MVME167   0x0167 /* Motorola MVME167 */

Definition at line 117 of file bootinfo.h.

#define VME_TYPE_MVME172   0x0172 /* Motorola MVME172 */

Definition at line 118 of file bootinfo.h.

#define VME_TYPE_MVME177   0x0177 /* Motorola MVME177 */

Definition at line 119 of file bootinfo.h.

#define VME_TYPE_TP34V   0x0034 /* Tadpole TP34V */

Definition at line 113 of file bootinfo.h.

Variable Documentation

struct mac_booter_data mac_bi_data

Definition at line 49 of file config.c.