search for: 0xffffff00ul

Displaying 2 results from an estimated 2 matches for "0xffffff00ul".

Did you mean: 0xfffff000ul
2010 Jun 28
0
[PATCH] chain.c32: pass partition number to stage2 of Grub Legacy
...rgv[]) if (opt.grub) { regs.ip = 0x200; /* jump 0x200 bytes into the loadfile */ - /* 0xffffff00 seems to be GRUB ways to record that it''s - "root" is the whole disk (and not a partition). */ - *(uint32_t *) ((unsigned char *)data[ndata].data + 0x208) = - 0xffffff00ul; + /* GRUB''s stage2 wants the partition number in the install_partition + * variable, located at memory address 0x8208. + * We only need to change the value of memory address 0x820a too: + * -1: whole drive (default) + * 0-3: primary partitions + * 4-*...
2010 Jun 04
1
[PATCH] chain.c32: add support for loading GRUB stage2
...rgv[]) } } + if (opt.grub) { + regs.ip = 0x200; /* jump 0x200 bytes into the loadfile */ + + /* 0xffffff00 seems to be GRUB ways to record that it's + "root" is the whole disk (and not a partition). */ + *(uint32_t *) ((unsigned char *) data[ndata].data + 0x208) = + 0xffffff00ul; + } + ndata++; } -- 1.7.1