1139749Simp/*-
2123120Simp * Cronyx firmware definitions.
3123120Simp *
4123120Simp * Copyright (C) 1996 Cronyx Engineering.
5123120Simp * Author: Serge Vakulenko, <vak@cronyx.ru>
6123120Simp *
7123120Simp * This software is distributed with NO WARRANTIES, not even the implied
8123120Simp * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9123120Simp *
10123120Simp * Authors grant any other persons or organisations permission to use
11123120Simp * or modify this software as long as this message is kept with the software,
12123120Simp * all derivative works or modified versions.
13123120Simp *
14123120Simp * Cronyx Id: cronyxfw.h,v 1.1.2.1 2003/11/12 17:09:49 rik Exp $
15123120Simp * $FreeBSD$
16123120Simp */
17123120Simp#define CRONYX_DAT_MAGIC 2001107011L	/* firmware file magic */
18123120Simp
19123120Simptypedef struct _cr_dat_tst {
20123120Simp	long start;			/* verify start */
21123120Simp	long end;			/* verify end */
22123120Simp} cr_dat_tst_t;
23123120Simp
24123120Simptypedef struct {                        /* firmware file header */
25123120Simp	unsigned long magic;            /* firmware magic */
26123120Simp	long hdrsz;			/* header size in bytes */
27123120Simp	long len;			/* firmware data size in bits */
28123120Simp	long ntest;			/* number of tests */
29123120Simp	unsigned long sum;              /* header+tests+data checksum */
30123120Simp	char version[8];                /* firmware version number */
31123120Simp	char date[8];                   /* date when compiled */
32123120Simp} cr_dat_t;
33