assembler: Some r15 fixes
[b43-tools.git] / assembler / initvals.h
1 #ifndef BCM43xx_ASM_INITVALS_H_
2 #define BCM43xx_ASM_INITVALS_H_
3
4 #include "main.h"
5
6
7 struct initval_op {
8         enum {
9                 IVAL_W_MMIO16,
10                 IVAL_W_MMIO32,
11                 IVAL_W_PHY,
12                 IVAL_W_RADIO,
13                 IVAL_W_SHM16,
14                 IVAL_W_SHM32,
15                 IVAL_W_TRAM,
16         } type;
17         unsigned int args[3];
18
19         struct lineinfo info;
20
21         struct list_head list;
22 };
23
24 struct initvals_sect {
25         /* The name string for this initvals section */
26         const char *name;
27         /* List of initval operations */
28         struct list_head ops;
29
30         struct list_head list;
31 };
32
33
34 extern void assemble_initvals(void);
35
36 #endif /* BCM43xx_ASM_INITVALS_H_ */