summaryrefslogtreecommitdiff
path: root/firmware/src/simtrace/prod_info.h
blob: 7a124212996ae751f2910168ed2cf3ba9f27bf43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _PROD_INFO_H
#define _PROD_INFO_H

#define SIMTRACE_VER(a, b, c)	(((a & 0xff) << 16) |	\
				 ((b & 0xff) << 8) |	\
				 ((c & 0xff) << 0))


int prod_info_write(u_int32_t ts, u_int32_t version, u_int32_t reworks);
int prod_info_get(u_int32_t *ver, u_int32_t *reworks);

#endif
personal git repositories of Harald Welte. Your mileage may vary