1 #include <syslinux/config.h>
5 extern uint32_t OrigESDI
;
6 extern const uint64_t Hidden
;
7 extern uint16_t BIOSType
;
8 extern uint16_t bios_cdrom
;
9 extern uint8_t DriveNumber
;
10 extern const void *spec_packet
;
12 __export
void get_derivative_info(union syslinux_derivative_info
*di
)
14 di
->iso
.filesystem
= SYSLINUX_FS_ISOLINUX
;
15 di
->iso
.sector_shift
= SectorShift
;
16 di
->iso
.drive_number
= DriveNumber
;
17 di
->iso
.cd_mode
= ((BIOSType
- bios_cdrom
) >> 2);
19 di
->iso
.spec_packet
= &spec_packet
;
20 di
->iso
.esdi_ptr
= &OrigESDI
;
21 di
->iso
.partoffset
= &Hidden
;