Changeset 2511 for trunk/src/win32k/dev32/d32init.c
- Timestamp:
- Jan 24, 2000, 7:19:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/dev32/d32init.c
r2501 r2511 1 /* $Id: d32init.c,v 1. 5 2000-01-22 18:20:57bird Exp $1 /* $Id: d32init.c,v 1.6 2000-01-24 18:18:59 bird Exp $ 2 2 * 3 3 * d32init.c - 32-bits init routines. … … 129 129 { 130 130 if (strnicmp(pszTmp, "heapm", 5) == 0) 131 options.cb HeapMax = ul;131 options.cbSwpHeapMax = ul; 132 132 else 133 options.cb Heap= ul;133 options.cbSwpHeapInit = ul; 134 134 } 135 135 } … … 189 189 { 190 190 if (strnicmp(pszTmp, "resheapm", 8) == 0) 191 options.cb HeapMaxResident= ul;191 options.cbResHeapMax = ul; 192 192 else 193 options.cb HeapResident = ul;193 options.cbResHeapInit = ul; 194 194 } 195 195 } … … 243 243 244 244 /* heap min/max corrections */ 245 if (options.cb Heap > options.cbHeapMax)246 options.cb HeapMax = options.cbHeap;247 if (options.cb HeapResident > options.cbHeapMaxResident)248 options.cb HeapMaxResident = options.cbHeapResident;245 if (options.cbSwpHeapInit > options.cbSwpHeapMax) 246 options.cbSwpHeapMax = options.cbSwpHeapInit; 247 if (options.cbResHeapInit > options.cbResHeapMax) 248 options.cbResHeapMax = options.cbResHeapInit; 249 249 250 250 /* Transfer version and build number from 16-bit probkrnl.c */ … … 277 277 */ 278 278 /* heap */ 279 if (heapInit(options.cbHeap) != NO_ERROR) 279 if (heapInit(options.cbResHeapInit, options.cbResHeapMax, 280 options.cbSwpHeapInit, options.cbSwpHeapMax) != NO_ERROR) 280 281 return STATUS_DONE | STERR | ERROR_I24_QUIET_INIT_FAIL; 281 282
Note:
See TracChangeset
for help on using the changeset viewer.