Changeset 5183 for trunk/src


Ignore:
Timestamp:
Feb 19, 2001, 6:53:53 AM (25 years ago)
Author:
bird
Message:

Changed VMAF2_* to SELAF_*. Added more SELAF_ flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/include/OS2KVM.h

    r5095 r5183  
    1 /* $Id: OS2KVM.h,v 1.10 2001-02-11 15:02:27 bird Exp $
     1/* $Id: OS2KVM.h,v 1.11 2001-02-19 05:53:53 bird Exp $
    22 *
    33 * OS/2 kernel VM functions.
     
    100100#define VMA_ARENAPRIVATE    0x02000000UL  /* (VPMVMAC_ARENAPRV) Private Arena */
    101101#define VMA_ARENAHEAP       0x06000000UL  /* Heap Arena */
    102 #define VMA_ARENAHIGHA      0x00008000UL  /* High shared arena (Warp >= fp13) */
     102#define VMA_ARENAHIGHA      0x00008000UL  /* High shared arena (Warp >= fp13) - flag! Use together with VMA_ARENASHARED or VMA_ARENAPRIVATE */
    103103#define VMA_ARENAHIGH   (options.ulBuild >= AURORAGA ? VMA_ARENAHIGHA : 0UL)
    104104#define VMA_ARENAMASKW      0x06000000UL  /* Warp < fp13 Arena Mask */
     
    117117
    118118/*
    119  * VMAlloc flFlags2 guessings
     119 * VMAlloc flFlags2 guessings - These are flags to the Selector Manager.
     120 * Now prefixed SELAF - SELectorAllocFlags.
    120121 */
    121122#if 0 /*???*/
    122123#define VDHAM_FIXED         0x0000UL
    123124#define VDHAM_SWAPPABLE     0x0001UL
    124 #define VPMVMFM_VDM         0x00000004UL  /* Request on behalf of VDM */
     125#define VPMVMFM_VDM         0x00000004UL/* Request on behalf of VDM */
    125126#endif
    126 
    127 #define VMAF2_WRITE         0x00000002UL  /* PAG_WRITE */
     127#define SELAF_SELMAP        0x0400
     128#define SELAF_WRITE         0x0002      /* Writable selector. (PAG_WRITE) */
     129#define SELAF_DPL0          0x0000      /* Descriptor privilege level - Ring 0 */
     130#define SELAF_DPL1          0x0020      /* Descriptor privilege level - Ring 1 */
     131#define SELAF_DPL2          0x0040      /* Descriptor privilege level - Ring 2 */
     132#define SELAF_DPL3          0x0060      /* Descriptor privilege level - Ring 3 */
    128133
    129134
Note: See TracChangeset for help on using the changeset viewer.