[go: up one dir, main page]

File: rfx.h

package info (click to toggle)
colo 1.16-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,080 kB
  • ctags: 2,267
  • sloc: ansic: 11,478; makefile: 308; asm: 121; sh: 52
file content (31 lines) | stat: -rw-r--r-- 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * (C) P.Horton 2004
 *
 * $Id: rfx.h 34 2004-04-18 17:14:39Z pdh $
 *
 * This code is covered by the GNU General Public License. For details see the file "COPYING".
 */

#ifndef _RFX_H_
#define _RFX_H_

#define RFX_REL_32			0
#define RFX_REL_26			1
#define RFX_REL_H16			2
/* #define RFX_REL_L16		3 */

#define RFX_HDR_MAGIC		"\xaaRFX"
#define RFX_HDR_MAGIC_SZ	4

struct rfx_header
{
	char		magic[RFX_HDR_MAGIC_SZ];
	unsigned	imgsize;
	unsigned	memsize;
	unsigned	entry;
	unsigned	nrelocs;
};

#endif

/* vi:set ts=3 sw=3 cin: */