1 /* 2 ** asm/setup.h -- Definition of the Linux/m68k setup information 3 ** 4 ** Copyright 1992 by Greg Harp 5 ** 6 ** This file is subject to the terms and conditions of the GNU General Public 7 ** License. See the file COPYING in the main directory of this archive 8 ** for more details. 9 ** 10 ** Created 09/29/92 by Greg Harp 11 ** 12 ** 5/2/94 Roman Hodek: 13 ** Added bi_atari part of the machine dependent union bi_un; for now it 14 ** contains just a model field to distinguish between TT and Falcon. 15 ** 26/7/96 Roman Zippel: 16 ** Renamed to setup.h; added some useful macros to allow gcc some 17 ** optimizations if possible. 18 ** 5/10/96 Geert Uytterhoeven: 19 ** Redesign of the boot information structure; moved boot information 20 ** structure to bootinfo.h 21 */ 22 23 #ifndef _UAPI_M68K_SETUP_H 24 #define _UAPI_M68K_SETUP_H 25 26 27 28 /* 29 * Linux/m68k Architectures 30 */ 31 32 #define MACH_AMIGA 1 33 #define MACH_ATARI 2 34 #define MACH_MAC 3 35 #define MACH_APOLLO 4 36 #define MACH_SUN3 5 37 #define MACH_MVME147 6 38 #define MACH_MVME16x 7 39 #define MACH_BVME6000 8 40 #define MACH_HP300 9 41 #define MACH_Q40 10 42 #define MACH_SUN3X 11 43 #define MACH_M54XX 12 44 45 #define COMMAND_LINE_SIZE 256 46 47 48 49 /* 50 * CPU, FPU and MMU types 51 * 52 * Note: we may rely on the following equalities: 53 * 54 * CPU_68020 == MMU_68851 55 * CPU_68030 == MMU_68030 56 * CPU_68040 == FPU_68040 == MMU_68040 57 * CPU_68060 == FPU_68060 == MMU_68060 58 */ 59 60 #define CPUB_68020 0 61 #define CPUB_68030 1 62 #define CPUB_68040 2 63 #define CPUB_68060 3 64 #define CPUB_COLDFIRE 4 65 66 #define CPU_68020 (1<<CPUB_68020) 67 #define CPU_68030 (1<<CPUB_68030) 68 #define CPU_68040 (1<<CPUB_68040) 69 #define CPU_68060 (1<<CPUB_68060) 70 #define CPU_COLDFIRE (1<<CPUB_COLDFIRE) 71 72 #define FPUB_68881 0 73 #define FPUB_68882 1 74 #define FPUB_68040 2 /* Internal FPU */ 75 #define FPUB_68060 3 /* Internal FPU */ 76 #define FPUB_SUNFPA 4 /* Sun-3 FPA */ 77 #define FPUB_COLDFIRE 5 /* ColdFire FPU */ 78 79 #define FPU_68881 (1<<FPUB_68881) 80 #define FPU_68882 (1<<FPUB_68882) 81 #define FPU_68040 (1<<FPUB_68040) 82 #define FPU_68060 (1<<FPUB_68060) 83 #define FPU_SUNFPA (1<<FPUB_SUNFPA) 84 #define FPU_COLDFIRE (1<<FPUB_COLDFIRE) 85 86 #define MMUB_68851 0 87 #define MMUB_68030 1 /* Internal MMU */ 88 #define MMUB_68040 2 /* Internal MMU */ 89 #define MMUB_68060 3 /* Internal MMU */ 90 #define MMUB_APOLLO 4 /* Custom Apollo */ 91 #define MMUB_SUN3 5 /* Custom Sun-3 */ 92 #define MMUB_COLDFIRE 6 /* Internal MMU */ 93 94 #define MMU_68851 (1<<MMUB_68851) 95 #define MMU_68030 (1<<MMUB_68030) 96 #define MMU_68040 (1<<MMUB_68040) 97 #define MMU_68060 (1<<MMUB_68060) 98 #define MMU_SUN3 (1<<MMUB_SUN3) 99 #define MMU_APOLLO (1<<MMUB_APOLLO) 100 #define MMU_COLDFIRE (1<<MMUB_COLDFIRE) 101 102 103 #endif /* _UAPI_M68K_SETUP_H */ 104