src/dev/arm/ufs_device.cc
/**
 * Checkdrain; needed to enable checkpoints
 */
Checkdrain; needed to enable checkpoints
Checkdrain ; needed to enable checkpoints
void
UFSHostDevice::checkDrain()
{
    if (drainState() != DrainState::Draining)
        return;
    if (UFSHCIMem.TRUTRLDBR) {
        DPRINTF(UFSHostDevice, "UFSDevice is still draining; with %d active"
            " doorbells\n", activeDoorbells);
    } else {
        DPRINTF(UFSHostDevice, "UFSDevice is done draining\n");
        signalDrainDone();
    }
}
void UFSHostDevice :: checkDrain ( ) { if ( drainState ( ) != DrainState :: Draining ) return ; if ( UFSHCIMem . TRUTRLDBR ) { DPRINTF ( UFSHostDevice , " " " \n " , activeDoorbells ) ; } else { DPRINTF ( UFSHostDevice , " \n " ) ; signalDrainDone ( ) ; } }
Checkdrain; needed to enable checkpoints
Checkdrain ; needed to enable checkpoints