source: trunk/binutils/include/os9k.h@ 3609

Last change on this file since 3609 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 5.9 KB
Line 
1/* os9k.h - OS-9000 i386 module header definitions
2 Copyright 2000 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING. If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21
22#if !defined(_MODULE_H)
23#define _MODULE_H
24
25#define _MPF386
26
27/* Size of common header less parity field. */
28#define N_M_PARITY (sizeof(mh_com)-sizeof(unisgned short))
29#define OLD_M_PARITY 46
30#define M_PARITY N_M_PARITY
31
32#ifdef _MPF68K
33#define MODSYNC 0x4afc /* Module header sync code for 680x0 processors. */
34#endif
35
36#ifdef _MPF386
37#define MODSYNC 0x4afc /* Module header sync code for 80386 processors. */
38#endif
39
40#define MODREV 1 /* Module format revision 1. */
41#define CRCCON 0x800063 /* CRC polynomial constant. */
42