Changeset 2835 for trunk/kLdr/kLdr.h
- Timestamp:
- Oct 26, 2006, 3:03:39 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.h
r2833 r2835 254 254 /** @defgroup grp_kLdrMod kLdrMod - The executable image intepreter 255 255 * @{ */ 256 257 /** 258 * Stack information. 259 */ 260 typedef 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 256 278 257 279 /** … … 538 560 int kLdrModRelocateBits(PKLDRMOD pMod, void *pvBits, uintmax_t NewBaseAddress, uintmax_t OldBaseAddress, PFNKLDRMODGETIMPORT pfnGetImport, void *pvUser); 539 561 int kLdrModCanExecuteOn(PKLDRMOD pMod, KLDRARCH enmArch, KLDRCPU enmCpu); 562 int kLdrModGetStackInfo(PKLDRMOD pMod, PKLDRSTACKINFO pStackInfo); 540 563 541 564 /** @} */ … … 605 628 int kLdrDyldFindByAddress(uintptr_t Address, PHKLDRMOD phMod, uint32_t *piSegment, uintptr_t *poffSegment); 606 629 int kLdrDyldGetName(HKLDRMOD hMod, char *pszName, size_t cchName); 607 int kLdrDyldGetFilename(HKLDRMOD hMod, char *pszFilename, size_t cchFilename p);630 int kLdrDyldGetFilename(HKLDRMOD hMod, char *pszFilename, size_t cchFilename); 608 631 int kLdrDyldQuerySymbol(HKLDRMOD hMod, uint32_t uSymbolOrdinal, const char *pszSymbolName, uintptr_t *pValue, uint32_t *pfKind); 609 632
Note:
See TracChangeset
for help on using the changeset viewer.