Reorganize ata code; reduce stack usage.
authorKevin O'Connor <kevin@koconnor.net>
Tue, 11 Mar 2008 23:42:41 +0000 (19:42 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 11 Mar 2008 23:42:41 +0000 (19:42 -0400)
commit1fcf1448561c07ffa47f05d3c492c78d2bfbbb3b
treec256fe79a56bf08d5bf6312263a602a3dc3c6f9c
parenta69bc3a94fd28edd957e0d201432b566b700ca2b
Reorganize ata code; reduce stack usage.

This fixes an issue with freedos lbacache - the bios was overrunning
the stack on disk requests.
The code has been simplified by extracting common code.
Some handlers moved to inline code to reduce overall stack usage.
src/ata.c
src/ata.h
src/atabits.h [new file with mode: 0644]
src/disk.c