Displaying 1 result from an estimated 1 matches for "bank2_part_info".
Did you mean:
bank1_part_info
2007 Apr 05
0
Patch: Add io.c functions, and vfat library
...not 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) {
error("Warning: Bank 2 is of wrong type");
}
rFd.disk_info = &disk_info;
rFd.partition = bank1_part_info;
fat_fs = libfat_open(fat_disk_read_handle, (intptr_t) &rFd);
boot...