| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 | 
							- /*
 
- ** asm/setup.h -- Definition of the Linux/m68k setup information
 
- **
 
- ** Copyright 1992 by Greg Harp
 
- **
 
- ** This file is subject to the terms and conditions of the GNU General Public
 
- ** License.  See the file COPYING in the main directory of this archive
 
- ** for more details.
 
- **
 
- ** Created 09/29/92 by Greg Harp
 
- **
 
- ** 5/2/94 Roman Hodek:
 
- **   Added bi_atari part of the machine dependent union bi_un; for now it
 
- **   contains just a model field to distinguish between TT and Falcon.
 
- ** 26/7/96 Roman Zippel:
 
- **   Renamed to setup.h; added some useful macros to allow gcc some
 
- **   optimizations if possible.
 
- ** 5/10/96 Geert Uytterhoeven:
 
- **   Redesign of the boot information structure; moved boot information
 
- **   structure to bootinfo.h
 
- */
 
- #ifndef _M68K_SETUP_H
 
- #define _M68K_SETUP_H
 
- #include <uapi/asm/setup.h>
 
- #define CL_SIZE COMMAND_LINE_SIZE
 
- #ifndef __ASSEMBLY__
 
- extern unsigned long m68k_machtype;
 
- #endif /* !__ASSEMBLY__ */
 
- #if !defined(CONFIG_AMIGA)
 
- #  define MACH_IS_AMIGA (0)
 
- #elif defined(CONFIG_ATARI) || defined(CONFIG_MAC) || defined(CONFIG_APOLLO) \
 
- 	|| defined(CONFIG_MVME16x) || defined(CONFIG_BVME6000)               \
 
- 	|| defined(CONFIG_HP300) || defined(CONFIG_Q40)                      \
 
- 	|| defined(CONFIG_SUN3X) || defined(CONFIG_MVME147)
 
- #  define MACH_IS_AMIGA (m68k_machtype == MACH_AMIGA)
 
- #else
 
- #  define MACH_AMIGA_ONLY
 
- #  define MACH_IS_AMIGA (1)
 
- #  define MACH_TYPE (MACH_AMIGA)
 
- #endif
 
- #if !defined(CONFIG_ATARI)
 
- #  define MACH_IS_ATARI (0)
 
- #elif defined(CONFIG_AMIGA) || defined(CONFIG_MAC) || defined(CONFIG_APOLLO) \
 
- 	|| defined(CONFIG_MVME16x) || defined(CONFIG_BVME6000)               \
 
- 	|| defined(CONFIG_HP300) || defined(CONFIG_Q40)                      \
 
- 	|| defined(CONFIG_SUN3X) || defined(CONFIG_MVME147)
 
- #  define MACH_IS_ATARI (m68k_machtype == MACH_ATARI)
 
- #else
 
- #  define MACH_ATARI_ONLY
 
- #  define MACH_IS_ATARI (1)
 
- #  define MACH_TYPE (MACH_ATARI)
 
- #endif
 
- #if !defined(CONFIG_MAC)
 
- #  define MACH_IS_MAC (0)
 
- #elif defined(CONFIG_AMIGA) || defined(CONFIG_ATARI) || defined(CONFIG_APOLLO) \
 
- 	|| defined(CONFIG_MVME16x) || defined(CONFIG_BVME6000)                 \
 
- 	|| defined(CONFIG_HP300) || defined(CONFIG_Q40)                        \
 
- 	|| defined(CONFIG_SUN3X) || defined(CONFIG_MVME147)
 
- #  define MACH_IS_MAC (m68k_machtype == MACH_MAC)
 
- #else
 
- #  define MACH_MAC_ONLY
 
- #  define MACH_IS_MAC (1)
 
- #  define MACH_TYPE (MACH_MAC)
 
- #endif
 
- #if defined(CONFIG_SUN3)
 
- #define MACH_IS_SUN3 (1)
 
- #define MACH_SUN3_ONLY (1)
 
- #define MACH_TYPE (MACH_SUN3)
 
- #else
 
- #define MACH_IS_SUN3 (0)
 
- #endif
 
- #if !defined (CONFIG_APOLLO)
 
- #  define MACH_IS_APOLLO (0)
 
- #elif defined(CONFIG_AMIGA) || defined(CONFIG_MAC) || defined(CONFIG_ATARI) \
 
- 	|| defined(CONFIG_MVME16x) || defined(CONFIG_BVME6000)              \
 
- 	|| defined(CONFIG_HP300) || defined(CONFIG_Q40)                     \
 
- 	|| defined(CONFIG_SUN3X) || defined(CONFIG_MVME147)
 
- #  define MACH_IS_APOLLO (m68k_machtype == MACH_APOLLO)
 
- #else
 
- #  define MACH_APOLLO_ONLY
 
- #  define MACH_IS_APOLLO (1)
 
- #  define MACH_TYPE (MACH_APOLLO)
 
- #endif
 
 
  |