Changeset 9893 for trunk/src/kernel32/exceptions.cpp
- Timestamp:
- Mar 3, 2003, 5:41:03 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r9868 r9893 1 /* $Id: exceptions.cpp,v 1.7 0 2003-02-27 17:16:26sandervl Exp $ */1 /* $Id: exceptions.cpp,v 1.71 2003-03-03 16:41:03 sandervl Exp $ */ 2 2 3 3 /* … … 1355 1355 //NOTE:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1356 1356 1357 Win32MemMap *map;1358 BOOL fWriteAccess = FALSE, ret;1359 ULONG offset, accessflag;1360 1361 switch(pERepRec->ExceptionInfo[0]) {1362 case XCPT_READ_ACCESS:1363 accessflag = MEMMAP_ACCESS_READ;1364 break;1365 case XCPT_WRITE_ACCESS:1366 accessflag = MEMMAP_ACCESS_WRITE;1367 fWriteAccess = TRUE;1368 break;1369 default:1370 goto continueGuardException;1371 }1372 1373 map = Win32MemMapView::findMapByView(pERepRec->ExceptionInfo[1], &offset, accessflag);1374 if(map == NULL) {1375 goto continueGuardException;1376 }1377 ret = map->commitGuardPage(pERepRec->ExceptionInfo[1], offset, fWriteAccess);1378 map->Release();1379 if(ret == TRUE)1380 goto continueexecution;1381 1382 continueGuardException:1383 1357 goto continuesearch; 1384 1358 }
Note:
See TracChangeset
for help on using the changeset viewer.