-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
122 changed files
with
5,890 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../m68k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../s390 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../generic/include/asm-generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
#ifndef __M68K_A_OUT_H__ | ||
#define __M68K_A_OUT_H__ | ||
|
||
struct exec | ||
{ | ||
unsigned long a_info; /* Use macros N_MAGIC, etc for access */ | ||
unsigned a_text; /* length of text, in bytes */ | ||
unsigned a_data; /* length of data, in bytes */ | ||
unsigned a_bss; /* length of uninitialized data area for file, in bytes */ | ||
unsigned a_syms; /* length of symbol table data in file, in bytes */ | ||
unsigned a_entry; /* start address */ | ||
unsigned a_trsize; /* length of relocation info for text, in bytes */ | ||
unsigned a_drsize; /* length of relocation info for data, in bytes */ | ||
}; | ||
|
||
#define N_TRSIZE(a) ((a).a_trsize) | ||
#define N_DRSIZE(a) ((a).a_drsize) | ||
#define N_SYMSIZE(a) ((a).a_syms) | ||
|
||
#endif /* __M68K_A_OUT_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include <asm-generic/auxvec.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include <asm-generic/bitsperlong.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
** asm/bootinfo-amiga.h -- Amiga-specific boot information definitions | ||
*/ | ||
|
||
#ifndef _ASM_M68K_BOOTINFO_AMIGA_H | ||
#define _ASM_M68K_BOOTINFO_AMIGA_H | ||
|
||
|
||
/* | ||
* Amiga-specific tags | ||
*/ | ||
|
||
#define BI_AMIGA_MODEL 0x8000 /* model (__be32) */ | ||
#define BI_AMIGA_AUTOCON 0x8001 /* AutoConfig device */ | ||
/* (AmigaOS struct ConfigDev) */ | ||
#define BI_AMIGA_CHIP_SIZE 0x8002 /* size of Chip RAM (__be32) */ | ||
#define BI_AMIGA_VBLANK 0x8003 /* VBLANK frequency (__u8) */ | ||
#define BI_AMIGA_PSFREQ 0x8004 /* power supply frequency (__u8) */ | ||
#define BI_AMIGA_ECLOCK 0x8005 /* EClock frequency (__be32) */ | ||
#define BI_AMIGA_CHIPSET 0x8006 /* native chipset present (__be32) */ | ||
#define BI_AMIGA_SERPER 0x8007 /* serial port period (__be16) */ | ||
|
||
|
||
/* | ||
* Amiga models (BI_AMIGA_MODEL) | ||
*/ | ||
|
||
#define AMI_UNKNOWN 0 | ||
#define AMI_500 1 | ||
#define AMI_500PLUS 2 | ||
#define AMI_600 3 | ||
#define AMI_1000 4 | ||
#define AMI_1200 5 | ||
#define AMI_2000 6 | ||
#define AMI_2500 7 | ||
#define AMI_3000 8 | ||
#define AMI_3000T 9 | ||
#define AMI_3000PLUS 10 | ||
#define AMI_4000 11 | ||
#define AMI_4000T 12 | ||
#define AMI_CDTV 13 | ||
#define AMI_CD32 14 | ||
#define AMI_DRACO 15 | ||
|
||
|
||
/* | ||
* Amiga chipsets (BI_AMIGA_CHIPSET) | ||
*/ | ||
|
||
#define CS_STONEAGE 0 | ||
#define CS_OCS 1 | ||
#define CS_ECS 2 | ||
#define CS_AGA 3 | ||
|
||
|
||
/* | ||
* Latest Amiga bootinfo version | ||
*/ | ||
|
||
#define AMIGA_BOOTI_VERSION MK_BI_VERSION(2, 0) | ||
|
||
|
||
#endif /* _ASM_M68K_BOOTINFO_AMIGA_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
** asm/bootinfo-apollo.h -- Apollo-specific boot information definitions | ||
*/ | ||
|
||
#ifndef _ASM_M68K_BOOTINFO_APOLLO_H | ||
#define _ASM_M68K_BOOTINFO_APOLLO_H | ||
|
||
|
||
/* | ||
* Apollo-specific tags | ||
*/ | ||
|
||
#define BI_APOLLO_MODEL 0x8000 /* model (__be32) */ | ||
|
||
|
||
/* | ||
* Apollo models (BI_APOLLO_MODEL) | ||
*/ | ||
|
||
#define APOLLO_UNKNOWN 0 | ||
#define APOLLO_DN3000 1 | ||
#define APOLLO_DN3010 2 | ||
#define APOLLO_DN3500 3 | ||
#define APOLLO_DN4000 4 | ||
#define APOLLO_DN4500 5 | ||
|
||
|
||
#endif /* _ASM_M68K_BOOTINFO_APOLLO_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
** asm/bootinfo-atari.h -- Atari-specific boot information definitions | ||
*/ | ||
|
||
#ifndef _ASM_M68K_BOOTINFO_ATARI_H | ||
#define _ASM_M68K_BOOTINFO_ATARI_H | ||
|
||
|
||
/* | ||
* Atari-specific tags | ||
*/ | ||
|
||
#define BI_ATARI_MCH_COOKIE 0x8000 /* _MCH cookie from TOS (__be32) */ | ||
#define BI_ATARI_MCH_TYPE 0x8001 /* special machine type (__be32) */ | ||
|
||
|
||
/* | ||
* mch_cookie values (upper word of BI_ATARI_MCH_COOKIE) | ||
*/ | ||
|
||
#define ATARI_MCH_ST 0 | ||
#define ATARI_MCH_STE 1 | ||
#define ATARI_MCH_TT 2 | ||
#define ATARI_MCH_FALCON 3 | ||
|
||
|
||
/* | ||
* Atari machine types (BI_ATARI_MCH_TYPE) | ||
*/ | ||
|
||
#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 */ | ||
|
||
|
||
/* | ||
* Latest Atari bootinfo version | ||
*/ | ||
|
||
#define ATARI_BOOTI_VERSION MK_BI_VERSION(2, 1) | ||
|
||
|
||
#endif /* _ASM_M68K_BOOTINFO_ATARI_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
** asm/bootinfo-hp300.h -- HP9000/300-specific boot information definitions | ||
*/ | ||
|
||
#ifndef _ASM_M68K_BOOTINFO_HP300_H | ||
#define _ASM_M68K_BOOTINFO_HP300_H | ||
|
||
|
||
/* | ||
* HP9000/300-specific tags | ||
*/ | ||
|
||
#define BI_HP300_MODEL 0x8000 /* model (__be32) */ | ||
#define BI_HP300_UART_SCODE 0x8001 /* UART select code (__be32) */ | ||
#define BI_HP300_UART_ADDR 0x8002 /* phys. addr of UART (__be32) */ | ||
|
||
|
||
/* | ||
* HP9000/300 and /400 models (BI_HP300_MODEL) | ||
* | ||
* This information was taken from NetBSD | ||
*/ | ||
|
||
#define HP_320 0 /* 16MHz 68020+HP MMU+16K external cache */ | ||
#define HP_330 1 /* 16MHz 68020+68851 MMU */ | ||
#define HP_340 2 /* 16MHz 68030 */ | ||
#define HP_345 3 /* 50MHz 68030+32K external cache */ | ||
#define HP_350 4 /* 25MHz 68020+HP MMU+32K external cache */ | ||
#define HP_360 5 /* 25MHz 68030 */ | ||
#define HP_370 6 /* 33MHz 68030+64K external cache */ | ||
#define HP_375 7 /* 50MHz 68030+32K external cache */ | ||
#define HP_380 8 /* 25MHz 68040 */ | ||
#define HP_385 9 /* 33MHz 68040 */ | ||
|
||
#define HP_400 10 /* 50MHz 68030+32K external cache */ | ||
#define HP_425T 11 /* 25MHz 68040 - model 425t */ | ||
#define HP_425S 12 /* 25MHz 68040 - model 425s */ | ||
#define HP_425E 13 /* 25MHz 68040 - model 425e */ | ||
#define HP_433T 14 /* 33MHz 68040 - model 433t */ | ||
#define HP_433S 15 /* 33MHz 68040 - model 433s */ | ||
|
||
|
||
/* | ||
* Latest HP9000/300 bootinfo version | ||
*/ | ||
|
||
#define HP300_BOOTI_VERSION MK_BI_VERSION(2, 0) | ||
|
||
|
||
#endif /* _ASM_M68K_BOOTINFO_HP300_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
** asm/bootinfo-mac.h -- Macintosh-specific boot information definitions | ||
*/ | ||
|
||
#ifndef _ASM_M68K_BOOTINFO_MAC_H | ||
#define _ASM_M68K_BOOTINFO_MAC_H | ||
|
||
|
||
/* | ||
* Macintosh-specific tags (all __be32) | ||
*/ | ||
|
||
#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 */ | ||
|
||
|
||
/* | ||
* Macintosh hardware profile data - unused, see macintosh.h for | ||
* reasonable type values | ||
*/ | ||
|
||
#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 */ | ||
|
||
|
||
/* | ||
* Macintosh Gestalt numbers (BI_MAC_MODEL) | ||
*/ | ||
|
||
#define MAC_MODEL_II 6 | ||
#define MAC_MODEL_IIX 7 | ||
#define MAC_MODEL_IICX 8 | ||
#define MAC_MODEL_SE30 9 | ||
#define MAC_MODEL_IICI 11 | ||
#define MAC_MODEL_IIFX 13 /* And well numbered it is too */ | ||
#define MAC_MODEL_IISI 18 | ||
#define MAC_MODEL_LC 19 | ||
#define MAC_MODEL_Q900 20 | ||
#define MAC_MODEL_PB170 21 | ||
#define MAC_MODEL_Q700 22 | ||
#define MAC_MODEL_CLII 23 /* aka: P200 */ | ||
#define MAC_MODEL_PB140 25 | ||
#define MAC_MODEL_Q950 26 /* aka: WGS95 */ | ||
#define MAC_MODEL_LCIII 27 /* aka: P450 */ | ||
#define MAC_MODEL_PB210 29 | ||
#define MAC_MODEL_C650 30 | ||
#define MAC_MODEL_PB230 32 | ||
#define MAC_MODEL_PB180 33 | ||
#define MAC_MODEL_PB160 34 | ||
#define MAC_MODEL_Q800 35 /* aka: WGS80 */ | ||
#define MAC_MODEL_Q650 36 | ||
#define MAC_MODEL_LCII 37 /* aka: P400/405/410/430 */ | ||
#define MAC_MODEL_PB250 38 | ||
#define MAC_MODEL_IIVI 44 | ||
#define MAC_MODEL_P600 45 /* aka: P600CD */ | ||
#define MAC_MODEL_IIVX 48 | ||
#define MAC_MODEL_CCL 49 /* aka: P250 */ | ||
#define MAC_MODEL_PB165C 50 | ||
#define MAC_MODEL_C610 52 /* aka: WGS60 */ | ||
#define MAC_MODEL_Q610 53 | ||
#define MAC_MODEL_PB145 54 /* aka: PB145B */ | ||
#define MAC_MODEL_P520 56 /* aka: LC520 */ | ||
#define MAC_MODEL_C660 60 | ||
#define MAC_MODEL_P460 62 /* aka: LCIII+, P466/P467 */ | ||
#define MAC_MODEL_PB180C 71 | ||
#define MAC_MODEL_PB520 72 /* aka: PB520C, PB540, PB540C, PB550C */ | ||
#define MAC_MODEL_PB270C 77 | ||
#define MAC_MODEL_Q840 78 | ||
#define MAC_MODEL_P550 80 /* aka: LC550, P560 */ | ||
#define MAC_MODEL_CCLII 83 /* aka: P275 */ | ||
#define MAC_MODEL_PB165 84 | ||
#define MAC_MODEL_PB190 85 /* aka: PB190CS */ | ||
#define MAC_MODEL_TV 88 | ||
#define MAC_MODEL_P475 89 /* aka: LC475, P476 */ | ||
#define MAC_MODEL_P475F 90 /* aka: P475 w/ FPU (no LC040) */ | ||
#define MAC_MODEL_P575 92 /* aka: LC575, P577/P578 */ | ||
#define MAC_MODEL_Q605 94 | ||
#define MAC_MODEL_Q605_ACC 95 /* Q605 accelerated to 33 MHz */ | ||
#define MAC_MODEL_Q630 98 /* aka: LC630, P630/631/635/636/637/638/640 */ | ||
#define MAC_MODEL_P588 99 /* aka: LC580, P580 */ | ||
#define MAC_MODEL_PB280 102 | ||
#define MAC_MODEL_PB280C 103 | ||
#define MAC_MODEL_PB150 115 | ||
|
||
|
||
/* | ||
* Latest Macintosh bootinfo version | ||
*/ | ||
|
||
#define MAC_BOOTI_VERSION MK_BI_VERSION(2, 0) | ||
|
||
|
||
#endif /* _ASM_M68K_BOOTINFO_MAC_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
** asm/bootinfo-q40.h -- Q40-specific boot information definitions | ||
*/ | ||
|
||
#ifndef _ASM_M68K_BOOTINFO_Q40_H | ||
#define _ASM_M68K_BOOTINFO_Q40_H | ||
|
||
|
||
/* | ||
* Latest Q40 bootinfo version | ||
*/ | ||
|
||
#define Q40_BOOTI_VERSION MK_BI_VERSION(2, 0) | ||
|
||
|
||
#endif /* _ASM_M68K_BOOTINFO_Q40_H */ |
Oops, something went wrong.