bvmlinuz/386 boot protocol 2.08 has gzipped ELF [needs more work]

This commit is contained in:
John Reiser
2008-07-18 15:02:28 -07:00
parent aedf8dad15
commit b05ba7683e
2 changed files with 56 additions and 7 deletions
+8 -2
View File
@@ -80,11 +80,17 @@ protected:
unsigned char load_flags;
char ______[2];
LE32 code32_start;
char _7[0x230 - (0x214 + 4)];
LE32 kernel_alignment;
char relocatable_kernel;
char _8[0x248 - (0x234 + 1)];
LE32 payload_offset;
LE32 payload_length;
// some more uninteresting fields here ...
// see /usr/src/linux/Documentation/i386/zero-page.txt
// see /usr/src/linux/Documentation/i386/boot.txt
}
__attribute_packed;
__attribute_packed h;
MemBuffer setup_buf;
int setup_size;