Make LimineCFGMake print more detailed information regarding status of Limine.CFG generation progress.

This commit is contained in:
TomAwezome 2022-10-28 23:12:07 -04:00
parent ba8f2dd441
commit 7a70a4c577

View file

@ -20,11 +20,13 @@ Bool LimineCFGMake(U8 drv_let)
I64 i;
U8 *filename_sys, *filename_elf, *filename_zxe, *st;
// Limine interface settings
"\nGenerating Limine.CFG ...\n";
DocPrint(doc,
"TIMEOUT=2\n"
"INTERFACE_RESOLUTION=1024x768\n\n");
"Searching drives for Limine bootloader files ...\n";
for (i = 0, drive = blkdev.drvs; i < DRIVES_NUM; i++, drive++)
{
if (drive->drive_signature == DRIVE_SIGNATURE_VAL && drive->fs_type == FSt_FAT32 && DriveIsWritable(drive->drv_let))
@ -45,7 +47,7 @@ Bool LimineCFGMake(U8 drv_let)
"\n", drv_let, drive->prt_num + 1, drive->prt_num + 1);
DocPrint(doc, st);
"\n%C:/ drive added as a Limine.CFG menu entry.\n", drv_let;
}
else
"\n%C:/ drive is missing Limine bootloader files.\n", drv_let;
@ -55,6 +57,8 @@ Bool LimineCFGMake(U8 drv_let)
DocDel(doc);
"/Boot/Limine.CFG generated.\n\n";
"Copying Limine.CFG to all other drives ...\n";
for (i = 0, drive = blkdev.drvs; i < DRIVES_NUM; i++, drive++)
{
if (drive->drive_signature == DRIVE_SIGNATURE_VAL && drive->fs_type == FSt_FAT32 && DriveIsWritable(drive->drv_let))