Add memtest support.
[syslinux-debian/hramrach.git] / com32 / gplinclude / disk / swsusp.h
blob3e9acacf7ff1554c67e9d7c6bd53e570d70f1166
1 #ifndef _SWSUSP_H_
2 #define _SWSUSP_H_
4 #include <disk/geom.h>
5 #include <disk/common.h>
6 #include <disk/partition.h>
8 #define SWSUSP_SIG "S1SUSPEND"
10 struct swsusp_header {
11 char reserved[PAGE_SIZE - 20 - sizeof(unsigned long) - sizeof(int)];
12 unsigned long image;
13 unsigned int flags; /* Flags to pass to the "boot" kernel */
14 char orig_sig[10];
15 char sig[10];
16 } __attribute__ ((packed));
18 int swsusp_check(struct driveinfo *, struct part_entry *);
19 #endif /* _SWSUSP_H */