TempleOS-Source-Code / Demo /Dsk /BlkDevRep.txt
hschumann2's picture
Upload folder using huggingface_hub
806d4b5 verified
Raw History Blame Contribute Delete
381 Bytes
U0 BlkDevRep()
{//Block Device Report.
I64 i;
for (i=0;i<BLKDEVS_NUM;i++)
if (blkdev.blkdevs[i].bd_signature==BD_SIGNATURE_VAL)
//ClassRep() dumps any structure, automatically.
ClassRep(&blkdev.blkdevs[i]);
//The lastclass arg tells ClassRep the datatype.
//lastclass is a language feature of HolyC.
//See ::/Demo/LastClass.HC.
}
BlkDevRep;