Ignore:
Timestamp:
Sep 27, 2001, 5:08:35 AM (24 years ago)
Author:
bird
Message:

Win32k/kKrnlLib splittup: done the major stuff.

File:
1 edited

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:14 bird Exp $
     1/* $Id: dev32.h,v 1.12.2.1 2001-09-27 03:08:18 bird Exp $
    22 *
    33 * dev32 - header file for 32-bit part of the driver.
     
    6060#if !defined(__cplusplus) && defined(RING0)
    6161USHORT _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);
    6562USHORT _loadds _Far32 _Pascal Win32kIOCtl(PRP32GENIOCTL pRpIOCtl);
    6663USHORT _loadds _Far32 _Pascal Win32kOpen(PRP32OPENCLOSE pRpOpen);
    6764USHORT _loadds _Far32 _Pascal Win32kClose(PRP32OPENCLOSE pRpClose);
    6865#endif
    69 #ifdef _OS2KLDR_H_
    70 PMTE _System GetOS2KrnlMTE(void); /* (devfirst.asm) */
    71 #endif
    7266ULONG  _Optlink InitCallGate(void);
    73 ULONG  _Optlink x86DisableWriteProtect(void);
    74 ULONG  _Optlink x86RestoreWriteProtect(ULONG flWP);
    7567
    7668
     
    7971 * Global variables
    8072 */
    81 extern PULONG pulTKSSBase32;
    8273extern USHORT CallGateGDT;
    8374
     
    9788 * @returns    32-bit FLAT pointer.
    9889 */
    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
    10396#endif
    10497
Note: See TracChangeset for help on using the changeset viewer.