rtuDataOperation.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. #ifndef _M68K_SETUP_H
  23. #define _M68K_SETUP_H
  24. #include <uapi/asm/setup.h>
  25. #define CL_SIZE COMMAND_LINE_SIZE
  26. #ifndef __ASSEMBLY__
  27. extern unsigned long m68k_machtype;
  28. #endif /* !__ASSEMBLY__ */
  29. #if !defined(CONFIG_AMIGA)
  30. # define MACH_IS_AMIGA (0)
  31. #elif defined(CONFIG_ATARI) || defined(CONFIG_MAC) || defined(CONFIG_APOLLO) \
  32. || defined(CONFIG_MVME16x) || defined(CONFIG_BVME6000) \
  33. || defined(CONFIG_HP300) || defined(CONFIG_Q40) \
  34. || defined(CONFIG_SUN3X) || defined(CONFIG_MVME147)
  35. # define MACH_IS_AMIGA (m68k_machtype == MACH_AMIGA)
  36. #else
  37. # define MACH_AMIGA_ONLY
  38. # define MACH_IS_AMIGA (1)
  39. # define MACH_TYPE (MACH_AMIGA)
  40. #endif
  41. #if !defined(CONFIG_ATARI)
  42. # define MACH_IS_ATARI (0)
  43. #elif defined(CONFIG_AMIGA) || defined(CONFIG_MAC) || defined(CONFIG_APOLLO) \
  44. || defined(CONFIG_MVME16x) || defined(CONFIG_BVME6000) \
  45. || defined(CONFIG_HP300) || defined(CONFIG_Q40) \
  46. || defined(CONFIG_SUN3X) || defined(CONFIG_MVME147)
  47. # define MACH_IS_ATARI (m68k_machtype == MACH_ATARI)
  48. #else
  49. # define MACH_ATARI_ONLY
  50. # define MACH_IS_ATARI (1)
  51. # define MACH_TYPE (MACH_ATARI)