Fat test code, for the archives.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2911 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-12-03 14:00:33 +00:00
parent c032e65034
commit f6cb6163b9
3 changed files with 92 additions and 63 deletions

View file

@ -8,7 +8,7 @@
static FILE* file;
int ata_read_sectors(unsigned long start, unsigned char count, void* buf)
int ata_read_sectors(unsigned long start, int count, void* buf)
{
if ( count > 1 )
DEBUGF("[Reading %d blocks: 0x%lx to 0x%lx]\n",
@ -28,7 +28,7 @@ int ata_read_sectors(unsigned long start, unsigned char count, void* buf)
return 0;
}
int ata_write_sectors(unsigned long start, unsigned char count, void* buf)
int ata_write_sectors(unsigned long start, int count, void* buf)
{
if ( count > 1 )
DEBUGF("[Writing %d blocks: 0x%lx to 0x%lx]\n",