aboutsummaryrefslogtreecommitdiffstats
path: root/src/cdrom.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-05-10 15:51:40 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-06-04 11:06:58 -0400
commitc029a912d39f82cefc305800b49c933f1789faee (patch)
tree10811cc7eca9e7e0e34405960ecab74030d780f7 /src/cdrom.c
parent02f7676421af87f59e0b8e039fb7f13aaecd0b2b (diff)
downloadseabios-c029a912d39f82cefc305800b49c933f1789faee.tar.gz
Move cdemu call interface and disk_ret helper code to disk.c.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/cdrom.c')
-rw-r--r--src/cdrom.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/cdrom.c b/src/cdrom.c
index f0d8a1ae..86e3f0cd 100644
--- a/src/cdrom.c
+++ b/src/cdrom.c
@@ -132,23 +132,6 @@ cdrom_prepboot(void)
drive->sectors = (u64)-1;
}
-// ElTorito - Terminate disk emu
-void
-cdemu_134b(struct bregs *regs)
-{
- memcpy_far(regs->ds, (void*)(regs->si+0), SEG_LOW, &CDEmu, sizeof(CDEmu));
-
- // If we have to terminate emulation
- if (regs->al == 0x00) {
- // FIXME ElTorito Various. Should be handled accordingly to spec
- SET_LOW(CDEmu.media, 0x00); // bye bye
-
- // XXX - update floppy/hd count.
- }
-
- disk_ret(regs, DISK_RET_SUCCESS);
-}
-
/****************************************************************
* CD booting