Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Typedefs
os9k.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mh_com

Defines

#define _MPF386
#define N_M_PARITY   (sizeof(mh_com)-sizeof(unisgned short))
#define OLD_M_PARITY   46
#define M_PARITY   N_M_PARITY
#define MODSYNC   0x4afc /* Module header sync code for 80386 processors. */
#define MODREV   1 /* Module format revision 1. */
#define CRCCON   0x800063 /* CRC polynomial constant. */
#define MP_OWNER_READ   0x0001
#define MP_OWNER_WRITE   0x0002
#define MP_OWNER_EXEC   0x0004
#define MP_GROUP_READ   0x0010
#define MP_GROUP_WRITE   0x0020
#define MP_GROUP_EXEC   0x0040
#define MP_WORLD_READ   0x0100
#define MP_WORLD_WRITE   0x0200
#define MP_WORLD_EXEC   0x0400
#define MP_WORLD_ACCESS   0x0777
#define MP_OWNER_MASK   0x000f
#define MP_GROUP_MASK   0x00f0
#define MP_WORLD_MASK   0x0f00
#define MP_SYSTM_MASK   0xf000
#define MT_ANY   0
#define MT_PROGRAM   0x0001
#define MT_SUBROUT   0x0002
#define MT_MULTI   0x0003
#define MT_DATA   0x0004
#define MT_TRAPLIB   0x000b
#define MT_SYSTEM   0x000c
#define MT_FILEMAN   0x000d
#define MT_DEVDRVR   0x000e
#define MT_DEVDESC   0x000f
#define MT_MASK   0xff00
#define ML_ANY   0
#define ML_OBJECT   1
#define ML_ICODE   2
#define ML_PCODE   3
#define ML_CCODE   4
#define ML_CBLCODE   5
#define ML_FRTNCODE   6
#define ML_MASK   0x00ff
#define mktypelang(type, lang)   (((type) << 8) | (lang))
#define MA_REENT   0x80
#define MA_GHOST   0x40
#define MA_SUPER   0x20
#define MA_MASK   0xff00
#define MR_MASK   0x00ff
#define mkattrevs(attr, revs)   (((attr) << 8) | (revs))
#define m_user   m_owner.grp_usr.usr
#define m_group   m_owner.grp_usr.grp
#define m_group_user   m_owner.group_user
#define MODNAME(mod)   ((u_char*)((u_char*)mod + ((Mh_com)mod)->m_name))
#define MHCOM_BYTES_SIZE   80
#define N_BADMAG(a)   (((a).a_info) != MODSYNC)

Typedefs

typedef struct mh_com mh_com
typedef struct mh_comMh_com
typedef mh_comMh_exec
typedef mh_com mh_exec
typedef mh_comMh_data
typedef mh_com mh_data
typedef mh_comMh_fman
typedef mh_com mh_fman
typedef mh_comMh_drvr
typedef mh_com mh_drvr
typedef mh_com mh_trap
typedef mh_comMh_trap
typedef mh_comMh_dev
typedef mh_com mh_dev
typedef mh_comMh_config
typedef mh_com mh_config

Class Documentation

struct mh_com

Definition at line 105 of file os9k.h.

Class Members
unsigned char m_access
unsigned char m_attrev
unsigned char m_data
unsigned char m_edit
unsigned char m_excpt
unsigned char m_exec
unsigned char m_idata
unsigned char m_ident
unsigned char m_idref
unsigned char m_init
unsigned char m_name
unsigned char m_needs
unsigned char m_owner
unsigned char m_parity
unsigned char m_size
char m_spare
unsigned char m_stack
unsigned char m_symbol
unsigned char m_sync
unsigned char m_sysrev
unsigned char m_term
unsigned char m_tylan
unsigned char m_usage

Define Documentation

#define _MPF386

Definition at line 24 of file os9k.h.

#define CRCCON   0x800063 /* CRC polynomial constant. */

Definition at line 40 of file os9k.h.

#define m_group   m_owner.grp_usr.grp

Definition at line 92 of file os9k.h.

#define m_group_user   m_owner.group_user

Definition at line 93 of file os9k.h.

#define M_PARITY   N_M_PARITY

Definition at line 29 of file os9k.h.

#define m_user   m_owner.grp_usr.usr

Definition at line 91 of file os9k.h.

#define MA_GHOST   0x40

Definition at line 84 of file os9k.h.

#define MA_MASK   0xff00

Definition at line 86 of file os9k.h.

#define MA_REENT   0x80

Definition at line 83 of file os9k.h.

#define MA_SUPER   0x20

Definition at line 85 of file os9k.h.

#define MHCOM_BYTES_SIZE   80

Definition at line 102 of file os9k.h.

#define mkattrevs (   attr,
  revs 
)    (((attr) << 8) | (revs))

Definition at line 89 of file os9k.h.

#define mktypelang (   type,
  lang 
)    (((type) << 8) | (lang))

Definition at line 80 of file os9k.h.

#define ML_ANY   0

Definition at line 71 of file os9k.h.

#define ML_CBLCODE   5

Definition at line 76 of file os9k.h.

#define ML_CCODE   4

Definition at line 75 of file os9k.h.

#define ML_FRTNCODE   6

Definition at line 77 of file os9k.h.

#define ML_ICODE   2

Definition at line 73 of file os9k.h.

#define ML_MASK   0x00ff

Definition at line 78 of file os9k.h.

#define ML_OBJECT   1

Definition at line 72 of file os9k.h.

#define ML_PCODE   3

Definition at line 74 of file os9k.h.

#define MODNAME (   mod)    ((u_char*)((u_char*)mod + ((Mh_com)mod)->m_name))

Definition at line 96 of file os9k.h.

#define MODREV   1 /* Module format revision 1. */

Definition at line 39 of file os9k.h.

#define MODSYNC   0x4afc /* Module header sync code for 80386 processors. */

Definition at line 36 of file os9k.h.

#define MP_GROUP_EXEC   0x0040

Definition at line 48 of file os9k.h.

#define MP_GROUP_MASK   0x00f0

Definition at line 54 of file os9k.h.

#define MP_GROUP_READ   0x0010

Definition at line 46 of file os9k.h.

#define MP_GROUP_WRITE   0x0020

Definition at line 47 of file os9k.h.

#define MP_OWNER_EXEC   0x0004

Definition at line 45 of file os9k.h.

#define MP_OWNER_MASK   0x000f

Definition at line 53 of file os9k.h.

#define MP_OWNER_READ   0x0001

Definition at line 43 of file os9k.h.

#define MP_OWNER_WRITE   0x0002

Definition at line 44 of file os9k.h.

#define MP_SYSTM_MASK   0xf000

Definition at line 56 of file os9k.h.

#define MP_WORLD_ACCESS   0x0777

Definition at line 52 of file os9k.h.

#define MP_WORLD_EXEC   0x0400

Definition at line 51 of file os9k.h.

#define MP_WORLD_MASK   0x0f00

Definition at line 55 of file os9k.h.

#define MP_WORLD_READ   0x0100

Definition at line 49 of file os9k.h.

#define MP_WORLD_WRITE   0x0200

Definition at line 50 of file os9k.h.

#define MR_MASK   0x00ff

Definition at line 87 of file os9k.h.

#define MT_ANY   0

Definition at line 59 of file os9k.h.

#define MT_DATA   0x0004

Definition at line 63 of file os9k.h.

#define MT_DEVDESC   0x000f

Definition at line 68 of file os9k.h.

#define MT_DEVDRVR   0x000e

Definition at line 67 of file os9k.h.

#define MT_FILEMAN   0x000d

Definition at line 66 of file os9k.h.

#define MT_MASK   0xff00

Definition at line 69 of file os9k.h.

#define MT_MULTI   0x0003

Definition at line 62 of file os9k.h.

#define MT_PROGRAM   0x0001

Definition at line 60 of file os9k.h.

#define MT_SUBROUT   0x0002

Definition at line 61 of file os9k.h.

#define MT_SYSTEM   0x000c

Definition at line 65 of file os9k.h.

#define MT_TRAPLIB   0x000b

Definition at line 64 of file os9k.h.

#define N_BADMAG (   a)    (((a).a_info) != MODSYNC)

Definition at line 103 of file os9k.h.

#define N_M_PARITY   (sizeof(mh_com)-sizeof(unisgned short))

Definition at line 27 of file os9k.h.

#define OLD_M_PARITY   46

Definition at line 28 of file os9k.h.


Typedef Documentation

typedef struct mh_com mh_com
typedef struct mh_com* Mh_com
typedef mh_com mh_config

Definition at line 152 of file os9k.h.

typedef mh_com* Mh_config

Definition at line 152 of file os9k.h.

typedef mh_com* Mh_data

Definition at line 137 of file os9k.h.

typedef mh_com mh_data

Definition at line 137 of file os9k.h.

typedef mh_com mh_dev

Definition at line 149 of file os9k.h.

typedef mh_com* Mh_dev

Definition at line 149 of file os9k.h.

typedef mh_com* Mh_drvr

Definition at line 143 of file os9k.h.

typedef mh_com mh_drvr

Definition at line 143 of file os9k.h.

typedef mh_com mh_exec

Definition at line 134 of file os9k.h.

typedef mh_com* Mh_exec

Definition at line 134 of file os9k.h.

typedef mh_com* Mh_fman

Definition at line 140 of file os9k.h.

typedef mh_com mh_fman

Definition at line 140 of file os9k.h.

typedef mh_com * Mh_trap

Definition at line 146 of file os9k.h.

typedef mh_com mh_trap

Definition at line 146 of file os9k.h.