blob: d22b10590ce9e162784c27a3fc186300b628021f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#define LOADER_OK 0
#define LOADER_BACK 1
#define LOADER_ERROR -1
#define LOADER_FLAGS_TESTING (1 << 0)
#define LOADER_FLAGS_EXPERT (1 << 1)
#define LOADER_FLAGS_TEXT (1 << 2)
#define LOADER_FLAGS_RESCUE (1 << 3)
#define LOADER_FLAGS_KICKSTART (1 << 4)
#define LOADER_FLAGS_KSFLOPPY (1 << 5)
#define LOADER_FLAGS_KSHD (1 << 6)
#define LOADER_FLAGS_NOPROBE (1 << 7)
#define LOADER_FLAGS_MODDISK (1 << 8)
#define LOADER_FLAGS_ISA (1 << 9)
#define LOADER_FLAGS_SERIAL (1 << 10)
#define LOADER_FLAGS_UPDATES (1 << 11)
#define LOADER_FLAGS_KSFILE (1 << 12)
#define FL_TESTING(a) ((a) & LOADER_FLAGS_TESTING)
#define FL_EXPERT(a) ((a) & LOADER_FLAGS_EXPERT)
#define FL_TEXT(a) ((a) & LOADER_FLAGS_TEXT)
#define FL_RESCUE(a) ((a) & LOADER_FLAGS_RESCUE)
#define FL_KICKSTART(a) ((a) & LOADER_FLAGS_KICKSTART)
#define FL_KSFLOPPY(a) ((a) & LOADER_FLAGS_KSFLOPPY)
#define FL_KSHD(a) ((a) & LOADER_FLAGS_KSHD)
#define FL_NOPROBE(a) ((a) & LOADER_FLAGS_NOPROBE)
#define FL_MODDISK(a) ((a) & LOADER_FLAGS_MODDISK)
#define FL_ISA(a) ((a) & LOADER_FLAGS_ISA)
#define FL_SERIAL(a) ((a) & LOADER_FLAGS_SERIAL)
#define FL_UPDATES(a) ((a) & LOADER_FLAGS_UPDATES)
#define FL_KSFILE(a) ((a) & LOADER_FLAGS_KSFILE)
|