Search
lxdream.org :: lxdream/src/drivers/cdrom/cdrom.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/cdrom/cdrom.h
changeset 1108:305ef2082079
prev1099:566cdeb157ec
next1109:700c5ab26a63
author nkeynes
date Fri Jun 04 09:13:40 2010 +1000 (13 years ago)
permissions -rw-r--r--
last change Add ability to wrap a binary program up in a virtual cd image (so that we
can boot it normally)
file annotate diff log raw
1.1 --- a/src/drivers/cdrom/cdrom.h Wed Feb 10 18:16:19 2010 +1000
1.2 +++ b/src/drivers/cdrom/cdrom.h Fri Jun 04 09:13:40 2010 +1000
1.3 @@ -97,6 +97,15 @@
1.4 cdrom_disc_t cdrom_disc_open( const char *filename, ERROR *err );
1.5
1.6 /**
1.7 + * Construct a disc around a source track.
1.8 + * @param type Disc type, which must be compatible with the track mode
1.9 + * @param track The source of data for the main track
1.10 + * @param lba The position on disc of the main track. If non-zero,
1.11 + * a filler track is added before it, in 2 separate sessions.
1.12 + */
1.13 +cdrom_disc_t cdrom_disc_new_from_track( cdrom_disc_type_t type, sector_source_t track, cdrom_lba_t lba );
1.14 +
1.15 +/**
1.16 * Get the track information for the given track. If there is no such track,
1.17 * return NULL;
1.18 */
.