diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-03-04 22:50:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-03-04 22:50:53 -0500 |
commit | 180a959053bd1b955bef8db4dab443f341ee1ce7 (patch) | |
tree | a0f0ed1ac9f46bd2cdef22282b10413583fd858b /src/biosvar.h | |
parent | 7d0f08a738b3fedbf88e5e31e8682414640a3d57 (diff) | |
download | seabios-180a959053bd1b955bef8db4dab443f341ee1ce7.tar.gz |
Get CDROM emulation working.
Fix bug causing ata_cmd_packet to insl to wrong address.
Add new cdrom_read helper.
Join ata.hdidmap/cdidmap into one array variable.
Rename CONFIG_ELTORITO_BOOT to CONFIG_CDROM_BOOT.
Add cd emulation code.
Diffstat (limited to 'src/biosvar.h')
-rw-r--r-- | src/biosvar.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/biosvar.h b/src/biosvar.h index eea6df69..55e9481b 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -185,11 +185,9 @@ struct ata_s { // ATA devices info struct ata_device_s devices[CONFIG_MAX_ATA_DEVICES]; // - // map between (bios hd id - 0x80) and ata channels - u8 hdcount, hdidmap[CONFIG_MAX_ATA_DEVICES]; - - // map between (bios cd id - 0xE0) and ata channels - u8 cdcount, cdidmap[CONFIG_MAX_ATA_DEVICES]; + // map between bios hd/cd id and ata channels + u8 hdcount, cdcount; + u8 idmap[2][CONFIG_MAX_ATA_DEVICES]; // Buffer for DPTE table struct dpte_s dpte; |