Ignore:
Timestamp:
Aug 31, 2007, 4:39:26 AM (18 years ago)
Author:
bird
Message:

Eliminated KLDRPROT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/include/k/kLdr.h

    r3570 r3571  
    161161typedef const KLDRPU *PCKLDRPU;
    162162
    163 
    164 /**
    165  * Memory Mapping Protections.
    166  *
    167  * @remark Shared segments can be mapped using the non copy-on-write variant.
    168  *         (Normally the copy-on-write variant is used because changes must
    169  *         be private and not shared with other processes mapping the file.)
    170  */
    171 typedef enum KLDRPROT
    172 {
    173     /** The usual invalid 0. */
    174     KLDRPROT_INVALID = 0,
    175     /** No access (page not present). */
    176     KLDRPROT_NOACCESS,
    177     /** Read only. */
    178     KLDRPROT_READONLY,
    179     /** Read & write. */
    180     KLDRPROT_READWRITE,
    181     /** Read & copy on write. */
    182     KLDRPROT_WRITECOPY,
    183     /** Execute only. */
    184     KLDRPROT_EXECUTE,
    185     /** Execute & read. */
    186     KLDRPROT_EXECUTE_READ,
    187     /** Execute, read & write. */
    188     KLDRPROT_EXECUTE_READWRITE,
    189     /** Execute, read & copy on write. */
    190     KLDRPROT_EXECUTE_WRITECOPY,
    191     /** The usual end value. (exclusive) */
    192     KLDRPROT_END,
    193     /** Blow the type up to 32-bits. */
    194     KLDRPROT_32BIT_HACK = 0x7fffffff
    195 } KLDRPROT;
    196163
    197164/** Pointer to a loader segment. */
     
    489456    KU32            fFlags;
    490457    /** The segment protection. */
    491     KLDRPROT        enmProt;
     458    KPROT        enmProt;
    492459    /** The size of the segment. */
    493460    KLDRSIZE        cb;
Note: See TracChangeset for help on using the changeset viewer.