Cleanup cdrom emulation.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 23 Mar 2008 03:13:24 +0000 (23:13 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 23 Mar 2008 03:13:24 +0000 (23:13 -0400)
commitaa2590c55834f9d1f0f07a3c05ac8ca54f6dc69a
tree6281462a17451281d056f21cbade559b8713f8c1
parent070231b908d0f84c3ab1fb970318f0fb5f7e281a
Cleanup cdrom emulation.

Remove 'header' param for ata_cmd_packet - the only code that uses it
    is cdrom emulation.  So, bury this detail in ata.c.
Introduce new helpers cdrom_read_emu and cdrom_read_512 for working
    with emulated cdrom drives.
Unify basic_access() and emu_access() - now basic_access() can read
    from cdrom drives.
src/ata.c
src/ata.h
src/cdrom.c
src/disk.c
src/disk.h