| 1 | /* os9k.h - OS-9000 i386 module header definitions
|
|---|
| 2 | Copyright 2000 Free Software Foundation, Inc.
|
|---|
| 3 |
|
|---|
| 4 | This file is part of GNU CC.
|
|---|
| 5 |
|
|---|
| 6 | GNU CC is free software; you can redistribute it and/or modify
|
|---|
| 7 | it under the terms of the GNU General Public License as published by
|
|---|
| 8 | the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 9 | any later version.
|
|---|
| 10 |
|
|---|
| 11 | GNU CC is distributed in the hope that it will be useful,
|
|---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 14 | GNU General Public License for more details.
|
|---|
| 15 |
|
|---|
| 16 | You should have received a copy of the GNU General Public License
|
|---|
| 17 | along with GNU CC; see the file COPYING. If not, write to
|
|---|
| 18 | the Free Software Foundation, 59 Temple Place - Suite 330,
|
|---|
| 19 | Boston, 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 |
|
|---|
|
|---|