Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
487 bytes
|
Rev | Line | |
---|
[e16e8f2] | 1 | #ifndef _SWSUSP_H_ |
---|
| 2 | #define _SWSUSP_H_ |
---|
| 3 | |
---|
| 4 | #include <disk/geom.h> |
---|
| 5 | #include <disk/common.h> |
---|
| 6 | #include <disk/partition.h> |
---|
| 7 | |
---|
| 8 | #define SWSUSP_SIG "S1SUSPEND" |
---|
| 9 | |
---|
| 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)); |
---|
| 17 | |
---|
| 18 | int swsusp_check(struct driveinfo *, struct part_entry *); |
---|
| 19 | #endif /* _SWSUSP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.