Update .gitignore
[b43-tools.git] / assembler / args.h
1 #ifndef BCM43xx_ASM_ARGS_H_
2 #define BCM43xx_ASM_ARGS_H_
3
4 #include "util.h"
5
6
7 enum fwformat {
8         FMT_RAW_LE32,   /* Raw microcode. No headers. 32bit little endian chunks. */
9         FMT_RAW_BE32,   /* Raw microcode. No headers. 32bit big endian chunks. */
10         FMT_B43,        /* b43/b43legacy headers. */
11 };
12
13 int parse_args(int argc, char **argv);
14 int open_input_file(void);
15 void close_input_file(void);
16
17 extern int _debug;
18 extern bool arg_print_sizes;
19 extern const char *initvals_fn_extension;
20 extern enum fwformat output_format;
21
22 #define IS_DEBUG                (_debug > 0)
23 #define IS_VERBOSE_DEBUG        (_debug > 1)
24 #define IS_INSANE_DEBUG         (_debug > 2)
25
26 #endif /* BCM43xx_ASM_ARGS_H_ */