2 ** asm/setup.h -- Definition of the Linux/m68k setup information
4 ** Copyright 1992 by Greg Harp
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
10 ** Created 09/29/92 by Greg Harp
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
23 #ifndef _UAPI_M68K_SETUP_H
24 #define _UAPI_M68K_SETUP_H
29 * Linux/m68k Architectures
37 #define MACH_MVME147 6
38 #define MACH_MVME16x 7
39 #define MACH_BVME6000 8
45 #define COMMAND_LINE_SIZE 256
50 * CPU, FPU and MMU types
52 * Note: we may rely on the following equalities:
54 * CPU_68020 == MMU_68851
55 * CPU_68030 == MMU_68030
56 * CPU_68040 == FPU_68040 == MMU_68040
57 * CPU_68060 == FPU_68060 == MMU_68060
64 #define CPUB_COLDFIRE 4
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)
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 */
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)
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 */
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)
103 #endif /* _UAPI_M68K_SETUP_H */