Changeset 2948 for trunk/kLdr/kLdr.h


Ignore:
Timestamp:
Jan 14, 2007, 11:35:04 PM (19 years ago)
Author:
bird
Message:

working on LX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdr.h

    r2945 r2948  
    412412    /** The length of the segment name. */
    413413    uint32_t        cchName;
     414    /** The flat selector to use for the segment (i.e. data/code).
     415     * Primarily a way for the user to specify selectors for the LX/LE and NE interpreters. */
     416    uint16_t        SelFlat;
     417    /** The 16-bit selector to use for the segment.
     418     * Primarily a way for the user to specify selectors for the LX/LE and NE interpreters. */
     419    uint16_t        Sel16bit;
     420    /** Segment flags. */
     421    uint32_t        fFlags;
    414422    /** The segment protection. */
    415423    KLDRPROT        enmProt;
     
    438446    uintptr_t       MapAddress;
    439447} KLDRSEG;
     448
     449
     450/** @name Segment flags
     451 * @{ */
     452/** The segment is 16-bit. When not set the default of the target architecture is assumed. */
     453#define KLDRSEG_FLAG_16BIT          1
     454/** The segment requires a 16-bit selector alias. (OS/2) */
     455#define KLDRSEG_FLAG_OS2_ALIAS16    2
     456/** Conforming segment (x86 weirdness). (OS/2) */
     457#define KLDRSEG_FLAG_OS2_CONFORM    4
     458/** IOPL (ring-2) segment. (OS/2) */
     459#define KLDRSEG_FLAG_OS2_IOPL       8
     460/** @} */
    440461
    441462
Note: See TracChangeset for help on using the changeset viewer.