- Timestamp:
- Jul 11, 2009, 10:46:36 PM (16 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r21329 r21337 1334 1334 accessflag &=~PAG_GUARD; 1335 1335 1336 DosSetMem((PVOID) pERepRec->ExceptionInfo[1], offset, 1336 /* set memory aligned on page size and with size counting alignment */ 1337 ULONG rc = DosSetMem((PVOID) (pERepRec->ExceptionInfo[1] & 0xFFFFF000), 1338 offset + (pERepRec->ExceptionInfo[1] - (pERepRec->ExceptionInfo[1] & 0xFFFFF000)), 1337 1339 accessflag | PAG_WRITE | PAG_COMMIT); 1338 dprintf(("KERNEL32: OS2ExceptionHandler: commiting 0x%X size 0x%X\n", 1339 pERepRec->ExceptionInfo[1], offset)); 1340 goto continueexecution; 1340 dprintf(("KERNEL32: OS2ExceptionHandler: commiting 0x%X size 0x%X. RC: %i\n", 1341 pERepRec->ExceptionInfo[1] & 0xFFFFF000, 1342 offset + (pERepRec->ExceptionInfo[1] - (pERepRec->ExceptionInfo[1] & 0xFFFFF000)), 1343 rc)); 1344 if (NO_ERROR == rc) 1345 goto continueexecution; 1346 else 1347 goto CrashAndBurn; 1341 1348 } 1342 1349 -
trunk/src/kernel32/heap.cpp
r8327 r21337 621 621 // any may not terminate w/o setting SetLastError() 622 622 // plus returning 0 means "OK"! 623 #if 0623 #if 1 624 624 /* verify lpMem address */ 625 625 if (hmem >= (HGLOBAL)ulMaxAddr || hmem < (HGLOBAL)0x10000)
Note:
See TracChangeset
for help on using the changeset viewer.