Displaying 1 result from an estimated 1 matches for "cd_pkt".
Did you mean:
_pkt
2009 Nov 20
0
[PATCH] memdisk: Use boot_lba logic for booting an offset within the di
...= 512; /* One sector */
- uint32_t boot_lba = 0; /* LBA of bootstrap code */
/* We need to copy the rm_args into their proper place */
memcpy(&rm_args, rm_args_ptr, sizeof rm_args);
@@ -1027,11 +1030,12 @@ void setup(const struct real_mode_args *rm_args_ptr)
pptr->cd_pkt.type = boot_cat->initial_entry.media_type; /* Cheat */
pptr->cd_pkt.driveno = geometry->driveno;
pptr->cd_pkt.start = boot_cat->initial_entry.load_block;
- pptr->cd_pkt.load_seg = boot_cat->initial_entry.load_seg;
+ boot_seg = pptr->cd_pkt.load_se...