src/dev/arm/ufs_device.cc
/**
 * Handles the tasks that are given. At this point in time, not many tasks
 * have been implemented in the driver.
 */
Handles the tasks that are given. At this point in time, not many tasks
have been implemented in the driver.
Handles the tasks that are given . At this point in time not many tasks have been implemented in the driver .
void
UFSHostDevice::taskHandler(struct UTPUPIUTaskReq* request_in,
                           uint32_t req_pos, Addr finaladdress, uint32_t
                           finalsize)
{
    inform("taskHandler\n");
    inform("%8x\n", request_in->header.dWord0);
    inform("%8x\n", request_in->header.dWord1);
    inform("%8x\n", request_in->header.dWord2);
    request_in->header.dWord2 &= 0xffffff00;
    UFSHCIMem.TMUTMRLDBR &= ~(req_pos);
    taskCommandTrack &= ~(req_pos);
    UFSHCIMem.ORInterruptStatus |= UTPTaskREQCOMPL;
    readDevice(true, finaladdress, finalsize, reinterpret_cast<uint8_t*>
               (request_in), true, NULL);
}
void UFSHostDevice :: taskHandler ( struct UTPUPIUTaskReq * request_in , uint32_t req_pos , Addr finaladdress , uint32_t finalsize ) { inform ( " \n " ) ; inform ( " \n " , request_in -> header . dWord0 ) ; inform ( " \n " , request_in -> header . dWord1 ) ; inform ( " \n " , request_in -> header . dWord2 ) ; request_in -> header . dWord2 &= 0xffffff00 ; UFSHCIMem . TMUTMRLDBR &= ~ ( req_pos ) ; taskCommandTrack &= ~ ( req_pos ) ; UFSHCIMem . ORInterruptStatus |= UTPTaskREQCOMPL ; readDevice ( true , finaladdress , finalsize , reinterpret_cast < uint8_t * > ( request_in ) , true , NULL ) ; }
Handles the tasks that are given.
Handles the tasks that are given .
/**
     * For now, just unpack and acknowledge the task without doing anything.
     * TODO Implement UFS tasks.
     */