Show
Ignore:
Timestamp:
02/25/09 01:21:12 (3 years ago)
Author:
mwhitworth
Message:

Move ind/inw reading code to AtaDataRead function, let ATA disk code use it, check against drive->totalSectors for out of bound I/O, and misc formatting.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/devices/storage/ata/ata.h

    r1885 r1916  
    199199int AtaFinishRequest(struct AtaDrive* drive, int status); 
    200200 
     201void AtaDataRead(struct AtaDrive* drive, BYTE* buffer, int count); 
     202 
    201203/* Drive-specific functions */ 
    202204int AtaReadWrite(struct Request* request, struct AtaDrive* drive);