This commit is contained in:
Aaron Hance 2022-09-27 17:23:42 +01:00
parent b601080960
commit e490b95f1d

View File

@ -251,7 +251,7 @@ begin
push_trace('VolumeManager.check_for_volumes'); push_trace('VolumeManager.check_for_volumes');
bootrecord := PMaster_Boot_Record(kalloc(SizeOf(TMaster_Boot_Record))); bootrecord := PMaster_Boot_Record(kalloc(SizeOf(TMaster_Boot_Record)));
drive^.readCallback(drive, 0, 1, puint32(bootrecord)); drive^.readCallback(drive, 0, 1, puint32(bootrecord)); //TODO multiple drives
//TODO multipe partition entries //TODO multipe partition entries
if bootrecord^.partition[0].LBA_start <> 0 then if bootrecord^.partition[0].LBA_start <> 0 then
@ -330,6 +330,7 @@ begin
end; end;
end; end;
//TODO CHECK FILESYSTEM EXSISTS
//format volume //format volume
volume^.filesystem^.createCallback(volume, sectorCount, sectorStart, config); volume^.filesystem^.createCallback(volume, sectorCount, sectorStart, config);