source: bootcd/isolinux/syslinux-6.03/core/isolinux-c.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 579 bytes
RevLine 
[e16e8f2]1#include <syslinux/config.h>
2#include <com32.h>
3#include <fs.h>
4
5extern uint32_t OrigESDI;
6extern const uint64_t Hidden;
7extern uint16_t BIOSType;
8extern uint16_t bios_cdrom;
9extern uint8_t DriveNumber;
10extern const void *spec_packet;
11
12__export void get_derivative_info(union syslinux_derivative_info *di)
13{
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);
18
19        di->iso.spec_packet = &spec_packet;
20        di->iso.esdi_ptr = &OrigESDI;
21        di->iso.partoffset = &Hidden;
22}
Note: See TracBrowser for help on using the repository browser.