Changeset 2846 for trunk/kLdr/kLdr.h
- Timestamp:
- Nov 1, 2006, 7:26:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.h
r2845 r2846 269 269 { 270 270 /** The base address of the stack (sub) segment, link address. 271 * Set this to ~(uint ptr_t)0 if the module doesn't include any stack (sub)segment. */271 * Set this to ~(uintmax_t)0 if the module doesn't include any stack (sub)segment. */ 272 272 uintmax_t uLinkAddress; 273 273 /** The base address of the stack (sub) segment, actual load address. 274 * Set this to ~(uint ptr_t)0 if the module doesn't include any stack (sub)segment or if274 * Set this to ~(uintmax_t)0 if the module doesn't include any stack (sub)segment or if 275 275 * the module isn't mapped (loaded) yet. */ 276 276 uintmax_t uLoadAddress; … … 560 560 int kLdrModOpenNative(const char *pszFilename, PPKLDRMOD ppMod); 561 561 int kLdrModClose(PKLDRMOD pMod); 562 int kLdrMod GetSymbol(PKLDRMOD pMod, const void *pvBits, uintmax_t BaseAddress, const char *pszSymbol, uintmax_t *pValue, uint32_t *pfKind);562 int kLdrModQuerySymbol(PKLDRMOD pMod, const void *pvBits, uintmax_t BaseAddress, const char *pszSymbol, uintmax_t *pValue, uint32_t *pfKind); 563 563 int kLdrModEnumSymbols(PKLDRMOD pMod, unsigned fFlags, const void *pvBits, uintmax_t BaseAddress, PFNKLDRMODENUMSYMS pfnCallback, void *pvUser); 564 564 int kLdrModEnumImportModules(PKLDRMOD pMod, unsigned fFlags, const void *pvBits, FNKLDRMODENUMIMPMODS pfnCallback, void *pvUser); … … 571 571 int kLdrModCanExecuteOn(PKLDRMOD pMod, KLDRARCH enmArch, KLDRCPU enmCpu); 572 572 int kLdrModGetStackInfo(PKLDRMOD pMod, PKLDRSTACKINFO pStackInfo); 573 int kLdrModQueryMainEntrypoint(PKLDRMOD pMod, void *pvBits, uintmax_t uBaseAddress, uintmax_t *puValue); 574 int kLdrModAllocTLS(PKLDRMOD pMod); 575 int kLdrModFreeTLS(PKLDRMOD pMod); 576 int kLdrModReload(PKLDRMOD pMod); 577 int kLdrModCallInit(PKLDRMOD pMod); 578 int kLdrModCallTerm(PKLDRMOD pMod); 579 int kLdrModCallThread(PKLDRMOD pMod, unsigned fAttachingOrDetaching); 573 580 574 581 /** @} */ … … 771 778 /** Prerequisite recursed too deeply. */ 772 779 #define KLDR_ERR_PREREQUISITE_RECURSED_TOO_DEEPLY (KLDR_ERR_BASE + 43) 773 780 /** Failed to allocate the main stack. */ 781 #define KLDR_ERR_MAIN_STACK_ALLOC_FAILED (KLDR_ERR_BASE + 44) 782 /** Buffer overflow. */ 783 #define KLDR_ERR_BUFFER_OVERFLOW (KLDR_ERR_BASE + 45) 774 784 775 785 /** Encountered a bad fixup. */
Note:
See TracChangeset
for help on using the changeset viewer.