Changeset 3571 for trunk/kStuff/include/k/kLdr.h
- Timestamp:
- Aug 31, 2007, 4:39:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/include/k/kLdr.h
r3570 r3571 161 161 typedef const KLDRPU *PCKLDRPU; 162 162 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 must169 * be private and not shared with other processes mapping the file.)170 */171 typedef enum KLDRPROT172 {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 = 0x7fffffff195 } KLDRPROT;196 163 197 164 /** Pointer to a loader segment. */ … … 489 456 KU32 fFlags; 490 457 /** The segment protection. */ 491 K LDRPROT enmProt;458 KPROT enmProt; 492 459 /** The size of the segment. */ 493 460 KLDRSIZE cb;
Note:
See TracChangeset
for help on using the changeset viewer.