MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / ide_sector_write

Function ide_sector_write

tinyemu/ide.c:476–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476static void ide_sector_write(IDEState *s)
477{
478 int n;
479 n = s->nsector;
480 if (n == 0)
481 n = 256;
482 if (n > s->req_nb_sectors)
483 n = s->req_nb_sectors;
484 s->io_nb_sectors = n;
485 ide_transfer_start(s, 512 * n, ide_sector_write_cb1);
486 s->status = READY_STAT | SEEK_STAT | DRQ_STAT;
487}
488
489static void ide_identify_cb(IDEState *s)
490{

Callers 1

ide_exec_cmdFunction · 0.85

Calls 1

ide_transfer_startFunction · 0.85

Tested by

no test coverage detected