Changeset 6841 for branches/splittup/src/win32k/include/dev32.h
- Timestamp:
- Sep 27, 2001, 5:08:35 AM (24 years ago)
- File:
-
- 1 edited
-
branches/splittup/src/win32k/include/dev32.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/splittup/src/win32k/include/dev32.h
r6225 r6841 1 /* $Id: dev32.h,v 1.12 2001-07-08 03:03:14bird Exp $1 /* $Id: dev32.h,v 1.12.2.1 2001-09-27 03:08:18 bird Exp $ 2 2 * 3 3 * dev32 - header file for 32-bit part of the driver. … … 60 60 #if !defined(__cplusplus) && defined(RING0) 61 61 USHORT _loadds _Far32 _Pascal R0Init32(RP32INIT *pRpInit); 62 USHORT _loadds _Far32 _Pascal GetKernelInfo32(PKRNLINFO pKrnlInfo);63 USHORT _loadds _Far32 _Pascal VerifyImportTab32(void);64 USHORT _loadds _Far32 _Pascal ElfIOCtl(PRP32GENIOCTL pRpIOCtl);65 62 USHORT _loadds _Far32 _Pascal Win32kIOCtl(PRP32GENIOCTL pRpIOCtl); 66 63 USHORT _loadds _Far32 _Pascal Win32kOpen(PRP32OPENCLOSE pRpOpen); 67 64 USHORT _loadds _Far32 _Pascal Win32kClose(PRP32OPENCLOSE pRpClose); 68 65 #endif 69 #ifdef _OS2KLDR_H_70 PMTE _System GetOS2KrnlMTE(void); /* (devfirst.asm) */71 #endif72 66 ULONG _Optlink InitCallGate(void); 73 ULONG _Optlink x86DisableWriteProtect(void);74 ULONG _Optlink x86RestoreWriteProtect(ULONG flWP);75 67 76 68 … … 79 71 * Global variables 80 72 */ 81 extern PULONG pulTKSSBase32;82 73 extern USHORT CallGateGDT; 83 74 … … 97 88 * @returns 32-bit FLAT pointer. 98 89 */ 99 #ifdef RING0 100 #define SSToDS(a) ((PVOID)((ULONG)(a) + *pulTKSSBase32)) 101 #else 102 #define SSToDS(a) ((PVOID)(a)) 90 #ifndef SSToDS 91 #ifdef RING0 92 #define SSToDS(a) ((PVOID)((ULONG)(a) + TKSSBase)) 93 #else 94 #define SSToDS(a) ((PVOID)(a)) 95 #endif 103 96 #endif 104 97
Note:
See TracChangeset
for help on using the changeset viewer.
