Changeset 5093 for trunk/src/win32k/include/ModuleBase.h
- Timestamp:
- Feb 11, 2001, 3:59:20 PM (25 years ago)
- 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:36bird Exp $1 /* $Id: ModuleBase.h,v 1.6 2001-02-11 14:59:20 bird Exp $ 2 2 * 3 3 * ModuleBase - Declaration of the Basic module class. … … 31 31 * Note: Aligment must be a 2**n number. */ 32 32 33 #ifndef PAGESHIFT 33 34 #define PAGESHIFT 12 /* bytes to pages or pages to bytes shift value. */ 35 #endif 34 36 #ifndef PAGESIZE 35 37 #define PAGESIZE 0x1000 /* pagesize on i386 */ 36 38 #endif 39 #ifndef PAGEOFFSET 37 40 #define PAGEOFFSET(addr) ((addr) & (PAGESIZE-1)) /* Gets the offset into the page addr points into. */ 41 #endif 42 #ifndef PAGESTART 38 43 #define PAGESTART(addr) ((addr) & ~(PAGESIZE-1)) /* Gets the address of the page addr points into. */ 44 #endif 39 45 40 46
Note:
See TracChangeset
for help on using the changeset viewer.