Displaying 1 result from an estimated 1 matches for "bank1_part_info".
2007 Apr 05
0
Patch: Add io.c functions, and vfat library
...(drive, &disk_info) ) {
error("Cannot get disk parameters\n");
goto error;
}
/* Get MBR */
if ( syslinux_read_disk(&disk_info, mbr, 0, 1) ) {
error("Cannot read Master Boot Record\n");
goto error;
}
/* Get 1st partition info */
bank1_part_info = PARTITION_ENTRY(mbr, bank1);
if (bank1_part_info->ostype != PART_TYPE_FAT16) {
error("Warning: Bank 1 is of wrong type");
}
/* Get 2nd partition info */
bank2_part_info = PARTITION_ENTRY(mbr, bank2);
if (bank2_part_info->ostype != PART_TYPE_FAT16) {
err...