search for: drive_number

Displaying 5 results from an estimated 5 matches for "drive_number".

2010 Apr 04
1
[PATCH] mboot: set boot device
...nt main(int argc, char *argv[]) mboot_apm(); mboot_syslinux_info(); + /* Set boot device info */ + const union syslinux_derivative_info *sdi; + sdi = syslinux_derivative_info(); + if (sdi->c.filesystem != SYSLINUX_FS_PXELINUX) { + mbinfo.boot_device = (sdi->disk.drive_number << 24) | 0xffffff; + mbinfo.flags |= MB_INFO_BOOTDEV; + } + if (opt.solaris) mboot_solaris_dhcp_hack();
2009 Mar 30
2
[PATCH 1/1] v2 Add Diagnostic MBR for trouble-shooting
...troller page selection (bitmask 0x07) */ +flag_active = 0x80 /* partition table entry active (bootable) flag */ + +stack = 0x7C00 /* top of stack is immediately below where the BIOS loaded this MBR */ +pnp_header = (stack-4) /* The Plug'n'Play header received from BIOS in ES:DI */ +drive_number = (stack-6) /* The boot device as reported by BIOS in DL */ +cylinders = (stack-8) +heads = (stack-10) +sectors = (stack-12) +sectors_cylinder= (stack-16) + + .section ".bootsec", "a", @nobits /* assemble into; ELF: allocatable, no data. doc: 7.95 */ + .global bootsec /...
2009 Mar 30
0
[PATCH 1/1] Add Diagnostic MBR for trouble-shooting
...troller page selection (bitmask 0x07) */ +flag_active = 0x80 /* partition table entry active (bootable) flag */ + +stack = 0x7C00 /* top of stack is immediately below where the BIOS loaded this MBR */ +pnp_header = (stack-4) /* The Plug'n'Play header received from BIOS in ES:DI */ +drive_number = (stack-6) /* The boot device as reported by BIOS in DL */ +cylinders = (stack-8) +heads = (stack-10) +sectors = (stack-12) +sectors_cylinder= (stack-16) + + .section ".bootsec", "a", @nobits /* assemble into; ELF: allocatable, no data. doc: 7.95 */ + .global bootsec /...
2009 Jul 19
2
Patch for chain.c32: Set default boot drive to CD drive from which ISOLINUX is booted
...sdi = syslinux_derivative_info(); - if (sdi->c.filesystem == SYSLINUX_FS_PXELINUX || - sdi->c.filesystem == SYSLINUX_FS_ISOLINUX) + if (sdi->c.filesystem == SYSLINUX_FS_PXELINUX ) drive = 0x80; /* Boot drive not available */ else drive = sdi->disk.drive_number;
2009 Mar 30
2
[PATCH 1/1] v3: Add Diagnostic MBR for trouble-shooting BIOS boot-order problems.
...troller page selection (bitmask 0x07) */ +flag_active = 0x80 /* partition table entry active (bootable) flag */ + +stack = 0x7C00 /* top of stack is immediately below where the BIOS loaded this MBR */ +pnp_header = (stack-4) /* The Plug'n'Play header received from BIOS in ES:DI */ +drive_number = (stack-6) /* The boot device as reported by BIOS in DL */ +cylinders = (stack-8) +heads = (stack-10) +sectors = (stack-12) +sectors_cylinder= (stack-16) + + .section ".bootsec", "a", @nobits /* assemble into; ELF: allocatable, no data. doc: 7.95 */ + .global bootsec /...