7e303b8abb53a2ae222e6072f46bd5ce5d79d25a
[profile/ivi/syslinux.git] / com32 / chain / chain.h
1 #ifndef _COM32_CHAIN_CHAIN_H
2 #define _COM32_CHAIN_CHAIN_H
3
4 #include <stdint.h>
5 #include <syslinux/bootrm.h>
6
7 struct options {
8     unsigned int fseg;
9     unsigned int foff;
10     unsigned int fip;
11     unsigned int sseg;
12     unsigned int soff;
13     unsigned int sip;
14     unsigned int drvoff;
15     const char *drivename;
16     const char *partition;
17     const char *file;
18     const char *grubcfg;
19     bool isolinux;
20     bool cmldr;
21     bool drmk;
22     bool grub;
23     bool grldr;
24     bool maps;
25     bool hand;
26     bool hptr;
27     bool swap;
28     int hide;
29     bool sethid;
30     bool setgeo;
31     bool setdrv;
32     bool sect;
33     bool save;
34     bool filebpb;
35     bool mbrchs;
36     bool warn;
37     uint16_t keeppxe;
38     struct syslinux_rm_regs regs;
39 };
40
41 struct data_area {
42     void *data;
43     addr_t base;
44     addr_t size;
45 };
46
47 extern struct options opt;
48
49 #endif
50
51 /* vim: set ts=8 sts=4 sw=4 noet: */