Ignore:
Timestamp:
Feb 11, 2001, 3:59:20 PM (25 years ago)
Author:
bird
Message:

Wrapped the PAGE* macros into #ifdef tests.

File:
1 edited

Legend:

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

    r4307 r5093  
    1 /* $Id: ModuleBase.h,v 1.5 2000-09-22 09:22:36 bird Exp $
     1/* $Id: ModuleBase.h,v 1.6 2001-02-11 14:59:20 bird Exp $
    22 *
    33 * ModuleBase - Declaration of the Basic module class.
     
    3131                                             * Note: Aligment must be a 2**n number. */
    3232
     33#ifndef PAGESHIFT
    3334#define PAGESHIFT                   12      /* bytes to pages or pages to bytes shift value. */
     35#endif
    3436#ifndef PAGESIZE
    3537#define PAGESIZE                    0x1000  /* pagesize on i386 */
    3638#endif
     39#ifndef PAGEOFFSET
    3740#define PAGEOFFSET(addr) ((addr) &  (PAGESIZE-1)) /* Gets the offset into the page addr points into. */
     41#endif
     42#ifndef PAGESTART
    3843#define PAGESTART(addr)  ((addr) & ~(PAGESIZE-1)) /* Gets the address of the page addr points into. */
     44#endif
    3945
    4046
Note: See TracChangeset for help on using the changeset viewer.