Ignore:
Timestamp:
Feb 27, 2000, 3:16:04 AM (26 years ago)
Author:
bird
Message:

Started thinking thru writing...

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:31 bird Exp $
     1/* $Id: elf2lx.h,v 1.3 2000-02-27 02:16:04 bird Exp $
    22 *
    33 * Elf2Lx - Declaration.
     
    1313
    1414
     15/**
     16 * Elf to LX converter class.
     17 * @version
     18 * @verdesc
     19 * @author      knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     20 * @approval
     21 */
    1522class Elf2Lx : public ModuleBase
    1623{
    1724public:
     25    /** @cat Constructor/Destructor */
    1826    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);
    2044
    2145
    2246private:
     47    /** @cat private data members. */
    2348
     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 */
    2462};
    2563
Note: See TracChangeset for help on using the changeset viewer.