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

Eliminated KLDRPROT.

Location:
trunk/kStuff/include/k
Files:
3 edited

Legend:

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

    r3550 r3571  
    2929#include <k/kTypes.h>
    3030#include <k/kRdr.h>
    31 //#include <k/kLdr.h>
    32 #include "kLdr.h"
     31#include <k/kLdr.h>
    3332#include <k/kDbg.h>
    3433
  • 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;
  • trunk/kStuff/include/k/kRdrAll.h

    r3550 r3571  
    2929
    3030#include <k/kDefs.h>
    31 #include "../kLdr/kLdr.h" //later - <k/kLdr.h>
     31#include <k/kLdr.h>
    3232#include <k/kRdr.h>
    3333
Note: See TracChangeset for help on using the changeset viewer.