MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / atapi_data_done

Function atapi_data_done

src/ide.cpp:850–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850static void atapi_data_done (struct ide_hdf *ide)
851{
852 ide->regs.ide_nsector = ATAPI_IO | ATAPI_CD;
853 ide->regs.ide_status = IDE_STATUS_DRDY;
854 ide->data_size = 0;
855 ide->packet_data_offset = 0;
856 ide->data_offset = 0;
857}
858
859static bool atapi_set_size (struct ide_hdf *ide)
860{

Callers 2

do_packet_commandFunction · 0.85
ide_get_data_2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected