Changeset 2835 for trunk/kLdr/kLdr.h


Ignore:
Timestamp:
Oct 26, 2006, 3:03:39 AM (19 years ago)
Author:
bird
Message:

more prototyping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdr.h

    r2833 r2835  
    254254/** @defgroup grp_kLdrMod   kLdrMod - The executable image intepreter
    255255 * @{ */
     256
     257/**
     258 * Stack information.
     259 */
     260typedef struct KLDRSTACKINFO
     261{
     262    /** The base address of the stack (sub) segment, link address.
     263     * Set this to ~(uintptr_t)0 if the module doesn't include any stack (sub)segment. */
     264    uintmax_t           uLinkAddress;
     265    /** The base address of the stack (sub) segment, actual load address.
     266     * Set this to ~(uintptr_t)0 if the module doesn't include any stack (sub)segment or if
     267     * the module isn't mapped (loaded) yet. */
     268    uintmax_t           uLoadAddress;
     269    /** The stack size of the main thread.
     270     * If no stack (sub)segment in the module, this is the stack size of the main thread.
     271     * If the module doesn't contain this kind of information this field will be set to 0. */
     272    uintmax_t           cbStack;
     273    /** The stack size of non-main threads.
     274     * If the module doesn't contain this kind of information this field will be set to 0. */
     275    uintmax_t           cbStackThread;
     276} KLDRSTACKINFO, *PKLDRSTACKINFO;
     277
    256278
    257279/**
     
    538560int     kLdrModRelocateBits(PKLDRMOD pMod, void *pvBits, uintmax_t NewBaseAddress, uintmax_t OldBaseAddress, PFNKLDRMODGETIMPORT pfnGetImport, void *pvUser);
    539561int     kLdrModCanExecuteOn(PKLDRMOD pMod, KLDRARCH enmArch, KLDRCPU enmCpu);
     562int     kLdrModGetStackInfo(PKLDRMOD pMod, PKLDRSTACKINFO pStackInfo);
    540563
    541564/** @} */
     
    605628int     kLdrDyldFindByAddress(uintptr_t Address, PHKLDRMOD phMod, uint32_t *piSegment, uintptr_t *poffSegment);
    606629int     kLdrDyldGetName(HKLDRMOD hMod, char *pszName, size_t cchName);
    607 int     kLdrDyldGetFilename(HKLDRMOD hMod, char *pszFilename, size_t cchFilenamep);
     630int     kLdrDyldGetFilename(HKLDRMOD hMod, char *pszFilename, size_t cchFilename);
    608631int     kLdrDyldQuerySymbol(HKLDRMOD hMod, uint32_t uSymbolOrdinal, const char *pszSymbolName, uintptr_t *pValue, uint32_t *pfKind);
    609632
Note: See TracChangeset for help on using the changeset viewer.