search for: rm_args

Displaying 2 results from an estimated 2 matches for "rm_args".

Did you mean: dm_args
2009 Nov 20
0
[PATCH] memdisk: Use boot_lba logic for booting an offset within the di
...ot_lba = boot_cat->initial_entry.load_block * 4; if (boot_cat->initial_entry.media_type < 4) { /* We're a floppy emulation mode or our params will be * overwritten by the no emulation mode case @@ -831,7 +835,6 @@ void setup(const struct real_mode_args *rm_args_ptr) int no_bpt; /* No valid BPT presented */ uint32_t boot_seg = 0; /* Meaning 0000:7C00 */ uint32_t boot_len = 512; /* One sector */ - uint32_t boot_lba = 0; /* LBA of bootstrap code */ /* We need to copy the rm_args into their proper place...
2009 Sep 12
1
[PATCH] Let MEMDISK honor the quiet append option
...uot;MEMDISK: Image seems to have fractional end cylinder\n"); + } + if ((hd_geometry.c * hd_geometry.h * hd_geometry.s) > sectors) { + puts("MEMDISK: Image appears to be truncated\n"); + } } return &hd_geometry; @@ -782,8 +787,14 @@ memcpy(&rm_args, rm_args_ptr, sizeof rm_args); sti(); /* ... then interrupts are safe */ + if (getcmditem("quiet") != CMD_NOTFOUND) + quiet = true; + else + quiet = false; + /* Show signs of life */ - printf("%s %s\n", memdisk_version, copyright); + if...