search for: bootcfg_clust

Displaying 1 result from an estimated 1 matches for "bootcfg_clust".

Did you mean: bootcfg_cluster
2007 Apr 05
0
Patch: Add io.c functions, and vfat library
...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); bootcfg_cluster = libfat_searchdir(fat_fs, 0, "BOOT CFG", NULL); if (bootcfg_cluster <= 0) { error("No boot config file found"); } bootcfg_sector = libfat_clustertosector(fat_fs, bootcfg_cluster) + rFd.partition->start_lba; if (!syslinux_read_disk(&disk_info, s...