OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [include/] [vms/] [eisd.h] - Blame information for rev 833

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/* Alpha VMS external format of Extended Image Section Descriptor.
2
 
3
   Copyright 2010 Free Software Foundation, Inc.
4
   Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
5
 
6
   This file is part of BFD, the Binary File Descriptor library.
7
 
8
   This program is free software; you can redistribute it and/or modify
9
   it under the terms of the GNU General Public License as published by
10
   the Free Software Foundation; either version 3 of the License, or
11
   (at your option) any later version.
12
 
13
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
17
 
18
   You should have received a copy of the GNU General Public License
19
   along with this program; if not, write to the Free Software
20
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21
   MA 02110-1301, USA.  */
22
 
23
#ifndef _VMS_EISD_H
24
#define _VMS_EISD_H
25
 
26
/* Flags.  */
27
#define EISD__M_GBL             0x0001  /* Global.  */
28
#define EISD__M_CRF             0x0002  /* Copy on reference.  */
29
#define EISD__M_DZRO            0x0004  /* Demand zero page.  */
30
#define EISD__M_WRT             0x0008  /* Writable.  */
31
#define EISD__M_INITALCODE      0x0010  /* Part of initialization code.  */
32
#define EISD__M_BASED           0x0020  /* Isect is based.  */
33
#define EISD__M_FIXUPVEC        0x0040  /* Isect is fixup section.  */
34
#define EISD__M_RESIDENT        0x0080  /* Isect is memory resident.  */
35
#define EISD__M_VECTOR          0x0100  /* Vector contained in isect.  */
36
#define EISD__M_PROTECT         0x0200  /* Isect is proected.  */
37
#define EISD__M_LASTCLU         0x0400  /* Last cluster.  */
38
#define EISD__M_EXE             0x0800  /* Code isect.  */
39
#define EISD__M_NONSHRADR       0x1000  /* Contains non-shareable data.  */
40
#define EISD__M_QUAD_LENGTH     0x2000  /* Quad length field valid.  */
41
#define EISD__M_ALLOC_64BIT     0x4000  /* Allocate 64-bit space.  */
42
 
43
struct vms_eisd
44
{
45
  unsigned char majorid[4];
46
  unsigned char minorid[4];
47
 
48
  /* Size (in bytes) of this eisd.  */
49
  unsigned char eisdsize[4];
50
 
51
  /* Size (in bytes) of the section.  */
52
  unsigned char secsize[4];
53
 
54
  /* Virtual address of the section.  */
55
  unsigned char virt_addr[8];
56
 
57
  /* Flags.  */
58
  unsigned char flags[4];
59
 
60
  /* Base virtual block number.  */
61
  unsigned char vbn[4];
62
 
63
  /* Page fault cluster.  */
64
  unsigned char pfc;
65
 
66
  /* Linker match control.  */
67
  unsigned char matchctl;
68
 
69
  /* Section type.  */
70
  unsigned char type;
71
 
72
  unsigned char fill_1;
73
};
74
 
75
struct vms_eisd_ext
76
{
77
  /* Ident for global section.  */
78
  unsigned char ident[4];
79
 
80
  /* Global name ascic.  First 8 bytes are quad length field.  */
81
  unsigned char gblnam[44];
82
};
83
 
84
/* EISD offsets.  */
85
 
86
#define EISD__L_EISDSIZE         8
87
#define EISD__L_SECSIZE         12
88
#define EISD__Q_VIR_ADDR        16
89
#define EISD__L_FLAGS           24
90
#define EISD__L_VBN             28
91
#define EISD__R_CONTROL         32
92
#define EISD__L_IDENT           36
93
#define EISD__T_GBLNAM          40
94
 
95
#endif /* _VMS_EISD_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.