[go: up one dir, main page]

File: rfx.h

package info (click to toggle)
colo 1.22-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 1,136 kB
  • ctags: 2,325
  • sloc: ansic: 12,235; makefile: 321; asm: 121; sh: 57
file content (31 lines) | stat: -rw-r--r-- 545 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,2005,2006
 *
 * $Id: rfx.h 186 2006-01-17 23:03:58Z 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: */