2017-05-30 03:38:38 +02:00
|
|
|
/*
|
|
|
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
* running old operating systems and software designed for IBM
|
|
|
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
* system designs based on the PCI bus.
|
|
|
|
|
*
|
|
|
|
|
* This file is part of the 86Box distribution.
|
|
|
|
|
*
|
|
|
|
|
* Implementation of the CD-ROM host drive IOCTL interface for
|
|
|
|
|
* Windows using SCSI Passthrough Direct.
|
|
|
|
|
*
|
2017-06-04 02:11:19 -04:00
|
|
|
* This file lists the functions provided by various platform-
|
|
|
|
|
* specific cdrom-ioctl files.
|
2017-05-30 03:38:38 +02:00
|
|
|
*
|
2017-06-04 02:11:19 -04:00
|
|
|
* Version: @(#)cdrom_ioctl.h 1.0.1 2017/06/03
|
|
|
|
|
*
|
|
|
|
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
2017-05-30 03:38:38 +02:00
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
|
|
|
* Copyright 2008-2016 Sarah Walker.
|
|
|
|
|
* Copyright 2016-2017 Miran Grca.
|
|
|
|
|
*/
|
2017-06-04 02:11:19 -04:00
|
|
|
#ifndef EMU_CDROM_IOCTL_H
|
|
|
|
|
#define EMU_CDROM_IOCTL_H
|
2017-05-30 03:38:38 +02:00
|
|
|
|
2017-05-18 14:03:43 -04:00
|
|
|
|
|
|
|
|
extern uint32_t cdrom_capacity;
|
|
|
|
|
|
|
|
|
|
|
2017-06-04 02:11:19 -04:00
|
|
|
extern int ioctl_open(uint8_t id, char d);
|
|
|
|
|
extern void ioctl_reset(uint8_t id);
|
|
|
|
|
|
|
|
|
|
extern void ioctl_close(uint8_t id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /*EMU_CDROM_IOCTL_H */
|