add: dprintf("number of drives: %d\n", driveCount);  for (int32 i = 0; i < driveCount; i++) { uint8 driveID = i + 0x80; if (driveID == gBootDriveID) continue;  BIOSDrive *drive = new BIOSDrive(driveID); if (drive->InitCheck() != B_OK) { dprintf("could not add drive %u\n", driveID); delete drive; continue; }  devicesList->Add(drive); }
context: platform_add_block_devices(stage2_args *args, NodeList *devicesList){	uint8 driveCount;	if (get_number_of_drives(&driveCount) == B_OK)		dprintf("number of drives: %d\n", driveCount);	// ToDo: add other devices	return B_OK; }