commit | b68ac71b00360dde1e8f8176985935dc43868858 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Aug 09 17:25:19 2009 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Aug 09 17:25:19 2009 -0400 |
tree | 454d3c3c9c0c2da715f2bb886abaacfcb647f405 | |
parent | dbbb7cf9a334beadd1d4e5a8dddcf2b1b81ad839 [diff] |
Implement cdrom disk emulation at high-level instead of in low-level ATA. Add a 2K buffer to the ebda to allow for cdrom 512 byte vs 2048 byte sector emulation. For unaliagned cdemu reads, just make multiple cdrom reads instead of using ata specific code for short reads. Also, define cdemu virtual sectors using struct chs_s, and update legacy_lba() func to take pointer to a chs_s struct.