Changeset 25 for trunk/include/k/kLdr.h


Ignore:
Timestamp:
Feb 19, 2009, 1:56:15 AM (16 years ago)
Author:
bird
Message:

A blind shot at FAT Mach-O images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/k/kLdr.h

    r19 r25  
    582582
    583583
    584 int     kLdrModOpen(const char *pszFilename, PPKLDRMOD ppMod);
    585 int     kLdrModOpenFromRdr(PKRDR pRdr, PPKLDRMOD ppMod);
     584int     kLdrModOpen(const char *pszFilename, KU32 fFlags, KCPUARCH enmCpuArch, PPKLDRMOD ppMod);
     585int     kLdrModOpenFromRdr(PKRDR pRdr, KU32 fFlags, KCPUARCH enmCpuArch, PPKLDRMOD ppMod);
    586586int     kLdrModOpenNative(const char *pszFilename, PPKLDRMOD ppMod);
    587587int     kLdrModOpenNativeByHandle(KUPTR uHandle, PPKLDRMOD ppMod);
     
    647647     * @param   pOps            Pointer to the registered method table.
    648648     * @param   pRdr            The file provider instance to use.
     649     * @param   fFlags          Flags, MBZ.
     650     * @param   enmCpuArch      The desired CPU architecture. KCPUARCH_UNKNOWN means
     651     *                          anything goes, but with a preference for the current
     652     *                          host architecture.
    649653     * @param   offNewHdr       The offset of the new header in MZ files. -1 if not found.
    650654     * @param   ppMod           Where to store the module instance pointer.
    651655     */
    652     int (* pfnCreate)(PCKLDRMODOPS pOps, PKRDR pRdr, KLDRFOFF offNewHdr, PPKLDRMOD ppMod);
     656    int (* pfnCreate)(PCKLDRMODOPS pOps, PKRDR pRdr, KU32 fFlags, KCPUARCH enmCpuArch, KLDRFOFF offNewHdr, PPKLDRMOD ppMod);
    653657    /**
    654658     * Destroys an loader module instance.
Note: See TracChangeset for help on using the changeset viewer.