Changeset 2924 for trunk/src/win32k/include/elf2lx.h
- Timestamp:
- Feb 27, 2000, 3:16:04 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/elf2lx.h
r2899 r2924 1 /* $Id: elf2lx.h,v 1. 2 2000-02-26 00:46:31bird Exp $1 /* $Id: elf2lx.h,v 1.3 2000-02-27 02:16:04 bird Exp $ 2 2 * 3 3 * Elf2Lx - Declaration. … … 13 13 14 14 15 /** 16 * Elf to LX converter class. 17 * @version 18 * @verdesc 19 * @author knut st. osmundsen (knut.stange.osmundsen@pmsc.no) 20 * @approval 21 */ 15 22 class Elf2Lx : public ModuleBase 16 23 { 17 24 public: 25 /** @cat Constructor/Destructor */ 18 26 Elf2Lx(SFN hFile); 19 ULONG init(PCSZ pszFilename) 27 ~Elf2Lx(); 28 29 /** @cat Public Main methods */ 30 ULONG init(PCSZ pszFilename); 31 ULONG read(ULONG offLXFile, PVOID pvBuffer, ULONG cbToRead, ULONG flFlags, PMTE pMTE); 32 ULONG applyFixups(PMTE pMTE, ULONG iObject, ULONG iPageTable, PVOID pvPage, 33 ULONG ulPageAddress, PVOID pvPTDA); /*(ldrEnum32bitRelRecs)*/ 34 #ifndef RING0 35 ULONG writeFile(PCSZ pszLXFilename); 36 #endif 37 38 /** @cat public Helper methods */ 39 VOID dumpVirtualLxFile(); 40 BOOL queryIsModuleName(PCSZ pszFilename); 41 42 /** @cat Static helper methods */ 43 static BOOL validHeader(Elf32_Ehdr *pEhdr); 20 44 21 45 22 46 private: 47 /** @cat private data members. */ 23 48 49 /** 50 * @cat Elf structures 51 */ 52 Elf32_Ehdr * pEhdr; 53 Elf32_Phdr * paPhdrs; 54 55 /** 56 * @cat LX structures 57 */ 58 struct e32_exe LXHdr; /* Lxheader */ 59 60 struct o32_obj * paObjTab; /* Pointer to object table - if null check cObjects > 0 and generate it using makeObjectTable */ 61 struct o32_map * paObjPageTab; /* Pointer to object page table - if null check cObjects > 0 and generate it using makeObjectPageTable */ 24 62 }; 25 63
Note:
See TracChangeset
for help on using the changeset viewer.