Changeset 2898 for trunk/src/win32k/dev16/d16strat.c
- Timestamp:
- Feb 25, 2000, 7:19:24 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/dev16/d16strat.c
r2877 r2898 1 /* $Id: d16strat.c,v 1. 7 2000-02-23 20:10:19bird Exp $1 /* $Id: d16strat.c,v 1.8 2000-02-25 18:15:02 bird Exp $ 2 2 * 3 3 * d16strat.c - 16-bit strategy routine, device headers, device_helper (ptr) … … 64 64 }; 65 65 66 /* Note: All global variables must be initialized! *67 * Uninitialized variables ends up in DATA32. */68 PFN Device_Help = NULL;69 ULONG TKSSBase16 = 0;70 USHORT R0FlatCS16 = 0;71 USHORT R0FlatDS16 = 0;72 BOOL fInitTime = TRUE;73 66 74 67 … … 129 122 { 130 123 USHORT rc; 124 131 125 if (pRp->Category == D16_IOCTL_CAT) 132 126 { 133 127 switch (pRp->Function) 134 128 { 129 /* 130 * This is the IOCtl which does the R0-initiation of the device driver. 131 * Only available at init time... 132 */ 135 133 case D16_IOCTL_RING0INIT: 136 134 if (fInitTime) … … 142 140 break; 143 141 144 case D16_IOCTL_GETKRNLOTES: 142 /* 143 * This is the IOCtl collects info of the running kernel. 144 * Only available at init time. 145 * 146 * Since this IOCtl is issued before R0-Init is done, we'll have to 147 * init TKSSBase for both 16-bit and 32-bit code and be a bit carefull. 148 */ 149 case D16_IOCTL_GETKRNLINFO: 145 150 if (fInitTime) 146 151 { … … 151 156 &ulLin) != NO_ERROR) 152 157 return STATUS_DONE | STERR | ERROR_I24_INVALID_PARAMETER; 153 return CallGet OTEs32(ulLin);158 return CallGetKernelInfo32(ulLin); 154 159 } 155 160 break; 156 161 157 case D16_IOCTL_VERIFYPROCTAB: 162 /* 163 * This is the IOCtl verifies the data in the ImportTab. 164 * Only available at init time. 165 * 166 * Since this IOCtl is issued before R0-Init is done, we'll have to 167 * init TKSSBase for both 16-bit and 32-bit code and be a bit carefull. 168 */ 169 case D16_IOCTL_VERIFYIMPORTTAB: 158 170 if (fInitTime) 159 171 {
Note:
See TracChangeset
for help on using the changeset viewer.