VirtualBox

Changeset 67445 in vbox for trunk/include/iprt/fsisomaker.h


Ignore:
Timestamp:
Jun 16, 2017 2:31:28 PM (7 years ago)
Author:
vboxsync
Message:

IPRT: More ISO maker code (booting related).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/fsisomaker.h

    r67437 r67445  
    308308RTDECL(int) RTFsIsoMakerAddFileWithVfsFile(RTFSISOMAKER hIsoMaker, const char *pszFile, RTVFSFILE hVfsFileSrc, uint32_t *pidxObj);
    309309
     310
     311/**
     312 * Set the validation entry of the boot catalog (this is the first entry).
     313 *
     314 * @returns IPRT status code.
     315 * @param   hIsoMaker           The ISO maker handle.
     316 * @param   idPlatform          The platform ID
     317 *                              (ISO9660_ELTORITO_PLATFORM_ID_XXX).
     318 * @param   pszString           CD/DVD-ROM identifier.  Optional.
     319 */
     320RTDECL(int) RTFsIsoMakerBootCatSetValidationEntry(RTFSISOMAKER hIsoMaker, uint8_t idPlatform, const char *pszString);
     321
     322/**
     323 * Set the validation entry of the boot catalog (this is the first entry).
     324 *
     325 * @returns IPRT status code.
     326 * @param   hIsoMaker           The ISO maker handle.
     327 * @param   idxBootCat          The boot catalog entry.  Zero and two are
     328 *                              invalid.  Must be less than 63.
     329 * @param   idxImageObj         The configuration index of the boot image.
     330 * @param   bBootMediaType      The media type and flag (not for entry 1)
     331 *                              (ISO9660_ELTORITO_BOOT_MEDIA_TYPE_XXX,
     332 *                              ISO9660_ELTORITO_BOOT_MEDIA_F_XXX).
     333 * @param   bSystemType         The partitiona table system ID.
     334 * @param   fBootable           Whether it's a bootable entry or if we just want
     335 *                              the BIOS to setup the emulation without booting
     336 *                              it.
     337 * @param   uLoadSeg            The load address divided by 0x10 (i.e. the real
     338 *                              mode segment number).
     339 * @param   cSectorsToLoad      Number of emulated sectors to load.
     340 */
     341RTDECL(int) RTFsIsoMakerBootCatSetSectionEntry(RTFSISOMAKER hIsoMaker, uint32_t idxBootCat, uint32_t idxImageObj,
     342                                               uint8_t bBootMediaType, uint8_t bSystemType, bool fBootable,
     343                                               uint16_t uLoadSeg, uint16_t cSectorsToLoad);
     344
     345/**
     346 * Set the validation entry of the boot catalog (this is the first entry).
     347 *
     348 * @returns IPRT status code.
     349 * @param   hIsoMaker           The ISO maker handle.
     350 * @param   idxBootCat          The boot catalog entry.
     351 * @param   idPlatform          The platform ID
     352 *                              (ISO9660_ELTORITO_PLATFORM_ID_XXX).
     353 * @param   pszString           CD/DVD-ROM identifier.  Optional.
     354 */
     355RTDECL(int) RTFsIsoMakerBootCatSetSectionHeaderEntry(RTFSISOMAKER hIsoMaker, uint32_t idxBootCat, uint32_t cEntries,
     356                                                     uint8_t idPlatform, const char *pszString);
     357
    310358/**
    311359 * Finalizes the image.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette