src/dev/arm/ufs_device.cc
/**
 * Drain; needed to enable checkpoints
 */
Drain; needed to enable checkpoints
Drain ; needed to enable checkpoints
DrainState
UFSHostDevice::drain()
{
    if (UFSHCIMem.TRUTRLDBR) {
        DPRINTF(UFSHostDevice, "UFSDevice is draining...\n");
        return DrainState::Draining;
    } else {
        DPRINTF(UFSHostDevice, "UFSDevice drained\n");
        return DrainState::Drained;
    }
}
DrainState UFSHostDevice :: drain ( ) { if ( UFSHCIMem . TRUTRLDBR ) { DPRINTF ( UFSHostDevice , " \n " ) ; return DrainState :: Draining ; } else { DPRINTF ( UFSHostDevice , " \n " ) ; return DrainState :: Drained ; } }
Drain; needed to enable checkpoints
Drain ; needed to enable checkpoints