chain module: setbpb changes, bss & bs options, bugfixes
[profile/ivi/syslinux.git] / com32 / chain / options.h
1 #ifndef _COM32_CHAIN_OPTIONS_H
2 #define _COM32_CHAIN_OPTIONS_H
3
4 struct options {
5     unsigned int fseg;
6     unsigned int foff;
7     unsigned int fip;
8     unsigned int sseg;
9     unsigned int soff;
10     unsigned int sip;
11     const char *drivename;
12     const char *partition;
13     const char *file;
14     const char *grubcfg;
15     bool isolinux;
16     bool cmldr;
17     bool drmk;
18     bool grub;
19     bool grldr;
20     bool maps;
21     bool hand;
22     bool hptr;
23     bool swap;
24     int hide;
25     bool sect;
26     bool save;
27     bool bss;
28     bool setbpb;
29     bool filebpb;
30     bool mbrchs;
31     bool warn;
32     uint16_t keeppxe;
33     struct syslinux_rm_regs regs;
34 };
35
36 int soi_s2n(char *ptr, unsigned int *seg, unsigned int *off,
37         unsigned int *ip, unsigned int def);
38 void usage(void);
39 int parse_args(int argc, char *argv[]);
40
41 #endif
42
43 /* vim: set ts=8 sts=4 sw=4 noet: */